Open History to see the last commit
1# ACP Registry
2
3T3 Code can run coding agents from the official
4[ACP Registry](https://agentclientprotocol.com/get-started/registry). Registry agents bring their
5own models, tools, and sign-in, while T3 Code provides projects, threads, checkpoints, and task
6delegation.
7
8Google Antigravity is available through its official `antigravity-acp` Registry entry. Add it like
9any other Registry agent; it does not need an Antigravity-specific T3 Code provider.
10
11T3 Code prefers the current ACP v2 preview protocol and uses its richer messages, usage, plans,
12configuration, compaction, and agent-terminal updates when the agent supports them. It also
13negotiates ACP v1 for Registry agents that have not migrated yet, so agents such as Pi continue to
14work through the same generic integration.
15
16## Add an agent
17
181. Open **Settings → Providers**.
192. Select **Add provider** and search the ACP Registry.
203. Search for the agent and select **Add** on its result.
214. Confirm the name and instance ID, then complete the agent's sign-in step.
22
23Search only shows agents that can run on the connected server. Registry agents are third-party
24code; review an agent's source and license before adding it.
25
26## Where agents run
27
28Registry agents always run on the machine that hosts your T3 Code server. That stays true when you
29connect through `app.t3.codes`, T3 Connect, or a relay.
30
31Agents install under `tools/<agent-id>/<version>/` inside T3 home. T3 Code verifies SHA-256 when the Registry entry
32provides one; entries without a checksum retain the Registry's HTTPS distribution guarantee.
33Registry `npx` and `uvx` packages use T3-owned npm prefixes and Python tool directories at the exact
34version published by the Registry. Their commands are available in a new server terminal for
35sign-in and direct use. Removing an agent's last provider instance removes T3-managed binary files
36but keeps package installs. To use an existing local binary, set **Executable override** explicitly.
37
38## Signing in
39
40Open the agent's account section in **Settings → Providers** on web or desktop. Choose
41**Sign in** and, if the agent offers several methods, select one. For an installed, configured
42provider, mobile also offers **Settings → Provider accounts**.
43
44Browser sign-in shows the agent's URL and waits for you to open or copy it before telling the
45agent to proceed. The page opens on your device, while the agent runs on the environment.
46Terminal methods run in an in-app terminal on that environment. On mobile, send responses
47through the terminal response field. T3 Code reconnects after terminal login and waits for the
48agent to confirm sign-in before reporting success. You can cancel or retry an expired attempt.
49
50Browser and terminal sign-in leave credentials in the agent's own store. Agents that use API keys
51through environment variables still take those keys in the instance's environment settings.
52A configured environment or agent home applies to both sign-in and chat.
53
54If the agent advertises logout, choose **Sign out**. Changing a shared agent login stops running
55threads for instances of that same agent on the environment. Thread history and workspace files
56are kept. ACP does not describe account isolation, so adding another instance does not guarantee
57a separate account; use the agent's own configuration to isolate accounts when supported.
58
59If an agent cannot complete its advertised flow remotely, its CLI remains available on the
60server. For example, Codex supports `codex login --device-auth`, and Grok Build supports
61`grok login --device-auth`.
62
63## Models and options
64
65The model picker lists the models the agent reports. If the agent reports none, or hides some, add
66your own model IDs under **Custom models** in the instance settings.
67
68Other settings the agent offers, such as reasoning effort or approval mode, appear in the
69composer's model options menu like they do for built-in providers. Agents with their own plan and
70build modes follow T3 Code's Plan and Build toggle. Models and options that change while an agent
71is running update the picker without waiting for another provider probe.
72
73## Commands and skills
74
75Slash commands the agent provides appear under **Provider** in the `/` menu while a session is
76running. Commands the agent names with a `$` prefix appear in T3 Code's `$` skill menu instead.
77
78## Native sessions
79
80When an agent advertises ACP session listing and import support, expand its provider card,
81choose a project, and select **List sessions**. Importing one creates a deterministic T3 thread
82backed by that native session. Importing the same agent session again returns the existing thread,
83including when another client performs the import.
84
85The thread keeps the native session's title and last-update value as provider metadata without
86overwriting a title you set in T3 Code. Agents that report ACP context usage drive the composer's
87context meter and cumulative cost metadata. Text resources and links render as assistant output;
88binary resources, images, and audio that T3 Code cannot render yet appear as explicit placeholders
89instead of disappearing.
90
91## Permissions and terminals
92
93Registry agents read files, edit, and run commands themselves, under their own sandbox and
94approval rules. They start in their own default mode, and their mode picker in the model options
95menu switches it. How far an agent is confined depends on that mode and the agent's own settings,
96so use its sandbox and permission controls when that matters.
97
98When a registry agent asks for approval, T3 Code answers by the thread's
99[permission mode](./permission-modes.md): **Supervised** shows the request in the conversation,
100**Auto-accept edits** approves edits and shows the rest, and **Auto** and **Full access** approve
101automatically. File reads and searches never wait for approval.
102
103Devin runs its commands through T3 Code's terminals, and those commands follow the thread's
104permission mode. For other agents, T3 Code shows the command, output, and exit status the agent
105reports but does not run or stop their terminals.
106
107Registry agents can schedule work and use T3's MCP tools. Child-task presentation depends on what
108the agent exposes: ACP has no portable native subagent-lineage contract, so richer delegation views
109remain agent-specific.
110
111## Checkpoints
112
113Checkpoint rollback restores your files as usual. ACP agents cannot rewind their own conversation,
114so the next turn after a rollback starts a fresh agent session that no longer remembers the
115conversation from before the checkpoint.
116
117Registry instances are not used for T3's app-owned text generation, such as thread titles, commit
118messages, branch names, or pull request descriptions. Configure a text-generation-capable provider
119for those actions.
120
121## Advanced configuration
122
123- **Executable override** runs an existing local executable instead of the managed distribution,
124 keeping the registry-declared arguments and environment.
125- **Authentication method** picks a specific method when the agent advertises more than one.
126- **Custom models** adds model IDs the agent does not report.