Run the EveryAPI gateway inside LibreFang
LibreFang and EveryAPI maintain a native integration: sign in once with the EveryAPI CLI, and LibreFang can automatically discover managed credentials, refresh the live model catalog and pricing, and route agents through the gateway. EveryAPI MCP tools can also expose account, seller, marketplace, and edge operations to approved agents.
One base URL line points LibreFang at EveryAPI
Default global Base URL / China-first Base URL: https://api.everyapi.ai/v1 / https://api-cn.everyapi.ai/v1
# Official LibreFang × EveryAPI integrationeveryapi auth loginlibrefang start # Optional explicit connection and default selectionlibrefang models connect everyapi --set-default # Optional gateway account tools through MCPeveryapi mcp install librefangFrom zero to your first call
- Install LibreFang
Install LibreFang from its public releases, Homebrew, or the official install script. LibreFang remains an open-source, provider-neutral Agent OS.
github.com/librefang/librefang
- Sign in to EveryAPI
Run `everyapi auth login`. The CLI stores credentials locally with mode 0600 and exposes a non-interactive credential process that LibreFang can resolve without copying the key into its TOML config.
- Start LibreFang
Start LibreFang normally. It detects the EveryAPI credential process, creates the managed provider, and refreshes models and pricing. Use `librefang models connect everyapi --set-default` when you want an explicit connection or default selection.
