# OpenFang — Open-Source Agent Operating System > OpenFang is an open-source Agent Operating System in Rust that runs autonomous agents as one binary with built-in sandboxing and gateways. ## Install Copy the content below into your project: ## Quick Use 1. Install / run: ```bash curl -fsSL https://openfang.sh/install | sh ``` 2. Start / smoke test: ```bash openfang init ``` 3. Verify: - Complete the Getting Started flow from the docs and run one tiny autonomous workflow end-to-end before opening network or write permissions. ## Intro OpenFang is an open-source Agent Operating System in Rust that runs autonomous agents as one binary with built-in sandboxing and gateways. - **Best for:** Developers who want a single-binary, deployable Agent OS approach (not just a chat framework) for long-running autonomous work - **Works with:** Rust-based runtime; installs via the project install script and uses official docs for getting started - **Setup time:** 20 minutes ## How to Use It Well - Setup time ~20 minutes (install + `openfang init` + smallest quickstart) - The README calls out quantitative engineering signals (LOC/tests/version) you can use as a maturity check - GitHub stars + forks (verified): see Source & Thanks Agent OS thinking shifts focus from “prompting” to “operations”: installation, sandboxing, gateways, and reproducible long-running jobs. Adopt it when you’re ready to treat agents like services with guardrails. ### FAQ **Q: Is it “just another agent framework”?** A: The README positions it as an Agent Operating System with a single-binary runtime and system-level concerns. **Q: How do I keep autonomy safe?** A: Start in a sandboxed, least-privilege mode and add capabilities gradually with explicit approvals. **Q: What’s the first integration step?** A: Follow the official Getting Started docs and validate one minimal workflow before customizing gateways/tools. ## Source & Thanks > Source: https://github.com/RightNow-AI/openfang > License: Apache-2.0 > GitHub stars: 17,421 · forks: 2,224 --- ## 快速使用 1. 安装 / 运行: ```bash curl -fsSL https://openfang.sh/install | sh ``` 2. 启动 / 冒烟测试: ```bash openfang init ``` 3. 验证: - Complete the Getting Started flow from the docs and run one tiny autonomous workflow end-to-end before opening network or write permissions. ## 简介 OpenFang 是用 Rust 构建的开源 Agent OS:单二进制安装运行,主打可部署与可审计的自治代理。它提供内置 gateway 与 sandbox 思路,适合把“长期自主执行”做成稳定服务并逐步加权限边界。 - **适合谁:** 希望用“可部署、单二进制”的 Agent OS 思路做长期自治任务的开发者(而不是只做聊天框架) - **可搭配:** Rust 运行时;可通过项目安装脚本安装,并按官方文档入门 - **准备时间:** 20 分钟 ## 实战建议 - 上手约 20 分钟(安装 + `openfang init` + 跑通最小 quickstart) - README 给出了 LOC/测试数/版本等量化信号,可作为成熟度参考 - GitHub stars + forks(已核验):见「来源与感谢」 Agent OS 思路把重心从“提示词”转向“运维与边界”:安装、sandbox、gateway、可复现的长期任务。当你准备把 agent 当服务来治理时,它会更合适。 ### FAQ **它只是另一个框架吗?** A: README 的定位更接近 Agent Operating System:强调单二进制运行时与系统级能力边界。 **自治怎么做安全?** A: 先用 sandbox + 最小权限模式起步,再用明确审批逐步放开能力。 **第一步怎么接入?** A: 按官方 Getting Started 文档跑通一个最小工作流,再开始定制 gateway/工具。 ## 来源与感谢 > Source: https://github.com/RightNow-AI/openfang > License: Apache-2.0 > GitHub stars: 17,421 · forks: 2,224 --- Source: https://tokrepo.com/en/workflows/openfang-open-source-agent-operating-system Author: AI Open Source