Configure coding tools with the tare CLI
tare integrate sets up popular AI coding tools to send their model calls through your Agent Router gateway, using your own Agent Router credentials. Instead of copying a base URL and API key into each tool by hand, one command reads your logged-in session and writes the tool's config for you.
Persona: Developer configuring a local coding tool against an Agent Router gateway.
Estimated time: 5--10 minutes after the CLI is installed and you are logged in.
Outcomes
By the end of this guide:
- The
tareCLI is installed and authenticated against your management plane. - You know which data plane (gateway) to use, identified by its dataplane id.
- At least one coding tool is configured through
tare integrate, with a dry-run preview first if you want to inspect the change. - You can rotate or clean up keys and backed-up config files safely.
Prerequisites
- Install the
tareCLI:
curl -fsSL https://tare.tetrate.ai/tools/install.sh | bash
tare --version
- Log in so the CLI can reuse your session (data plane, model catalog, and API key):
tare api login --base-url https://api.example.tetrate.ai
You can skip login and pass --gateway-url, --api-key, and --model explicitly instead, but then nothing is reused from your account.
- Know which data plane (gateway) to route through. List them with:
tare integrate dataplanes
Example output:
DATAPLANE NAME GATEWAY URL
acme-prod Acme Production https://acme-prod.gateway.example.com
acme-dev Acme Dev https://acme-dev.gateway.example.com
--dataplane takes the workspace id from the DATAPLANE column (for example acme-prod), not the display name.