Summary
Add support for a user-defined config file that allows customizing individual agents in the swarm.
Motivation
Currently, agent properties such as name, description, and system prompt are hardcoded. A config file would let users tailor the swarm to their specific use case without modifying source code.
Proposed Config Fields
agents:
- name: "ResearchAgent"
description: "Specializes in web research and summarization"
system_prompt: "You are a research assistant. Your goal is to..."
model: "claude-sonnet-4-6"
max_tokens: 8096
temperature: 0.7
- name: "CoderAgent"
description: "Writes and reviews code"
system_prompt: "You are an expert software engineer..."
model: "claude-opus-4-6"
max_tokens: 16000
Acceptance Criteria
Notes
- Config should be optional — existing behavior should remain unchanged when no config is present
- Consider supporting multiple named agent profiles that can be selected at runtime
Summary
Add support for a user-defined config file that allows customizing individual agents in the swarm.
Motivation
Currently, agent properties such as name, description, and system prompt are hardcoded. A config file would let users tailor the swarm to their specific use case without modifying source code.
Proposed Config Fields
Acceptance Criteria
name,description,system_prompt,model,max_tokens,temperatureclaw_swarm.yamlor~/.claw_swarm/config.yaml)--config) or environment variableNotes