Skip to main content
The bifrost.client block controls how Bifrost manages its internal worker pool, request logging, authentication enforcement, header policies, SDK compatibility shims, and MCP agent behaviour. All settings map directly to the client section of the rendered config.json.

Connection Pool

A larger pool reduces latency spikes under burst load at the cost of higher baseline memory. For production workloads with multiple providers, 1000 is a common starting point.

Request & Response Logging

Set disableContentLogging: true for HIPAA / PCI compliance workloads where message content must not be persisted.

Security & CORS


Header Filtering

Controls which x-bf-eh-* headers are forwarded to upstream LLM providers. When both lists are empty, all x-bf-eh-* headers pass through. Specifying an allowlist enables strict whitelist mode - only listed headers are forwarded.

Authentication


Encryption

Always use a Kubernetes Secret in production:

Async Jobs & Database Pings


Compat Shims

Compatibility flags that let Bifrost silently adapt request/response shapes for SDK integrations:

Prometheus Labels

Add custom labels to every Prometheus metric emitted by Bifrost:

MCP Agent Settings


Full Example

Agent Gateway destination permissions

The global allowlist permits private or loopback hosts, IP addresses, and CIDR ranges for card discovery, OAuth, and runtime HTTP or gRPC connections. Entries must not contain a scheme, port, or path. Link-local and cloud metadata destinations remain blocked. The per-agent list permits runtime origins outside the card’s own origin, which is automatically permitted. Use an HTTP(S) scheme, hostname, and optional port without a path, userinfo, query, or fragment. Up to 32 unique additional origins are accepted. This check applies even without configured runtime authentication. For a public card that advertises a private runtime at https://research.internal:9000, configure both:
Adding an origin does not grant private-network access, and adding a host to the network allowlist does not approve a different runtime origin. If the card or OAuth server is also private, include its destination in a2aPrivateAllowlist too. See Agent Gateway authentication for credentials and TLS examples. Agent entries use the config.json field names unchanged, including credential_origins; the client value uses the chart’s camelCase name. Registrations are reconciled at startup. See source-of-truth behavior before managing the same agent through Helm and the dashboard.