Back to Openfang

OpenFang Documentation

docs/README.md

0.6.43.5 KB
Original Source

OpenFang Documentation

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.


Getting Started

GuideDescription
Getting StartedInstallation, first agent, first chat session
ConfigurationComplete config.toml reference with every field
CLI ReferenceEvery command and subcommand with examples
TroubleshootingCommon issues, FAQ, diagnostics

Core Concepts

GuideDescription
Architecture12-crate structure, kernel boot, agent lifecycle, memory substrate
Agent Templates30 pre-built agents across 4 performance tiers
WorkflowsMulti-agent pipelines with branching, fan-out, loops, and triggers
Security16 defense-in-depth security systems

Integrations

GuideDescription
Channel Adapters40 messaging channels -- setup, configuration, custom adapters
LLM Providers20 providers, 51 models, 23 aliases -- setup and model routing
Skills60 bundled skills, custom skill development, FangHub marketplace
MCP & A2AModel Context Protocol and Agent-to-Agent protocol integration

Reference

GuideDescription
API ReferenceAll 76 REST/WS/SSE endpoints with request/response examples
Desktop AppTauri 2.0 native app -- build, features, architecture

Release & Operations

GuideDescription
Production ChecklistEvery step before tagging v0.1.0 -- signing keys, secrets, verification

Additional Resources

ResourceDescription
CONTRIBUTING.mdDevelopment setup, code style, PR guidelines
MIGRATION.mdMigrating from OpenClaw, LangChain, or AutoGPT
SECURITY.mdSecurity policy and vulnerability reporting
CHANGELOG.mdRelease notes and version history

Quick Reference

Start in 30 Seconds

bash
export GROQ_API_KEY="your-key"
openfang init && openfang start
# Open http://127.0.0.1:4200

Key Numbers

MetricCount
Crates14
Agent templates30
Messaging channels40
Bundled skills60
Built-in tools38
LLM providers20
Models in catalog51
Model aliases23
API endpoints76
Security systems16
Tests967

Important Paths

PathDescription
~/.openfang/config.tomlMain configuration file
~/.openfang/data/openfang.dbSQLite database
~/.openfang/skills/Installed skills
~/.openfang/daemon.jsonDaemon PID and port info
agents/Agent template manifests

Key Environment Variables

VariableProvider
ANTHROPIC_API_KEYAnthropic (Claude)
OPENAI_API_KEYOpenAI (GPT-4o)
GEMINI_API_KEYGoogle Gemini
GROQ_API_KEYGroq (fast Llama/Mixtral)
DEEPSEEK_API_KEYDeepSeek
XAI_API_KEYxAI (Grok)

Only one provider key is needed to get started. Groq offers a free tier.