A web UI for creating and managing Claude Code subagents.
- Create agents with a visual form - name, description, tools, model, color
- Generate prompts using
claude --print opusfor intelligent prompt creation - Preview agent files before saving
- Configure hooks for PreToolUse, PostToolUse, and Stop events
- Edit and delete existing agents
- Dark theme GitHub-inspired UI
# Option 1: Use the start script (handles venv)
./start.sh
# Option 2: Manual setup
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python server.py# Build and run
docker-compose up -d| Method | Endpoint | Description |
|---|---|---|
| GET | /api/agents |
List all agents |
| GET | /api/agents/{name} |
Get agent details |
| POST | /api/agents |
Create new agent |
| PUT | /api/agents/{name} |
Update agent |
| DELETE | /api/agents/{name} |
Delete agent |
| POST | /api/generate-prompt |
Generate prompt with Claude |
| POST | /api/preview |
Preview agent file |
| GET | /api/health |
Health check |
Agents are stored as Markdown files with YAML frontmatter in ~/.claude/agents/:
---
name: my-agent
description: What the agent does
tools: Bash, Read, Write
model: haiku
color: blue
hooks:
PreToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "./scripts/validate.sh"
---
System prompt content here...Bash- Execute shell commandsRead- Read filesWrite- Create/overwrite filesEdit- Edit existing filesGlob- Find files by patternGrep- Search file contentsTask- Spawn subagentsWebSearch- Search the webWebFetch- Fetch web pagesNotebookEdit- Edit Jupyter notebooksAskUserQuestion- Ask user questionsEnterPlanMode- Enter planning modeExitPlanMode- Exit planning mode
haiku- Fast, low costsonnet- Balancedopus- Most capableinherit- Use parent model
PreToolUse- Before tool execution (can block)PostToolUse- After tool executionStop- When agent finishes
- Write clear descriptions - Claude uses them to decide when to delegate
- Limit tool access - Only grant necessary tools
- Use haiku for simple tasks - Save cost and reduce latency
- Add hooks for validation - Catch errors early
- Include "use proactively" in descriptions for auto-delegation
MIT