Skip to content

FAQ

Do I need Cilium?

No. Without it, Leash uses standard NetworkPolicy, which can’t match domain names: fqdns rules fail closed and the policy reports Degraded. Endpoint and CIDR rules work either way.

Do I need Vault?

No. AgentIdentity is optional. Without it, the egress rules, the gateway and the kill switch all still work.

Do agents need code changes?

Only their base URL. Point the provider SDK at http://leash-gateway.leash-system.svc:8080/<provider> and drop the API key: the gateway adds it. See Your first agent.

Which providers work?

Any HTTP API that names the model in a JSON model field, which covers Anthropic, OpenAI and OpenAI-compatible APIs. Add them to the gateway’s providers.

Does the gateway see my prompts?

It reads the request to find the model and the response to count tokens. It doesn’t store or log prompts or responses: audit lines hold the model, tool, decision and token counts. The one exception is a tool call held for approval, whose arguments are kept in its ToolApproval so the person deciding can see them.

Is the gateway a single point of failure?

It runs two replicas by default, with a PodDisruptionBudget and a spread across nodes. If every replica is down, agents can’t reach a model, which fails closed.

Why a central gateway and not a sidecar?

A sidecar runs inside the agent’s pod, where a compromised agent can reach it. The full reasoning is in The gateway.

How exact are budgets?

Close, not exact. A call in flight when the budget runs out still finishes, and replicas share counts every 15 seconds. See Models and token budgets.

Is it ready for production?

The API is v1alpha1 and may still change between minor releases. Pin a version, and read the release notes before upgrading.

How do I contribute?

The Development section of the README covers building and testing. Report bugs and suggest roadmap ideas as issues, or open a pull request.