Try Bifrost Enterprise free for 14 days.
Request access
[ BIFROST CLI ]

Govern Coding Agents Through
Bifrost Gateway

Every request flows through Bifrost. Route to 1000+ models while budgets, rate limits, and access controls enforced on every request automatically.

[ WHAT IS IT ]

One Command to Run Any Coding Agent

No environment variables, no config files. The CLI auto-configures keys, base URLs, and model settings so every request routes through Bifrost from the first session.

Developer runs CLI
npx @maximhq/bifrost-cli
SELECT
Choose agent & model
Guided interactive setup
LAUNCH
Agent via Bifrost
Full enterprise controls

[ KEY FEATURES ]

Built for How Developers Actually Work

Set up once, switch agents and models freely. The CLI remembers your configuration across sessions.

Zero-config setup

Bifrost CLI handles all technical setup automatically, including base URLs, API keys, and model settings. No manual configuration files or environment variables to manage.

Automatic

Tabbed session management

Work with multiple coding agents simultaneously in a persistent tabbed interface. Switch between sessions, open new tabs, or close existing ones using simple keyboard shortcuts.

Multi-session

Native MCP integration

When launching Claude Code, Bifrost CLI automatically registers Bifrost's MCP server, making configured tools immediately available without manual setup.

MCP ready

Secure credential storage

Virtual keys are stored securely in your OS keyring (macOS Keychain, Windows Credential Manager, or Linux Secret Service) rather than plaintext files.

OS keyring

[ SUPPORTED AGENTS ]

Bring Your Favorite Coding Agent to Bifrost

Claude Code logo

Claude Code

Codex CLI logo

Codex CLI

Gemini CLI logo

Gemini CLI

Opencode logo

Opencode

+ more coding agents

[ GETTING STARTED ]

Three Steps to Launch Your First Agent

From zero to coding with enterprise controls in under 60 seconds.

STEP 01

Install Bifrost CLI

Launch Bifrost CLI with a single npx command. No global installation required. Works with Node.js 18+ and connects to your running Bifrost gateway.

npx -y @maximhq/bifrost-cli
STEP 02

Configure gateway

Enter your Bifrost gateway URL (default: localhost:8080), optionally provide a virtual key, and the CLI will fetch available models and configure everything automatically.

# CLI prompts you for:
# 1. Gateway URL
# 2. Virtual key (optional)
# 3. Select agent (Claude Code, etc)
# 4. Choose model
# 5. Review and launch
STEP 03

Launch and code

Select your preferred coding agent and model through the guided setup. Bifrost CLI installs missing agents via npm automatically and launches your session with full MCP integration.

# Session starts with:
# - Tabbed terminal interface
# - Activity badges (active/idle status)
# - MCP tools auto-registered
# - Keyboard shortcuts enabled

[ CLI CAPABILITIES ]

Built for Developer Productivity

Stay in one terminal, manage multiple agents, and never lose your setup between sessions.

Smart agent switching

Switch between Claude Code, Codex CLI, Gemini CLI, and Opencode before launching. The CLI remembers your previous selections across sessions.

Virtual key management

Securely store and manage virtual keys for different teams or projects. Keys are encrypted in your OS keyring and never touch plaintext files.

Session activity badges

Visual indicators show session status at a glance with clear markers for active processing, idle sessions, and alerts that need attention.

Persistent configuration

Settings stored in ~/.bifrost/config.json include gateway URL, default agent, and model preferences. Use -config flag for custom config paths.

Git worktree support

Create isolated git worktrees for Claude Code using the -worktree flag, keeping experimental changes separate from your main branch.

Auto-install missing agents

Don't have Claude Code or Codex CLI installed? Bifrost CLI automatically installs missing agents via npm when you select them.

[ ENTERPRISE BENEFITS ]

Developer Productivity Meets Enterprise Control

When coding agents route through Bifrost gateway, platform teams get full observability, security guardrails, and cost controls without disrupting developer workflows.

Enterprise-grade security

