# 使用 Homebrew 安装 librefang

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install librefang
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:librefang
- **软件包管理器:** Homebrew
- **版本:** 2026.7.31
- **来源摘要:** Self-hostable operating system for autonomous AI agents
- **主页:** <https://librefang.ai>
- **仓库:** <https://github.com/librefang/librefang>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- librefang (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2026.7.31
## 项目历史与用法

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

## Combined YAML source

View the package source record on GitHub. [combined/librefang.yml](https://github.com/mxcl/pkgdb/blob/main/combined/librefang.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
