AI Coding Agent
The AI Coding Agent is the assistant inside TAO Code that reads your repository, edits files, runs commands in your terminal and opens previews, while you watch and stay in control. You talk to it in the Chat panel of the IDE Workspace.
Give it a task
Open the Chat tab
In the IDE, choose Chat.
Describe the task
Click the box: "Describe the task. Enter to send, Shift+Enter for newline." Press
Enterto send andShift+Enterfor a new line.Attach files if useful
Click 📎 Attach ("Attach files (or drag & drop into the chat)").
Watch and approve
The agent works and shows what it does. It may ask for your approval, depending on the permission mode.
Stop it any time
Click Stop agent. While it works the box says "Agent is working — wait or cancel…".
Type @ followed by a name to bring in a skill; a list appears as you type.
Plan first
Turn on Plan-First ("When on, the agent returns a plan instead of executing"). The box then says "…Enter to plan…". The agent writes a plan, and until you click Approve on the plan card it is not allowed to change anything. Approving sends "Approved — proceed with the plan."
Permission modes
Choose how much the agent may do on its own with the Agent permission mode switch.
| Mode | What happens |
|---|---|
| Auto | The agent runs freely; governance rules still apply |
| Approve | Every bash command or file write needs your approval |
| Ask | The agent asks before all guarded operations |
| Restricted | Bash and parallel commands are blocked entirely |
An approval card has ✓ Approve and ✗ Deny, then shows "✓ Approved" or "✗ Denied". If you do not answer within 60 seconds, it is denied automatically.
Protections that always apply
Even in Auto mode, TAO blocks or checks:
- Writing to protected places such as
.env,.git/,.ssh/, private keys (id_rsa,id_ed25519),.docker/config.json, cloud credential files (.aws/credentials,.kube/config),credentials.jsonand service-account files. - File content that contains secret patterns, such as cloud access keys or GitHub tokens.
- Commands that contain secrets or personal data: these need approval.
- Commands that ask to run longer than 15 minutes: these need approval.
- Any change while a plan is waiting for approval (with Plan-First).
A blocked action reads "Governance policy blocked this action". If the governance service is slow to answer (2 seconds by default), the check is skipped and only the built-in checks apply.
What the agent can do
| Ability | In plain words |
|---|---|
| Read and search | Open files, list folders and search across the repository |
| Write | Create files, and replace text in files |
| Run commands | Run terminal commands (1 to 15 minutes, 5 by default) and several at once |
| GitHub | Use GitHub on your behalf |
| Web and memory | Search the web, and recall saved workspace knowledge |
| Helper agents | Start separate helpers to work on a part of the task |
| Skills | Load a skill for a specific job |
| Preview | Open pages, click, type, take screenshots and inspect the page in Live Preview |
Long outputs are shortened for the model: command output to 10,000 characters and file reads to 100,000 characters.
Choose the model
Click the model button in the composer ("Choose model for primary agent"), or use the picker in the app bar. A hover note says "credentials present" or "no key configured for this provider". Your choice is remembered for the session. A second picker in the state bar sets the model for helper agents ("Select sub-agent model").
The model needs a key. Add yours in AI Model Keys. If no default model is set for coding, TAO only logs a warning, so set one there first.
Reasoning
The control "Reasoning (extended thinking) for this session" has Auto, On and Off, plus an effort setting. You may see "Reasoning not available for this model", "This model rejected reasoning — running without it" or "Reasoning turned off".
Spend and limits
By default each interaction can use up to $10, 6,000,000 tokens and 2 hours of working time. There is no limit on the number of turns. Your administrator or you can change these (see Agent limits in AI Model Keys).
When a limit is reached, the agent stops before doing more and shows a budget check-in card:
| Button | Meaning |
|---|---|
| ✓ Continue | Carry on |
| Continue, don't ask again this time | Carry on without asking again for this run |
| ✗ Stop | Stop here |
The card never expires on its own. The result reads "✓ Continuing" or "⏸ Stopped". The card also appears if the agent stops because it is going in circles (repeating a call or making no progress).
Your key may also have a spend limit set in AI Model Keys. That is a harder wall: the run stops when the cost reaches it.
The $ meter in the app bar shows the spend. It only appears when prices are known; without admin-set pricing it may be missing.
Long conversations
When the conversation gets too long, TAO shortens older messages automatically and tells you, for example "Earlier context was trimmed to fit the model's window (N messages dropped)" or "Earlier conversation summarized using (model)". You can also use Compact now (see IDE Workspace).
Limits to be aware of
- You can send at most 30 messages per minute from one network address.
- Agent runs continue if you close the browser tab.