Overview
Agents are markdown files that define AI workers. No code required—just structured prompts.Step 1: Create the File
Create a new agent in your squad directory:Step 2: Define the Agent
Step 3: Run Your Agent
Agent Structure Explained
| Section | Purpose |
|---|---|
| Purpose | What the agent does (one sentence) |
| Inputs | What it needs to work |
| Outputs | What it produces |
| Instructions | Step-by-step prompt |
Best Practices
Keep it focused
Keep it focused
One agent, one job. Don’t try to make agents do everything.
Be specific in instructions
Be specific in instructions
Vague instructions = unpredictable results. List concrete steps.
Define output format
Define output format
Specify exactly how you want results formatted (markdown, JSON, etc).
Test iteratively
Test iteratively
Run, review, refine. Agents improve with feedback.