Hands: Autonomous Capability Packages (Agents that work for you)
Hands are OpenFang's most "productized" innovation: packaging a class of repeatable, autonomous, and observable work into a deployable unit.
Hands vs Traditional Agents
Three-Layer Structure: Why It "Feels More Like a Job Role"
From docs/hands:
- HAND.toml: The job description (tools, settings, schedule, dashboard metrics)
- System Prompt (playbook): The training manual (multi-stage processes, decision trees, error recovery, quality gates)
- SKILL.md: Domain knowledge base (reference knowledge, rather than instructions)
Additionally, all three layers of content are compiled into the binary via include_str!() during the build process, making their delivery and versioning more like system components.
7 Built-in Hands (Official/README)
Hand Lifecycle Commands (docs/hands)
How to Customize a Hand (Summary of docs/hands)
You need a directory containing:
HAND.tomlsystem-prompt.mdSKILL.md(optional but highly recommended)
The key is writing the playbook as an executable workflow: divided by Phases, with explicit conditional branches, error recovery, and quality thresholds.