Knowledge Base/Desktop App/Using AI Agents in the editor

Using AI Agents in the editor

AI Agents turn the editor's chat panel from a simple assistant into a team of specialists. Instead of writing one instruction at a time, you describe a goal and an agent plans the steps, edits multiple files, runs the app, and reports back — all inside your project.

The AI Agents panelThe AI Agents panel
The AI Agents panel: chat on the left, specialised agents on the right.
Watch: put AI agents to work

How to run an agent

  1. Open your project so the editor and its right-hand chat panel are visible.
  2. Describe the outcome you want, e.g. "Add pagination to the products list and write tests for it."
  3. Pick the agent that fits the job, or leave it on the default build agent.
  4. Review the plan the agent proposes, then approve it — it edits files and runs the app for you.
  5. Watch the live preview refresh, then iterate with a follow-up if anything needs tweaking.

Which agent, when

  • Build — add features or wire up new screens.
  • Testing / QA — generate and run tests before you ship.
  • Security — review for vulnerabilities and harden endpoints.
  • Refactoring — split a bloated file, rename across the project, tidy structure.
  • DevOps — run builds, migrations, and deployments from the terminal.
  • Documentation — write a README or API docs from the current code.

Tips for good results

  • Give one clear objective per run rather than a long mixed list.
  • Ask the agent to explain its plan first so you can catch a wrong assumption before any file changes.
  • Keep the scope bounded — a tight goal produces a tighter, more correct result.

Common mistakes to avoid

  • Approving a plan you didn't read. Skim it — it's your chance to steer before edits land.
  • Stacking five goals in one run. Split them so a wrong turn is easy to undo.

FAQ

Do agents work on the web too?

Agents that only edit code work anywhere. Those that run tests, deploy, or use the terminal are most powerful in the desktop app, where they have local access.

Can I stop an agent mid-run?

Yes — you approve the plan before it acts, and you can interrupt and redirect it at any point.

Will it change files I didn't expect?

Review the proposed plan first; it lists what it intends to touch. @-mention files to keep it focused.

Key Features

Specialised agents

Build, Documentation, Testing/QA, Security, Refactoring and DevOps agents, each tuned for its job.

Plan then act

Agents propose a step-by-step plan you approve before any files change.

Runs and verifies

An agent can run the app, read the result, and fix what it finds — not just write code.

How It Works

1

Describe the goal

State one concrete outcome in the chat panel.

2

Pick an agent

Choose the specialist that matches the task.

3

Approve the plan

Review the proposed steps before execution.

4

Review and iterate

Check the live preview and follow up as needed.

Was this article helpful?