How to Run a Specialist Agent

By Paul Flanders · · Intermediate

Learn how to effectively run specialist agents for tasks like testing, documentation, and bug-fixing with eLLM Code. The article guides you through setting up and using built-in and custom agents, ensuring efficient task management.

Estimated time: 4 minutes
Difficulty: Intermediate

Why you'd use this

Some jobs are better done by a focused role with its own instructions than by the general assistant: writing and running tests, bringing documentation up to date, or chasing one bug to its root cause. eLLM Code ships three such agents and lets you add your own as a markdown file. You hand an agent a task, it works through the normal read, edit and run loop, and it reports when it is finished, clearly labelled if anything was left unverified.

Before you start

Permissions required:

  • Write access to the workspace. Agents propose edits and run commands like the main assistant, subject to the same Apply and Run approvals and toggles.

You'll need:

  • A one-line task for the agent, or nothing at all to use its default brief.
  • For a custom agent: a file at .project-ai/agents/<id>.md whose first heading is the agent's name and whose body is its role prompt.

Steps

  1. Press / and choose Run specialist agent (QA / Docs / Bug-fix), or run eLLM: Run Specialist Agent.
  2. Pick an agent from the list: QA Agent writes and runs tests and reports coverage gaps; Documentation Agent updates README, docs and doc-comments and keeps architecture and devlog current; Bug-fixing Agent reproduces, diagnoses, fixes and verifies a bug. Custom agents appear below the built-ins.
  3. Type the task in the input box, for example "verify the checkout flow", or press Enter on an empty box for the agent's default task.
  4. An "Agent" activity line names the agent. Review its cards and commands as usual.
  5. When the agent finishes, a note reads "finished" or "finished, unverified" with the reason. If it finished unverified, read the warning above it before relying on the result.
  6. To chain the QA and Documentation agents automatically after every Plan Mode build, open and tick Hand off to QA + Docs agents on build completion.

What you should see

The QA agent adds test files where the project keeps them and runs them. The Documentation agent proposes changes to README and doc files. The Bug-fixing agent is also started automatically when a Plan Mode build finishes with unresolved preview errors, carrying those errors with it.

Troubleshooting

  • A custom agent does not appear: the file must be inside the memory folder's agents/ subfolder with a .md extension, and its id (the file name) must not clash with qa, docs or bugfix.
  • The agent finished after a malformed action: it is given two repair attempts, then finishes labelled unverified. Run it again with a narrower task.

Related guides

  • How to Apply Skills to a Session
  • How to Understand the Verification Gates

person people found this useful.

Related

Knowledge base 11 Sep 2026

How to Send Identity and Intent Headers to the Gateway

Learn how to configure identity and intent headers for a shared gateway using eLLM Code. This guide explains how to adjust settings in VS Code, ensuring requests are routed correctly and usage is attributed accurately.

Knowledge base 11 Sep 2026

How to Tune Generation Settings for Your Model

Learn how to fine-tune generation settings for local and self-hosted models to improve performance and accuracy. Adjust parameters like repetition, prompt size, and command timeouts to better match your model's behaviour.

Knowledge base 11 Sep 2026

How to Run the Benchmark Suite

This article provides a detailed guide on running a benchmark suite to test model configurations, including setup requirements, steps for execution, and troubleshooting tips. It's aimed at advanced users looking to evaluate model capabilities before deployment.

Expand 29 Jul 2026

How AI can support pupils with SEND

Explore how AI tools are aiding pupils with special educational needs and disabilities by simplifying text, breaking down tasks, and enhancing accessibility. Learn about the considerations schools should make before implementation.

Expand 29 Jul 2026

AI policy and practice in further education

Further education colleges need distinct AI policies due to their unique mix of vocational courses, diverse age groups, and specific funding and inspection requirements. This guidance highlights the importance of tailored AI approaches in FE settings.