Welcome to the OpenFang documentation. OpenFang is the open-source Agent Operating System -- 14 Rust crates, 40 channels, 60 skills, 20 LLM providers, 76 API endpoints, and 16 security systems in a single binary.
Guide
Description
Architecture
12-crate structure, kernel boot, agent lifecycle, memory substrate
Agent Templates
30 pre-built agents across 4 performance tiers
Workflows
Multi-agent pipelines with branching, fan-out, loops, and triggers
Security
16 defense-in-depth security systems
Guide
Description
Channel Adapters
40 messaging channels -- setup, configuration, custom adapters
LLM Providers
20 providers, 51 models, 23 aliases -- setup and model routing
Skills
60 bundled skills, custom skill development, FangHub marketplace
MCP & A2A
Model Context Protocol and Agent-to-Agent protocol integration
Guide
Description
API Reference
All 76 REST/WS/SSE endpoints with request/response examples
Desktop App
Tauri 2.0 native app -- build, features, architecture
Guide
Description
Production Checklist
Every step before tagging v0.1.0 -- signing keys, secrets, verification
export GROQ_API_KEY=" your-key"
openfang init && openfang start
# Open http://127.0.0.1:4200
Metric
Count
Crates
14
Agent templates
30
Messaging channels
40
Bundled skills
60
Built-in tools
38
LLM providers
20
Models in catalog
51
Model aliases
23
API endpoints
76
Security systems
16
Tests
967
Path
Description
~/.openfang/config.toml
Main configuration file
~/.openfang/data/openfang.db
SQLite database
~/.openfang/skills/
Installed skills
~/.openfang/daemon.json
Daemon PID and port info
agents/
Agent template manifests
Key Environment Variables
Variable
Provider
ANTHROPIC_API_KEY
Anthropic (Claude)
OPENAI_API_KEY
OpenAI (GPT-4o)
GEMINI_API_KEY
Google Gemini
GROQ_API_KEY
Groq (fast Llama/Mixtral)
DEEPSEEK_API_KEY
DeepSeek
XAI_API_KEY
xAI (Grok)
Only one provider key is needed to get started. Groq offers a free tier.