Files
openfang/Cargo.toml
jaberjaber23 5692c96494 Initial commit — OpenFang Agent Operating System
Open-source Agent OS built in Rust.

- 14 crates, 1,767+ tests, zero clippy warnings
- 7 autonomous Hands (Clip, Lead, Collector, Predictor, Researcher, Twitter, Browser)
- 16 security systems (WASM sandbox, Merkle audit trail, taint tracking, Ed25519 signing, SSRF protection, secret zeroization, HMAC-SHA256 mutual auth, and more)
- 30 pre-built agents across 4 performance tiers
- 40 channel adapters (Telegram, Discord, Slack, WhatsApp, Teams, and 35 more)
- 38 built-in tools + MCP client/server + A2A protocol
- 26 LLM providers with intelligent routing and cost tracking
- 60+ bundled skills with FangHub marketplace
- Tauri 2.0 native desktop app
- 140+ REST/WS/SSE API endpoints with Alpine.js dashboard
- OpenAI-compatible /v1/chat/completions endpoint
- One-command install, production-ready
2026-02-26 01:00:27 +03:00

134 lines
2.5 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/openfang-types",
"crates/openfang-memory",
"crates/openfang-runtime",
"crates/openfang-wire",
"crates/openfang-api",
"crates/openfang-kernel",
"crates/openfang-cli",
"crates/openfang-channels",
"crates/openfang-migrate",
"crates/openfang-skills",
"crates/openfang-desktop",
"crates/openfang-hands",
"crates/openfang-extensions",
"xtask",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RightNow-AI/openfang"
rust-version = "1.75"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
rmp-serde = "1"
# Error handling
thiserror = "2"
anyhow = "1"
# Concurrency
dashmap = "6"
crossbeam = "0.8"
# Logging / Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# IDs
uuid = { version = "1", features = ["v4", "serde"] }
# Database
rusqlite = { version = "0.31", features = ["bundled", "serde_json"] }
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
# HTTP client (for LLM drivers)
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart", "rustls-tls"] }
# Async trait
async-trait = "0.1"
# Base64
base64 = "0.22"
# Bytes
bytes = "1"
# Futures
futures = "0.3"
# WebSocket client (for Discord/Slack gateway)
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
url = "2"
# WASM sandbox
wasmtime = "41"
# HTTP server (for API daemon)
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip", "compression-br"] }
# Home directory resolution
dirs = "6"
# YAML parsing
serde_yaml = "0.9"
# JSON5 parsing
json5 = "0.4"
# Directory walking
walkdir = "2"
# Security
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
subtle = "2"
ed25519-dalek = { version = "2", features = ["rand_core"] }
rand = "0.8"
zeroize = { version = "1", features = ["derive"] }
# Rate limiting
governor = "0.8"
# Interactive CLI
ratatui = "0.29"
colored = "3"
# Encryption
aes-gcm = "0.10"
argon2 = "0.5"
# Lightweight regex
regex-lite = "0.1"
# Testing
tokio-test = "0.4"
tempfile = "3"
[profile.release]
lto = true
codegen-units = 1
strip = true
opt-level = 3