Agents Machine

Agents

Specialized AI agents that handle complex tasks with deep expertise.

Agents are specialized AI personas, each with its own system prompt, capabilities, and focus area. They go beyond simple chat with tool access, sub-agent spawning, and budget management.

Built-in Agents

๐Ÿ”ฌ Analyst

Understanding problems, research, specs, and requirements analysis.

๐Ÿ—๏ธ Architect

Technical decisions, API design, system architecture.

๐Ÿ’ป Developer

Writing code, debugging, refactoring, implementation.

๐Ÿ” Reviewer

Code review, security audit, best practices compliance.

๐Ÿงช Tester

Test generation, verification, coverage analysis.

๐Ÿ“Š Manager

Task coordination, sprint planning, estimation.

๐Ÿ“š Researcher

Knowledge gathering, technology evaluation, deep research.

Execution Modes

Full execution with file and bash access (uses Claude Code CLI or AI SDK):

Spawn the architect agent to design a caching layer for our API.
Consider Redis vs in-memory caching.

LLM-only execution โ€” fast but no file/bash access. Great for analysis:

Run a quick agent (analyst) to compare REST vs GraphQL for our use case.

Run multiple agents concurrently (budget split equally):

Run reviewer and developer agents in parallel:
- Reviewer: audit the auth module for security issues
- Developer: fix any issues found

Custom Agents

Agent definitions are Markdown files stored in the agents/ directory:

agents/database-expert.md
# Database Expert

You are a senior database engineer specializing in PostgreSQL and Drizzle ORM.

## Expertise

- Query optimization and indexing strategies
- Schema design and migrations
- Connection pooling and performance tuning

## Rules

- Always suggest adding indexes for frequently queried columns
- Prefer Drizzle ORM patterns over raw SQL
- Always include .limit() on SELECT queries

Use reload_agents to hot-reload agent definitions after editing files on disk.

Orchestration

Loading diagram...

Budget Management

AspectDescription
Per-run budgetConfigurable limit per agent execution
Inherited budgetSub-agents share the parent's remaining budget
Usage reportingView token usage via agent_budget tool

On this page