# Install librefang with Homebrew

Self-hostable operating system for autonomous AI agents. Version 2026.7.21 via Homebrew; verified 2026-07-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install librefang
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:librefang
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/librefang>
- **Version:** 2026.7.21
- **Source summary:** Self-hostable operating system for autonomous AI agents
- **Homepage:** <https://librefang.ai>
- **Repository:** <https://github.com/librefang/librefang>
- **Upstream docs:** <https://docs.librefang.ai/>
- **License:** MIT
- **Source archive:** <https://github.com/librefang/librefang/archive/refs/tags/v2026.7.21.tar.gz>
- **Last updated:** 2026-07-21T12:35:13Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- librefang (cli)
- librefang (alias)

## Dependencies

- openssl@3

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 2026.7.21
- Package-manager updated: 2026-07-21
- Local data: ok
- Upstream repository: https://github.com/librefang/librefang
- Upstream latest detected: v2026.7.21 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### 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>


## Security Notes

No matching local secret-handling manifest was found for librefang. Nucleus package metadata is still published here so future coverage has a stable package 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 Details

- **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


## Related links

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


## Sources

- 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
