Linkdocs
Agents

Agents

Chat with the coding agents installed on your computer, answer their approvals and undo their changes from the phone.

The Agents tab works with the coding agents you already have on the computer. Link doesn't install them or hold their logins: it runs them on the computer for you, the same programs you use at your desk, so their API keys, conversations and your code stay where they are.

A conversation you start on the phone is a normal session of that agent: you can pick it up later at your desk, and sessions from your desk show up on the phone.

Supported agents

Install and sign in to an agent on the computer as you normally would; it then shows up in the app.

AgentNeeds
Claude Code
Codex
OpenCode
Gemini CLI
Pi
Crushcurl on the computer
GitHub Copilot CLI
Cursor Agent
Qwen Code0.6.0 or newer
Kimi Code
Kilo Code CLI
Factory Droid
Devin CLI
Grok CLIxAI's own CLI, not the community grok-cli
Qoder CLI
OMP
Hermes AgentInstalled with its acp extra
Letta CodeLetta's adapter: npm install -g @letta-ai/letta-acp
MastraCode0.25 or newer; new sessions only, past ones aren't listed

Claude Code, Codex, OpenCode, Crush and Copilot CLI have been tried end to end; tell us if another one misbehaves. An agent you haven't signed in to says so in the chat, with what to run on the computer first.

New session shows every agent above, the ones on your computer first. Tap one that isn't installed to open its install page; after installing it, tap Check again. If an installed agent still doesn't show, make sure the folder it's installed in is on the PATH your login shell sets.

Sessions

Pick a computer in the header and the tab lists the sessions running there now, from every agent together: open on the computer, or working or waiting in Link. Each row says what it's doing, and the list is ordered by it: Needs you (amber) first, then working (a mint dot that pulses), then idle (a hollow dot). The header counts them, for example "2 working, 1 idle". Until your computer answers, the tab shows what was running last time, marked "As of 5 min ago · connecting…". Open one to read its history (newest first, older parts as you scroll up) and continue it; from the next app update, a chat you opened before shows its last messages at once while the app reconnects. Or start a New session: pick the agent, then go to the folder it should work in. Tap folders to go into them, Up to go back, or type a path at the top. Folders you used before are shortcuts. Start starts the agent in the folder shown.

Sessions you started in a terminal show as In terminal. For Codex, the phone joins the very same thread. For Claude Code, sending from the phone continues the conversation separately from the terminal, unless the terminal session was started with Link's channel: then your message goes straight into it. See Claude in a terminal.

Agents that Link started stop when the phone's connection ends, so none is left waiting on an approval nobody can answer. Codex is the exception: its turns keep running on the computer, and you see the results when you come back.

While an agent works

Under the newest message, a small lizard and a line show what the agent is up to: a word such as Brewing… and how long the turn has taken. If nothing new arrives for a while, the line says so: No output for 25s, and after 40 seconds still connected, meaning the phone is still reaching your computer and the agent is just busy, for example running tests. If the connection drops, it says Lost the connection to your computer instead. When the agent needs you, the lizard waits for your answer; when the turn ends, it jumps.

Approvals

When an agent asks before acting, the chat shows a card with the agent's own choices: Allow, Deny, and where the agent offers it, Always allow. Questions the agent asks you become cards you answer in place, and Claude's plan mode shows the plan with Approve plan or Keep planning. A notification brings you back when an agent is waiting.

Link never approves anything by itself. Requests it can't show are refused, not allowed.

Permission modes

The chip in the composer sets how much an agent may do without asking. Modes that let it act without asking need a confirmation first.

AgentModes
Claude CodeAsk, Accept edits, Auto (Claude approves what its classifier finds safe), Plan, Don't ask
CodexAsk, Auto (no prompts inside the project, no network), Read only, Full access
The other agentsThe modes the agent itself offers, such as OpenCode's build and plan, Copilot's Agent, Plan and Autopilot, or Gemini's and Qwen's YOLO
CrushAsk, Don't ask (which applies to every Crush session in that folder)
PiNone: Pi doesn't ask before using tools, unless an extension adds dialogs, which show as cards

The mode you pick last is where new sessions start, until Link closes.

Undo a turn

Each message you send from Link remembers how your project looked before and after the agent worked on it. Under the reply you see what changed, such as 3 files changed +40 −12.

Tap it to see each file's changes, and choose Undo these changes to put the files back, or redo them after an undo. This needs the project to be a git repository. It's kept out of your way: no commits on your branches, and your staged changes and stash are left alone.

Steer or queue

While an agent works, Send adds your message to the running turn where the agent supports it (Claude Code, Codex, Pi). With other agents it waits and goes out when the turn ends. If it can't be sent (the computer refused it, or went offline), it stays at the front of the queue and waits for the next turn instead of being tried again and again; you can still edit or remove it.

Images

Attach images from the phone's photos. Agents and models that don't take images hide the button. Images an agent shows, such as a screenshot it read, appear in the chat. Tap one to see it full screen, pinch to zoom, and tap the X or Back to close it.

Scheduled tasks

Have Claude Code or Codex do something at a set time, even with your phone off: tap Scheduled tasks under the list. See Scheduled tasks.

Dictate a message

From the next app update, tap the mic in the composer and talk: your words appear in the message as you say them, after anything you'd already typed. Keep going across sentences. It stops when you tap the mic again or stop talking for a few seconds, and nothing is sent until you tap Send, so you can fix it first.

Link asks to use the microphone the first time. It uses your phone's own speech recognition, in your phone's language (see Privacy). The mic is hidden on phones that don't have a speech recognition service.

Files the agent mentions

When a reply links to a file on your computer, for example one the agent just wrote, tap the link to open that file in Files, on the chat's computer even when another one is selected. The same goes for the file name above an edit's changes. Back takes you to the chat. Text, code and Markdown show in place; for other files, use Save to phone or Open with….

On this page