# Claude Code

> Point Claude Code at Agent Router for routing and observability, then optionally add a CLAUDE.md so generated code uses Agent Router patterns.

# Claude Code

  Two separate jobs: route Claude Code's own traffic through the Tetrate Agent Router gateway, and optionally teach the agent how an application should call Agent Router. Start with Connect if Claude Code is not yet pointed at the gateway.

Choose a path

  <Link to="/agent-router-service/guides/coding-agents/claude-code/connect/" className="tare-nav-card">
    Connect Claude Code
    Point Claude Code at the gateway with managed billing, or with a Claude Max subscription in passthrough mode.
  </Link>
  <Link to="/agent-router-service/guides/coding-agents/claude-code/project-context/" className="tare-nav-card">
    Project context (CLAUDE.md)
    Add a <code>CLAUDE.md</code> to the repository so Claude Code uses Agent Router endpoints and routing patterns when it writes code.
  </Link>
