Set Up ASI:One in T3 Code
Set Up ASI:One in T3 Code
Overview
T3 Code is a desktop and web app for driving the coding agents installed on your machine. It doesn’t talk to ASI:One directly. It runs ASI:One through an agent you’ve already set up, either OpenCode or the Codex CLI. Pick the one you use:
Prerequisites
- T3 Code installed.
- An ASI:One plan that includes
asi1-ultra. The same key also works forasi1,asi1-ultra-1mandasi1-mini. - OpenCode or the Codex CLI set up with ASI:One, as described in the section for that agent below.
With OpenCode
T3 Code starts its own OpenCode server and lists whatever models OpenCode knows about, so the ASI:One provider from your OpenCode setup carries over.
Set up OpenCode
- Follow Set Up ASI:One in OpenCode through Verify. T3 Code needs OpenCode 1.14.19 or newer.
- Put the
asiprovider in~/.config/opencode/opencode.json, not a project’sopencode.json. T3 Code threads run in many folders, and the global config makes ASI:One available in all of them.
Enable the provider
- Open Settings → Providers and turn on OpenCode. Leave Server URL empty so T3 Code starts OpenCode for you.
- Click Refresh provider status.
Run it
Start a thread, pick the OpenCode provider, and choose ASI1 Ultra. The model
names are the name values from your opencode.json.
T3 Code caches OpenCode’s config while its OpenCode server is running. After
editing opencode.json, wait about 30 seconds without refreshing, then click
Refresh provider status so the change is picked up.
With the Codex CLI
This path needs macOS or Linux, like the Codex setup it builds on.
Follow Set Up ASI:One in Codex through Run it,
and confirm codex exec -p asi -m asi1-mini "Reply with exactly: pong" replies.
Create the Codex home
We need to give it a separate Codex home to use ASI:One, built from the profile you already made:
T3 Code won’t start Codex unless it reports a login. Log the new home in with the same key. This reads the key out of the config file, so it never lands in your shell history:
Then confirm it prints Logged in using an API key:
Use $HOME, not ~, inside CODEX_HOME=.... The tilde isn’t expanded there,
and Codex reports that the folder doesn’t exist.
Add the provider
- Open Settings → Providers and add a Codex instance. Name it, for example, “Codex ASI”.
- Set CODEX_HOME path to
~/.codex-asi. If T3 Code doesn’t accept~, use the full path. Leave Shadow home empty. - Save, then click Refresh provider status.
Add the models
T3 Code’s picker lists OpenAI models only and doesn’t read the default model from
config.toml, so add the ASI:One models by hand.
- Still in the “Codex ASI” instance, scroll to Models and click + Add custom model.
- Enter
asi1-ultra. - Repeat for
asi1,asi1-ultra-1mandasi1-miniif you want them in the picker too. - Make sure each one’s toggle is on.
Run it
Start a thread, pick the “Codex ASI” instance, and choose asi1-ultra.
Keep your regular Codex instance for OpenAI models. Threads in the ASI instance don’t show up in your normal Codex history.
Troubleshooting
OpenCode
Codex CLI
T3 Code runs the same agentic harness underneath, so anything else is covered in the troubleshooting for OpenCode or Codex.
Next steps
- OpenCode: the same models in OpenCode
- Codex: the same models in the Codex CLI
- ASI:One Models: choosing between
asi1,asi1-ultra,asi1-ultra-1mandasi1-mini