T3 Code is an open-source desktop, web and phone front end that drives coding agents installed on your machine. It does not call model APIs itself, so Chainless is configured inside the agent. T3 Code reaches Chainless only through its OpenCode or Pi provider. The Codex and Claude Code providers inside T3 Code cannot use Chainless.
Which T3 Code provider works
| T3 Code provider | Works with Chainless | Why |
|---|---|---|
| OpenCode (1.14.19+ or 2.0.18+) | Yes | Custom provider in opencode.json with the Chat Completions package |
| Pi (0.84.3+, Node.js 22.19+) | Yes | ~/.pi/agent/models.json with "api": "openai-completions" |
| Codex | No | Custom providers support only the responses wire API |
| Claude Code | No | ANTHROPIC_BASE_URL expects an Anthropic-compatible API |
| Cursor, Grok Build, Antigravity, Kiro and others | No | Vendor sign-in only |
Through OpenCode
- Add Chainless to OpenCode as shown on /integrations/opencode and check that
/modelslistschainless/kimi-k3.1-pro-uncensored. - Make the key visible to the OpenCode server that T3 Code starts: store it with
opencode auth login, or addCHAINLESS_API_KEYto the provider instance's environment variables in Settings → Providers and mark it sensitive. - In T3 Code open Settings → Providers, enable OpenCode and click Refresh provider status.
- In a thread, open the model picker and choose a
chainless/...model.
Through Pi
- Create
~/.pi/agent/models.jsonas shown on /integrations/pi and test it withpi --model chainless/kimi-k3.1-pro-uncensored. - Make
CHAINLESS_API_KEYvisible to the T3 Code server process, or use a!commandinapiKeythat prints the key. - In T3 Code open Settings → Providers, enable Pi and refresh. Set Binary path if
piis not on the server'sPATH. - Optional: in Launch arguments, add
--provider chainless --model kimi-k3.1-pro-uncensoredto pin the model. T3 Code requires both flags together.
Notes
- T3 Code permission modes control the agent's tool calls; they are not an OS sandbox. OpenCode and Pi have no Auto mode in T3 Code, so it behaves as Supervised.
- Set the context and output limits in the agent. Without a reported window, T3 Code assumes 128,000 tokens when it hands a thread to another provider.
- Walkthroughs with use cases: T3 Code custom model via OpenCode and T3 Code + Pi + Chainless. Model ids and limits: /models.
- For authorized security work, put the agent brief from /guides in your project's
AGENTS.md.
Sources
Checked against the official documentation on 2026-11-29. Tools change their settings often; if a field moved, the source below is the reference.
- github.com/pingdotgg/t3code
- github.com/pingdotgg/t3code/blob/main/docs/user/install.md
- github.com/pingdotgg/t3code/blob/main/docs/user/providers-opencode.md
- github.com/pingdotgg/t3code/blob/main/docs/user/providers-pi.md
- github.com/pingdotgg/t3code/blob/main/docs/user/providers-claude.md
- learn.chatgpt.com/docs/config-file/config-reference