What is Forgebench?

Forgebench sits between your agents and the models and tools they call. Every routed model request is authenticated, checked against budget, sent with the provider credential, metered, and written to the audit log.

See everything

Governed calls record model, tokens, cost, and latency. Observability adds request and response content, subject to redaction and capture limits.

Stop it before it spends

Budgets are checked before the call goes out. A call over the cap is refused with a 402 and costs nothing.

Prove it later

The audit log is hash-chained, so any edit or deletion is detectable.

Gate the tools

An agent can only call tools you allow. Anything else is blocked, whatever the model asked for.

Hold the credentials

Provider keys are stored encrypted and added at call time. Agents never hold them, so you revoke a key once.

Inspect the content

Configure input and output checks to log, redact, or deny unsafe content. Trace findings can also pause an agent at a threshold you set.

What you work with

ConceptWhat it is
WorkspaceAn isolated environment. Agents, keys, budgets and audit records belong to exactly one workspace.
AgentThe unit you author: a name, the models it may use, the tools it may call, and the policy it runs under.
API keyHow your code authenticates. Each key carries its own scopes, model allowlist and daily/monthly spend caps.
BudgetA spend cap checked before each model request. Workspace, key, agent, model, and applicable pool or routing limits combine.
GuardrailA content check on requests, responses, or completed traces. Its configured action can log, redact, deny, or produce findings for review.

Full definitions in Core concepts.

Start here

New workspace owners start on Get started in the console. Choose Gateway, Agent gateway, or Developer gateway for commands and progress checks matched to your workflow. Invited members start with their team's tools when an admin has saved them. See Sign up.

Cookie settings

Our Cookie Policy lists every cookie and what it does.