Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,29 @@ anvil memory search "recent goals"
anvil config --check
```

### Sub-agent profiles

You can define named sub-agent profiles in config-level settings or project metadata.
Profiles can override system prompt, model, and tool access.

```toml
[agent.subagent_profiles.reviewer]
system_prompt = "You are a strict code reviewer focused on regressions."
model = "claude-sonnet-4-5"
tool_allowlist = ["read_file", "echo"]
tool_denylist = ["bash_exec"]

[agent.project_metadata.subagent_profiles.researcher]
system_prompt = "Gather facts and references only."
tool_allowlist = ["read_file", "list_skills", "read_skill"]
```

Then call `spawn_subagent` with an optional `profile` field:

```json
{ "goal": "review src/auth.rs", "context": "focus on security", "profile": "reviewer" }
```

---

## Providers
Expand Down
Loading
Loading