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.
Governed calls record model, tokens, cost, and latency. Observability adds request and response content, subject to redaction and capture limits.
Budgets are checked before the call goes out. A call over the cap is refused with a 402 and costs nothing.
The audit log is hash-chained, so any edit or deletion is detectable.
An agent can only call tools you allow. Anything else is blocked, whatever the model asked for.
Provider keys are stored encrypted and added at call time. Agents never hold them, so you revoke a key once.
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
| Concept | What it is |
|---|---|
| Workspace | An isolated environment. Agents, keys, budgets and audit records belong to exactly one workspace. |
| Agent | The unit you author: a name, the models it may use, the tools it may call, and the policy it runs under. |
| API key | How your code authenticates. Each key carries its own scopes, model allowlist and daily/monthly spend caps. |
| Budget | A spend cap checked before each model request. Workspace, key, agent, model, and applicable pool or routing limits combine. |
| Guardrail | A 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.

