Docs · Guide

T3 Code on any model

T3 Code (pingdotgg/t3code) is a GUI that drives Claude Code, Codex, Cursor and others. Each provider it lists is an instance of a driver, and it takes instances of your own. packinggoods adds two: packinggoods, on Claude Code, and packinggoods · Codex, on Codex. So T3 Code's model picker lists every model you have in packinggoods: DeepSeek, GLM, Kimi, Qwen, an OpenAI or Anthropic key, or a ChatGPT or Copilot subscription, on the harness you choose.

Set up T3 Code

  1. Add a provider in packinggoodsAdd an API key on the Providers page, or sign in to a subscription.
  2. Pick packinggoods on T3 Code's rowOn the Agents page, pick packinggoods. packinggoods writes both instances into T3 Code's settings.json.
  3. Pick a model in T3 CodeT3 Code's server watches the file and reloads it on an outside edit. In the model picker, models under packinggoods run on Claude Code, those under packinggoods · Codex on Codex.
Terminal
packinggoods t3code provider packinggoods

The settings file is ~/.t3/userdata/settings.json ($T3CODE_HOME/userdata when set). These are the two instances packinggoods writes:

Terminal
"providerInstances": {
  "packinggoods": {"driver": "claudeAgent", "displayName": "packinggoods",
    "environment": [{"name": "ANTHROPIC_BASE_URL", "value": "http://127.0.0.1:3425", …}, …],
    "config": {"customModels": [{"slug": "deepseek/deepseek-v4-pro", "name": …,
      "capabilities": {"optionDescriptors": […]}}, …]}},
  "packinggoods-codex": {"driver": "codex", "displayName": "packinggoods · Codex",
    "config": {"launchArgs": […]}}
}

packinggoods, on Claude Code

The packinggoods instance is a claudeAgent instance: T3 Code runs Claude Code through Anthropic's Agent SDK, reading your ~/.claude settings, with the instance's environment added. packinggoods sets ANTHROPIC_BASE_URL to the gateway and the token Claude Code is routed with, so its requests are Claude Code's to the gateway. Every packinggoods model is one of its custom models, a 1M one marked [1m] as packinggoods marks it for Claude Code. A binary path or Claude home you gave T3's own Claude is carried over, so it runs the same Claude Code.

packinggoods · Codex, on Codex

T3 Code runs each thread on the harness of the instance its model is picked from, so with the Claude Code instance alone every packinggoods model ran there. So packinggoods adds a codex instance, packinggoods · Codex. Its launchArgs, which T3 passes to codex app-server and codex exec, are Codex's own -c overrides: packinggoods as its model provider, and packinggoods-codex-models.json beside settings.json as its catalog, so T3 lists every packinggoods model under it from Codex's model list. Your ~/.codex/config.toml isn't written, and T3's own Codex stays as it is. If you remove the instance in T3, a sync doesn't bring it back; turning T3 Code's row on again in packinggoods does.

Reasoning

Without capabilities, T3 Code shows no picks beside a custom model and sends no effort. So each of packinggoods's custom models gets a Reasoning pick of the Claude Code levels it takes, medium first (else the lowest), which T3 hands to Claude Code as it is. A model that thinks also gets a Thinking switch, on at first; T3 sets Claude Code's alwaysThinkingEnabled by it, and with it off requests ask for no thinking.

Your own settings

The instances' names, whether they are on, and every key packinggoods doesn't write (such as autoCompactWindow and accentColor) are yours, and what you change in T3 Code stays. Environment variables you add on packinggoods's instance stay too. Your own instances, their custom models and T3's other settings are untouched. packinggoods's are only the custom models, the gateway's variables, and the Codex instance's launch arguments and catalog.

Claude Code's own routing

The env in ~/.claude/settings.json is applied over the process', so a Claude Code routed elsewhere in its own settings takes the packinggoods instance's requests there; one routed through packinggoods or not routed at all asks the gateway. A provider switch on there, such as CLAUDE_CODE_USE_BEDROCK, takes it to that cloud, and packinggoods's check says so.

Switching back

Turn the row off in packinggoods. packinggoods takes out only its two instances; your others and your settings stay.

Terminal
packinggoods t3code default

FAQ

Can T3 Code use DeepSeek, GLM, Kimi or Qwen?

Yes. packinggoods adds two provider instances to T3 Code's settings.json, and every model you have in packinggoods is in T3's model picker, on Claude Code or on Codex.

What is the difference between packinggoods and packinggoods · Codex?

The same models on a different harness: those under packinggoods run on Claude Code, those under packinggoods · Codex on Codex.

Does it change my ~/.codex/config.toml or T3's own Claude and Codex?

No. Codex's settings are launch arguments of the packinggoods · Codex instance alone; T3's own instances and yours stay as they are.

Why don't requests go through packinggoods?

Check the env in ~/.claude/settings.json: a Claude Code routed elsewhere there, or with a cloud switch such as Bedrock on, takes the packinggoods instance's requests there.

More agents on the same models: Models in Claude Code, Models in Codex, CodeBuddy on any model, Craft Agents on any model and Every packinggoods model in Paseo. Something fails? See Fixing common errors, or ask on Discord.