Use this file to discover all available pages before exploring further.
An Agent is a domain-specific or task-specific configuration that defines how the agentic loop behaves. Agents are optional — sessions can run with just a harness — but they enable specialized behavior on top of the base infrastructure.
Provides: file_system, bash, web_fetchPrompt: "You are a helpful assistant."
Agent: Code Reviewer
Adds: stateless_todo_list (for tracking review items)Prompt: "You are an expert code reviewer. Focus on:- Code quality and maintainability- Security vulnerabilities- Performance issues- Best practices for the detected language"
The session inherits all harness capabilities plus the agent’s additions, and the agent’s prompt is prepended to the harness prompt.
The final system prompt follows this hierarchy (bottom-up):
┌──────────────────────────────────┐│ Session Capabilities │ ← Highest priority├──────────────────────────────────┤│ Agent Capabilities │├──────────────────────────────────┤│ Agent System Prompt │├──────────────────────────────────┤│ Harness Capabilities │├──────────────────────────────────┤│ Harness System Prompt │ ← Base layer└──────────────────────────────────┘
Each section is wrapped in XML tags for clear boundaries:
<capability id="stateless_todo_list">Use write_todos to track multi-step tasks...</capability><system-prompt>You are an expert code reviewer...</system-prompt><capability id="session_file_system">Access files using read_file, write_file...</capability><system-prompt>You are a helpful assistant.</system-prompt>
Be specific — Define the agent’s expertise and focus area
Include examples — Show expected behavior patterns
Set boundaries — Explain what the agent should and shouldn’t do
Use structure — Numbered lists, bullet points, sections
Good System Prompt Example
You are an expert Python code reviewer specializing in data science projects.When reviewing code:1. **Correctness** — Verify logic, edge cases, error handling2. **Performance** — Identify bottlenecks, suggest optimizations3. **Maintainability** — Check naming, documentation, structure4. **Security** — Flag potential vulnerabilitiesAlways:- Provide code examples for suggested changes- Explain the reasoning behind recommendations- Prioritize issues by severityNever:- Make style-only comments without substance- Suggest changes without explaining why