Syntax

Claude Code

Use Anthropic's Claude Code CLI with Syntax.

Claude Code is Anthropic's official CLI for Claude. Syntax connects to it through the Anthropic-compatible surface on the Bridge, so Claude Code works unmodified.

Connect

syntax connect claude-code

The connect flow points Claude Code's configured Anthropic endpoint at the local Bridge. Because Claude Code natively speaks the Anthropic-compatible wire format, no shim is involved — the Bridge accepts those requests and routes them directly.

What works through Syntax

  • Anthropic-style streaming, tool calls, and reasoning all pass through.
  • Any model Syntax exposes — Anthropic-hosted (Claude family), other hosted providers, local open-weight models, managed remote — is reachable from Claude Code through the same endpoint.
  • Tool definitions, prompt-caching headers, and content blocks all preserve their semantics when routed.

Why this is interesting

Claude Code is built around an Anthropic-style API. Syntax exposes the same shape on a localhost endpoint, which means Claude Code can:

  • Run a local open-weight model like a Claude clone.
  • Route to a non-Anthropic hosted provider while still using Claude Code as the UI.
  • Be combined with other harnesses on the same machine, all sharing the same active model policy through Syntax.

Disconnect

syntax disconnect claude-code

Restores Claude Code's original Anthropic endpoint configuration.

Where to start