Configure coding tools with the tare CLI
tare integrate sets up popular AI coding tools to send their model calls through a Tetrate Agent Router gateway, using existing Agent Router credentials. Instead of copying a base URL and API key into each tool by hand, one command reads the logged-in session and writes the tool's config.
Persona: Developer configuring a local coding tool against an Agent Router gateway.
Estimated time: 5 to 10 minutes once the CLI is installed and authenticated.
Outcomes
By the end of this guide:
- The
tareCLI is installed and authenticated against the management plane. - The data plane (gateway) to route through is identified by its dataplane id.
- At least one coding tool is configured through
tare integrate, optionally previewed with a dry run first. - Keys and backed-up config files can be rotated or cleaned up safely.
Prerequisites
-
Install the
tareCLI:curl -fsSL https://tare.tetrate.ai/tools/install.sh | bashtare --version -
Log in so the CLI can reuse the session (data plane, model catalog, and API key):
tare api login --base-url https://api.example.tetrate.aiLogin can be skipped by passing
--gateway-url,--api-key, and--modelexplicitly, but then nothing is reused from the account. -
Know which data plane (gateway) to route through. List them with:
tare integrate dataplanesExample output:
DATAPLANE NAME GATEWAY URLacme-prod Acme Production https://acme-prod.gateway.example.comacme-dev Acme Dev https://acme-dev.gateway.example.com--dataplanetakes the workspace id from the DATAPLANE column (for exampleacme-prod), not the display name.
Step 1: list the supported tools
This command shows every supported tool, whether it is detected on the machine, and where its config file would go:
tare integrate list
Supported tools include Aider, Claude Code, Claude Cowork, Cline, Coder, Codex, Continue, Hermes, and OpenClaw.