openfang
CLAUDE.md18k starsChanged 9 months agoApache-2.0View on GitHub
The daemon command is start (not daemon).
- Reads credentials
- Sends data out
Trending
Less talk lately.about the whole repository
Who's talking about RightNow-AI/openfang
- A Hacker News story“Open-Source Agent Operating System”Hacker News · Feb 26, 2026 · 11 points
- librefang/librefang“feat: add wildcard support for tool capabilities”GitHub · Mar 29, 2026 · 2 reactions
- @srtagalicia.eurosky.social“¿Opiniones, @naikodemus.bsky.social? github.com/RightNow-AI/...”Bluesky · Mar 8, 2026 · 2 likes
- @camilleroux.com“OpenFang : un OS complet pour agents autonomes, écrit en Rust, qui compile en un binaire de 32 MB. Les …”Bluesky · Mar 4, 2026 · 2 likes
- @hnws.bsky.social“Open-Source Agent Operating System L: https://github.com/RightNow-AI/openfang C: …”Bluesky · Feb 26, 2026 · 2 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub, Bluesky and Hacker News (58 times).
On GitHub · 50
- Mar 29, 2026feat: add wildcard support for tool capabilities — librefang/librefang2 reactions
- Apr 22, 2026openfang: init at 0.6.0 — numtide/llm-agents.nix1 reaction
- Mar 29, 2026feat: multi-agent foundation with recovery, quality gates, and migration compatibility — librefang/librefang1 reaction · 1 comment
- Mar 29, 2026feat: add DingTalk stream mode support — librefang/librefang1 reaction
- Mar 29, 2026Add voice channel adapter with WebSocket server — librefang/librefang1 reaction
45 more on GitHub
- Mar 23, 2026[Add App]Openfang — beclab/apps1 reaction
- Mar 13, 2026[Feature] Add Feishu WebSocket Long Connection Support — librefang/librefang1 reaction · 1 comment
- Mar 5, 2026[Feature] Store add openfang — 1Panel-dev/1Panel1 reaction · 1 comment
- Oct 12, 2026Add OpenFang harness detection — auron-labs/harness-detect0 reactions
- Oct 3, 2026agent-skills.github.rightnow-ai.openfang: init at 0.6.9 — sudosubin/agents.nix0 reactions
- Jul 23, 2026heartbeat idle-flap fix + route web_search through self-hosted SearXNG — 797th/openfang0 reactions
- Jun 11, 2026OpenFang-based agents — general-intelligence-systems/brute0 reactions · 5 comments
- Jun 1, 2026RightNow-AI/openfang inspired examples — general-intelligence-systems/brute_stack0 reactions · 4 comments
- Jun 1, 2026🦞 OpenClaw 生态日报 2026-06-01 — ivanweng2077/big_model_radar0 reactions
- May 4, 2026new players and category — dz3ai/allclaws0 reactions · 3 comments
- May 4, 2026Trending agent repos - week of 2026-05-04 — Talonsturgill/competitive-intel0 reactions
- Apr 29, 2026Research: Memory approach of common non-coding Agents — 8monkey-ai/hebo-platform0 reactions · 20 comments
- Apr 22, 2026openfang: init at 0.6.0 — viniciuspalma/llm-agents.nix0 reactions · 1 comment
- Apr 21, 2026package request: OpenFang — numtide/llm-agents.nix0 reactions · 1 comment
- Apr 20, 2026Make Hebo Platform the preferred for Gateway / Observability layer for Agents — 8monkey-ai/hebo-platform0 reactions · 18 comments
- Apr 15, 2026Wonder if group chat is resolved in whatsapp/signal (coming from openfang) — librefang/librefang0 reactions · 1 comment
- Mar 30, 2026feat(channels): add voice channel adapter with WebSocket server — librefang/librefang0 reactions · 1 comment
- Mar 22, 2026Add OpenFang Docker image build and publish workflow — ilteoood/docker-harnesses0 reactions
- Mar 22, 2026feat: typing-aware message debounce — librefang/librefang0 reactions · 1 comment
- Mar 16, 2026工作流框架咨询 — outhsics/openfang-auto-clip0 reactions · 3 comments
- Mar 16, 2026fix: WhatsApp gateway resilience, media support, and startup hardening — f-liva/openfang0 reactions · 2 comments
- Mar 14, 2026feat: bundle Python and Node.js runtimes in Docker image (#334) — librefang/librefang0 reactions · 2 comments
- Mar 14, 2026feat: add Qwen Code CLI as LLM provider — librefang/librefang0 reactions · 4 comments
- Mar 14, 2026feat: add Z.AI and Kimi 2 model support — librefang/librefang0 reactions · 2 comments
- Mar 14, 2026fix: improve Telegram markdown formatting for headings, lists, code blocks and blockquotes — librefang/librefang0 reactions · 2 comments
- Mar 14, 2026feat: add Nix flake support — librefang/librefang0 reactions
- Mar 14, 2026perf: channel hot-path optimizations with Criterion benchmarks — librefang/librefangsays it tested it0 reactions
- Mar 14, 2026feat: add Z.AI and Kimi 2 model support — librefang/librefang0 reactions
- Mar 14, 2026feat: merge Feishu/Lark into unified adapter with WebSocket support — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026bug: WhatsApp Web gateway E2EE decryption, agent UUID resolution, and auto-connect failures — librefang/librefang0 reactions
- Mar 14, 2026bug: OpenRouter model IDs not normalized, causing 400 errors — librefang/librefang0 reactions
- Mar 14, 2026bug: Mastodon adapter re-delivers old notifications and posts error messages publicly — librefang/librefang0 reactions
- Mar 14, 2026feat: static Linux binaries (musl) to eliminate libssl/glibc dependencies — librefang/librefang0 reactions
- Mar 14, 2026bug: ClawHub skill install hits rate limit — should prefer /file endpoint and add caching — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026feat: add DashScope/Alibaba Coding Plan provider (multi-model single key) — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026bug: Slack adapter uses wrong fields for RBAC matching and DM delivery — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026bug: embedding model config (memory.embedding_model) is hardcoded and ignored — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026bug: default hourly cost quota is $1.00 instead of unlimited, silently blocks agents — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026bug: UTF-8 truncation panics on CJK/emoji text across multiple crates — librefang/librefang0 reactions · 1 comment
- Mar 14, 2026feat: support multi-bot routing per platform — librefang/librefang0 reactions · 6 comments
- Mar 13, 2026[Performance] Channel Hot-Path Optimizations, CLI Banner, Developer Makefile — librefang/librefang0 reactions · 2 comments
- Mar 13, 2026[Feature] Add Nix Support — librefang/librefang0 reactions · 1 comment
- Mar 13, 2026[Feature] Feishu: WebSocket Mode Support and Adapter Refactor — librefang/librefang0 reactions · 1 comment
- Mar 13, 2026[Feature] Add Multimedia Support for Telegram and Discord Adapters — librefang/librefang0 reactions · 1 comment
- Mar 13, 2026[Improvement] Improve OpenClaw Provider Alias Migration Compatibility — librefang/librefang0 reactions · 1 comment
On Bluesky · 7
- Mar 8, 2026¿Opiniones, @naikodemus.bsky.social? github.com/RightNow-AI/... — @srtagalicia.eurosky.social2 likes and reposts · 1 reply
- Mar 4, 2026OpenFang : un OS complet pour agents autonomes, écrit en Rust, qui compile en un binaire de 32 MB. Les agents tournent 24/7 sur des… — @camilleroux.com2 likes and reposts · 1 reply
- Feb 26, 2026Open-Source Agent Operating System L: https://github.com/RightNow-AI/openfang C: https://news.ycombinator.com/item?id=47160246 posted on… — @hnws.bsky.social2 likes and reposts
- Sep 15, 2026RightNow-AI / openfang: Open-source Agent Operating System ★18182 https://github.com/RightNow-AI/openfang — @rusttrending.bsky.social1 likes and repost
- Apr 16, 2026https://github.com/RightNow-AI/openfang — @tom-doerr.bsky.social1 likes and repost
2 more on Bluesky
- Mar 31, 202610. OpenFang (Rust) github.com/RightNow-AI/openfang OpenFang wakes up at 6am, researches your competitors, builds a knowledge graph, and… — @coreati.bsky.social1 likes and repost · 1 reply
- Mar 5, 2026Your Mac speaks, your agent lies, the world records itself, and someone vibe-coded your entire company this weekend – this will improve… — @humbleha.us0 likes and reposts · 1 reply
On Hacker News · 1
- Feb 26, 2026Open-Source Agent Operating System11 points · 3 comments
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
After every feature implementation, run ALL THREE checks:
- Very specific: line 74
After an LLM call, verify that any metering/cost/usage tracking updated:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenFang — Agent Instructions
Project Overview
OpenFang is an open-source Agent Operating System written in Rust (14 crates).
- Config:
~/.openfang/config.toml - Default API:
http://127.0.0.1:4200 - CLI binary:
target/release/openfang.exe(ortarget/debug/openfang.exe)
Build & Verify Workflow
After every feature implementation, run ALL THREE checks:
cargo build --workspace --lib # Must compile (use --lib if exe is locked)
cargo test --workspace # All tests must pass (currently 1744+)
cargo clippy --workspace --all-targets -- -D warnings # Zero warningsMANDATORY: Live Integration Testing
After implementing any new endpoint, feature, or wiring change, you MUST run live integration tests. Unit tests alone are not enough — they can pass while the feature is actually dead code. Live tests catch:
- Missing route registrations in server.rs
- Config fields not being deserialized from TOML
- Type mismatches between kernel and API layers
- Endpoints that compile but return wrong/empty data
How to Run Live Integration Tests
Step 1: Stop any running daemon
tasklist | grep -i openfang
taskkill //PID <pid> //F
# Wait 2-3 seconds for port to release
sleep 3Step 2: Build fresh release binary
cargo build --release -p openfang-cliStep 3: Start daemon with required API keys
GROQ_API_KEY=<key> target/release/openfang.exe start &
sleep 6 # Wait for full boot
curl -s http://127.0.0.1:4200/api/health # Verify it's upThe daemon command is start (not daemon).
Step 4: Test every new endpoint
# GET endpoints — verify they return real data, not empty/null
curl -s http://127.0.0.1:4200/api/<new-endpoint>
# POST/PUT endpoints — send real payloads
curl -s -X POST http://127.0.0.1:4200/api/<endpoint> \
-H "Content-Type: application/json" \
-d '{"field": "value"}'
# Verify write endpoints persist — read back after writing
curl -s -X PUT http://127.0.0.1:4200/api/<endpoint> -d '...'
curl -s http://127.0.0.1:4200/api/<endpoint> # Should reflect the updateStep 5: Test real LLM integration
# Get an agent ID
curl -s http://127.0.0.1:4200/api/agents | python3 -c "import sys,json; print(json.load(sys.stdin)[0]['id'])"
# Send a real message (triggers actual LLM call to Groq/OpenAI)
curl -s -X POST "http://127.0.0.1:4200/api/agents/<id>/message" \
-H "Content-Type: application/json" \
-d '{"message": "Say hello in 5 words."}'Step 6: Verify side effects
After an LLM call, verify that any metering/cost/usage tracking updated:
curl -s http://127.0.0.1:4200/api/budget # Cost should have increased
curl -s http://127.0.0.1:4200/api/budget/agents # Per-agent spend should showStep 7: Verify dashboard HTML
# Check that new UI components exist in the served HTML
curl -s http://127.0.0.1:4200/ | grep -c "newComponentName"
# Should return > 0Step 8: Cleanup
tasklist | grep -i openfang
taskkill //PID <pid> //FKey API Endpoints for Testing
| Endpoint | Method | Purpose |
/api/health | GET | Basic health check |
/api/agents | GET | List all agents |
/api/agents/{id}/message | POST | Send message (triggers LLM) |
/api/budget | GET/PUT | Global budget status/update |
/api/budget/agents | GET | Per-agent cost ranking |
/api/budget/agents/{id} | GET | Single agent budget detail |
/api/network/status | GET | OFP network status |
/api/peers | GET | Connected OFP peers |
/api/a2a/agents | GET | External A2A agents |
/api/a2a/discover | POST | Discover A2A agent at URL |
/api/a2a/send | POST | Send task to external A2A agent |
/api/a2a/tasks/{id}/status | GET | Check external A2A task status |
Architecture Notes
- Don't touch
openfang-cli— user is actively building the interactive CLI KernelHandletrait avoids circular deps between runtime and kernelAppStateinserver.rsbridges kernel to API routes- New routes must be registered in
server.rsrouter AND implemented inroutes.rs - Dashboard is Alpine.js SPA in
static/index_body.html— new tabs need both HTML and JS data/methods - Config fields need: struct field +
#[serde(default)]+ Default impl entry + Serialize/Deserialize derives
Common Gotchas
openfang.exemay be locked if daemon is running — use--libflag or kill daemon firstPeerRegistryisOption<PeerRegistry>on kernel butOption<Arc<PeerRegistry>>onAppState— wrap with.as_ref().map(|r| Arc::new(r.clone()))- Config fields added to
KernelConfigstruct MUST also be added to theDefaultimpl or build fails AgentLoopResultfield is.responsenot.response_text- CLI command to start daemon is
startnotdaemon - On Windows: use
taskkill //PID <pid> //F(double slashes in MSYS2/Git Bash)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

