Docs
Sign in

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.

Screenshot to add: The Chat panel with the composer, the permission mode switch and an approval card.

Give it a task

  1. Open the Chat tab

    In the IDE, choose Chat.

  2. Describe the task

    Click the box: "Describe the task. Enter to send, Shift+Enter for newline." Press Enter to send and Shift+Enter for a new line.

  3. Attach files if useful

    Click 📎 Attach ("Attach files (or drag & drop into the chat)").

  4. Watch and approve

    The agent works and shows what it does. It may ask for your approval, depending on the permission mode.

  5. 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.

ModeWhat happens
AutoThe agent runs freely; governance rules still apply
ApproveEvery bash command or file write needs your approval
AskThe agent asks before all guarded operations
RestrictedBash 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.json and 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

AbilityIn plain words
Read and searchOpen files, list folders and search across the repository
WriteCreate files, and replace text in files
Run commandsRun terminal commands (1 to 15 minutes, 5 by default) and several at once
GitHubUse GitHub on your behalf
Web and memorySearch the web, and recall saved workspace knowledge
Helper agentsStart separate helpers to work on a part of the task
SkillsLoad a skill for a specific job
PreviewOpen 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:

ButtonMeaning
✓ ContinueCarry on
Continue, don't ask again this timeCarry on without asking again for this run
✗ StopStop 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.

Known gaps