Integrations

Use uncensored models in T3 Code

T3 Code has no model setting of its own. Configure Chainless in OpenCode or Pi, then pick that provider in T3 Code.

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 providerWorks with ChainlessWhy
OpenCode (1.14.19+ or 2.0.18+)YesCustom 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"
CodexNoCustom providers support only the responses wire API
Claude CodeNoANTHROPIC_BASE_URL expects an Anthropic-compatible API
Cursor, Grok Build, Antigravity, Kiro and othersNoVendor sign-in only

Through OpenCode

  1. Add Chainless to OpenCode as shown on /integrations/opencode and check that /models lists chainless/kimi-k3.1-pro-uncensored.
  2. Make the key visible to the OpenCode server that T3 Code starts: store it with opencode auth login, or add CHAINLESS_API_KEY to the provider instance's environment variables in Settings → Providers and mark it sensitive.
  3. In T3 Code open Settings → Providers, enable OpenCode and click Refresh provider status.
  4. In a thread, open the model picker and choose a chainless/... model.

Through Pi

  1. Create ~/.pi/agent/models.json as shown on /integrations/pi and test it with pi --model chainless/kimi-k3.1-pro-uncensored.
  2. Make CHAINLESS_API_KEY visible to the T3 Code server process, or use a !command in apiKey that prints the key.
  3. In T3 Code open Settings → Providers, enable Pi and refresh. Set Binary path if pi is not on the server's PATH.
  4. Optional: in Launch arguments, add --provider chainless --model kimi-k3.1-pro-uncensored to 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.

Other tools

Questions

Can I use Chainless with the Codex provider in T3 Code?

No. Codex custom providers only support the Responses wire protocol, and Chainless serves Chat Completions. Use the OpenCode or Pi provider instead.

Can I point the Claude Code provider at Chainless with ANTHROPIC_BASE_URL?

No. That variable expects an Anthropic-compatible API. Chainless is OpenAI-compatible, so it works through OpenCode or Pi, not through Claude Code.

Where does the API key go?

In the agent, not in T3 Code: OpenCode's credential store or provider env, or apiKey in Pi's models.json. The process T3 Code starts must be able to see it, so export CHAINLESS_API_KEY in the T3 Code server's environment or store the key in the agent.

Why does T3 Code assume a 128k context?

When a model does not report its window, T3 Code falls back to 128,000 tokens for history handoffs. Set the real limits in the agent (1048576 context and 131072 output) as shown on the OpenCode and Pi pages.