# 使用 Homebrew 安装 librefang

查看 librefang 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:librefang
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install librefang
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:librefang
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/librefang>
- **版本:** 2026.7.21
- **来源摘要:** Self-hostable operating system for autonomous AI agents
- **主页:** <https://librefang.ai>
- **仓库:** <https://github.com/librefang/librefang>
- **上游文档:** <https://docs.librefang.ai/>
- **许可证:** MIT
- **源码归档:** <https://github.com/librefang/librefang/archive/refs/tags/v2026.7.21.tar.gz>
- **最后更新:** 2026-07-21T12:35:13Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- librefang (cli)
- librefang (别名)

## 依赖

- openssl@3

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 2026.7.21
- 管理器更新时间: 2026-07-21
- 本地数据: OK
- 上游仓库: https://github.com/librefang/librefang
- 检测到的最新版本: v2026.7.21 (当前)
## 项目历史与用法

LibreFang is an open-source Agent Operating System written in Rust for running autonomous AI agents with lifecycle management, scheduling, channels, workflows, memory, skills, MCP integration, and a local dashboard/API.

### 项目历史

The project presents itself as a community fork of RightNow-AI/openfang with open governance and a merge-first pull-request policy. GitHub repository metadata shows the librefang/librefang repository was created on 2026-03-12, and the README describes the implementation as a Rust-built agent operating system rather than a Python wrapper or chatbot framework.

### 采用历史

LibreFang is distributed through several package-manager-friendly channels: Homebrew tap and cask, Cargo install from the repository, Docker images, npm, pip, Arch packaging, and signed release assets. Official GitHub metadata observed during enrichment showed 321 stars and 64 forks, indicating early but visible adoption.

### 使用方式

The normal CLI flow is to install the binary, run `librefang init` or start the daemon, configure at least one LLM provider key, then use commands such as `librefang chat`, `librefang agent`, `librefang workflow`, `librefang cron`, and `librefang start` for local or daemon-backed agent operation.

### 为什么软件包爱好者会关心

Package maintainers care about LibreFang because it ships as a single Rust-based CLI/daemon with multiple official distribution paths, desktop and container options, release assets for several platforms, and documented config migration from related agent systems.

### 时间线

- 2026-03-12: GitHub repository created.
- 2026-03-25: Early release-candidate tags appear in the official GitHub releases stream.
- 2026-06-29: v2026.6.29 release published with Homebrew, npm, pip, Cargo, Docker, Arch, RPM, Android, Windows, Linux, and macOS install paths documented in the release notes.

### Related projects

- OpenFang is the direct upstream family named by the README and migration docs; OpenClaw, LangChain, and AutoGPT are documented migration sources.

### 来源

- <https://api.github.com/repos/librefang/librefang>
- <https://docs.librefang.ai/>
- <https://docs.librefang.ai/getting-started>
- <https://docs.librefang.ai/getting-started/examples>
- <https://docs.librefang.ai/integrations/migration>
- <https://github.com/librefang/librefang>
- <https://github.com/librefang/librefang/releases>


## 安全说明

没有找到 librefang 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.librefang/config.toml

## Credential files

- Unix: ~/.librefang/secrets.env
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** librefang
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [agent-browser](https://www.automicvault.com/zh-hans/pkg/brew/agent-browser/) - Shares av.db curated category or tags: agents, ai, ai-agents, cli, rust.
- [docker-agent](https://www.automicvault.com/zh-hans/pkg/brew/docker-agent/) - Shares av.db curated category or tags: agents, ai, ai-agents, automation, cli.
- [gbox](https://www.automicvault.com/zh-hans/pkg/brew/gbox/) - Shares av.db curated category or tags: agents, ai, ai-agents, cli, mcp.
- [openclaw-cli](https://www.automicvault.com/zh-hans/pkg/brew/openclaw-cli/) - Shares av.db curated category or tags: agents, ai, automation, cli, self-hosted.
- [zeroclaw](https://www.automicvault.com/zh-hans/pkg/brew/zeroclaw/) - Shares av.db curated category or tags: agent-runtime, agents, ai, cli, rust.
- [e2b](https://www.automicvault.com/zh-hans/pkg/brew/e2b/) - Shares av.db curated category or tags: agents, ai, ai-agents, cli.
- [hermes-agent](https://www.automicvault.com/zh-hans/pkg/brew/hermes-agent/) - Shares av.db curated category or tags: agents, ai, automation, cli.
- [ironclaw](https://www.automicvault.com/zh-hans/pkg/brew/ironclaw/) - Shares av.db curated category or tags: agents, ai, automation, cli.
- [codanna](https://www.automicvault.com/zh-hans/pkg/brew/codanna/) - Local package facts share a topical domain. Shared terms: agents, ai, ai-agents, cli, mcp.

## Combined YAML source

View the package source record on GitHub. [combined/librefang.yml](https://github.com/automic-vault/db/blob/main/combined/librefang.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
