You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 day ago | |
|---|---|---|
| .. | ||
| README.md | 1 day ago | |
| analytical_research.py | 1 day ago | |
| basic_fairy_swarm.py | 1 day ago | |
| custom_fairy.py | 1 day ago | |
| custom_tools.py | 1 day ago | |
| multi_page_wireframe.py | 1 day ago | |
| selected_fairies.py | 1 day ago | |
| standalone_tools.py | 1 day ago | |
README.md
FairySwarm Examples
Examples demonstrating the FairySwarm multi-agent coordination system, inspired by tldraw's "fairies" feature.
Examples
| File | Description |
|---|---|
basic_fairy_swarm.py |
Simple landing page wireframe task |
selected_fairies.py |
Run with subset of fairies (orchestrator election) |
custom_tools.py |
Add custom tools like color palette generator |
standalone_tools.py |
Use canvas/todo tools without full swarm |
multi_page_wireframe.py |
Complex multi-page coordination task |
analytical_research.py |
Research-heavy dashboard design |
custom_fairy.py |
Create custom fairy agents |
Quick Start
# Set your API key
export OPENAI_API_KEY="your-key"
# Run an example
python fairy_swarm_examples/basic_fairy_swarm.py
Key Concepts
- Orchestrator Fairy - Plans and delegates tasks
- Worker Fairies - Creative, Operational, Analytical, Harmonizer
- Shared Todo List - Coordination between agents
- Canvas Tools - Functions for manipulating shared state
- Context Refresh - Mid-work updates when needed