A collection of modular, variable Single-File Agents (vSFAs) built on Claude's API for automated research, protocol development, and specialized task execution.
Variable Single-File Agents (vSFAs) are modular, configurable Python scripts that:
- Include all dependencies directly in the file
- Accept standardized variables to define their behavior
- Can be reused across multiple use cases by changing variables
- Use Claude's API for reasoning and decision-making
- Run with minimal setup requirements
For more detailed information on the vSFA pattern, see VARIABLE_MODULAR_SFAS.md.
- Ensure you have Python 3.9+ and uv installed
- Copy
.example.env
to.env
and add your Anthropic API key - Set up the directory structure with
./setup-vsfa.sh
- Try a predefined use case:
job-search
The project includes both traditional Single-File Agents (SFAs) and variable Single-File Agents (vSFAs):
Single-purpose agents for specific tasks:
best_docs_gap_finder
: Identifies gaps in documentationbest_docs_guide_creator
: Creates documentation best practice guides
Modular agents that can be customized with variables:
protocol-agent
: Creates detailed protocol documents from existing materialresearch-agent
: Conducts research based on protocol documents
Predefined use cases combine vSFAs for complex workflows:
- job-search: Analyzes candidate background and searches for matching job opportunities
For detailed technical information about the architecture, components, and implementation patterns, see SPECIFICATIONS.md.
For Claude-to-Claude collaboration notes and development insights, see CLAUDE.md.
- Variable-based design: Define different behaviors with standardized variables
- Agent chaining: Connect multiple agents in sequence for complex workflows
- Self-contained files: Each agent operates as a single file with embedded dependencies
- Minimal footprint: Focused, purpose-built agents that do one thing well
- Modern dependency management: Uses
uv
for fast, reliable execution - Custom commands: Create executable shortcuts for specific use cases
- Required: Python 3.9+, uv package manager
- API keys: Anthropic API key (Claude 3.7 Sonnet or higher recommended)
- Configure environment variables in
.env
file
- Identify the general task and necessary variables
- Create JSON configuration file(s) for the vSFAs
- Create a shell script to chain the agents if needed
- Add to ~/bin for easy command-line access
MIT License