Bifra

CLI reference

Every bifra command.

bifra <url>

Build an API for a source.

bifra <url> [--goal "..."] [--managed] [--yes]
FlagEffect
--goal "..."What the API should let an agent do.
--managedRun the agent on Anthropic's Managed Agents sandbox instead of locally.
--yesSkip the interactive spec approval (CI / scripting).

Streams the phase progress live, prompts you to approve the proposed spec, then prints the live URL, curl examples, and the MCP endpoint. The result is saved to your local registry.

bifra list

List the APIs you've built (from ~/.bifra/apis.json).

bifra rm <slug>

Tear one down — deletes the deployed worker and the registry entry.

bifra doctor

Validate each configured key by exercising the capability Bifra needs (Anthropic, Steel, Cloudflare). Connection failures are reported as unreachable, distinct from an invalid key.

bifra setup

Prompt for and store your API keys in ~/.bifra/config.json (chmod 600). The CLI also reads BIFRA_* environment variables, which take precedence.

On this page