All coding agent traffic routes through Bifrost gateway, applying guardrails, PII redaction, and content policies transparently.

Multi-provider routing

Access 1000+ models through a single interface. Switch between Anthropic, OpenAI, Google, and more without reconfiguring your agent.

Centralized observability

Every request from your coding agents is logged with full metadata including user, team, model, and latency. Export to any observability stack.

[ CLAUDE CODE INTEGRATION ]

Launch Claude Code with Full MCP Integration

Automatic MCP registration

Bifrost CLI automatically registers the MCP server when launching Claude Code. All tools configured in your Bifrost gateway become immediately available.

Enterprise guardrails applied

All Claude Code traffic routes through Bifrost gateway, applying security guardrails, cost controls, and observability transparently.

Ready to Launch Coding Agents with Enterprise Controls?

Install Bifrost CLI with one command and start coding with automatic configuration, MCP integration, and secure credential storage.

[ BIFROST FEATURES ]

Open Source & Enterprise

Everything you need to run AI in production, from free open source to enterprise-grade features.

01 Governance

SAML support for SSO and Role-based access control and policy enforcement for team collaboration.

02 Adaptive Load Balancing

Automatically optimizes traffic distribution across provider keys and models based on real-time performance metrics.

03 Cluster Mode

High availability deployment with automatic failover and load balancing. Peer-to-peer clustering where every instance is equal.

04 Alerts

Real-time notifications for budget limits, failures, and performance issues on Email, Slack, PagerDuty, Teams, Webhook and more.

05 Log Exports

Export and analyze request logs, traces, and telemetry data from Bifrost with enterprise-grade data export capabilities for compliance, monitoring, and analytics.

06 Audit Logs

Comprehensive logging and audit trails for compliance and debugging.

07 Vault Support

Secure API key management with HashiCorp Vault, AWS Secrets Manager, Google Secret Manager, and Azure Key Vault integration.

08 VPC Deployment

Deploy Bifrost within your private cloud infrastructure with VPC isolation, custom networking, and enhanced security controls.

09 Guardrails

Automatically detect and block unsafe model outputs with real-time policy enforcement and content moderation across all agents.

[ SHIP RELIABLE AI ]

Try Bifrost Enterprise with a 14-day Free Trial

[quick setup]

Drop-in replacement for any AI SDK

Change just one line of code. Works with OpenAI, Anthropic, Vercel AI SDK, LangChain, and more.

1import os
2from anthropic import Anthropic
3
4anthropic = Anthropic(
5 api_key=os.environ.get("ANTHROPIC_API_KEY"),
6 base_url="https://<bifrost_url>/anthropic",
7)
8
9message = anthropic.messages.create(
10 model="claude-3-5-sonnet-20241022",
11 max_tokens=1024,
12 messages=[
13 {"role": "user", "content": "Hello, Claude"}
14 ]
15)
Drop in once, run everywhere.

[ FREQUENTLY ASKED QUESTIONS ]

Common Questions

What coding agents does Bifrost CLI support?

Bifrost CLI supports popular coding agents like Claude Code, Codex CLI, Gemini CLI, and Opencode. All agents work seamlessly with the Bifrost gateway for multi-provider routing and enterprise controls.

How does MCP integration work with Claude Code?

When launching Claude Code through Bifrost CLI, the CLI automatically registers Bifrost's MCP server, making all configured tools immediately available. This includes filesystem tools, database connectors, and custom integrations without any manual configuration on your part.

Where are credentials and configuration stored?

Virtual keys are stored securely in your operating system keyring (macOS Keychain, Windows Credential Manager, or Linux Secret Service). Configuration settings like gateway URL and default preferences are stored in ~/.bifrost/config.json. You can specify custom config paths with the -config flag.

Can I use Bifrost CLI with multiple projects or teams?

Yes. Bifrost CLI supports virtual keys, allowing you to create separate credentials for different teams or projects. You can also use the -config flag to maintain different configuration files, and the -worktree flag to create isolated git environments for each project. Read more about virtual keys.