← Back to Discover

NullRun

NullRun is runtime authorization for AI agents that returns allow, require_approval or block for each action before it runs.

AI security & guardrails

What it does

NullRun authorizes an agent action first. It binds that approval to the payload the agent is about to send, not to the prompt that asked for it. Developers decorate a function, and operators govern it. A request to POST /api/v1/gate names the tool, such as stripe.refund, and its business_impact. The response returns a decision of allow, require_approval or block. It also returns an execution_id, an action_digest, a policy_version, projected_cost_cents and remaining_budget_cents. The server mints the execution_id, not the SDK. The action_digest binds the grant to the exact payload. NullRun says this means the grant cannot be spent on a different amount. Operators author policy in the dashboard, and developers cannot accidentally change the rule. When an action requires approval, an operator decides and that decision is recorded. Every block and approval is appended to a SHA-256 chain. Compatibility examples shown include OpenAI, Anthropic, Google Gemini, Mistral, Cohere, LangChain, CrewAI, LangGraph and AutoGen.

Capabilities

  • Budget limits address a research agent that pulls forty web pages in a loop inside one step.
  • Cost controls address a workflow that opens three hundred parallel calls in a burst.
  • Loop detection trips a circuit breaker on repeated calls to one tool, and the next call on that workflow is refused.
  • Tool restrictions address cases where an agent reaches for a tool nobody meant to expose, such as a shell or a production database client.
  • Credential-shaped strings are redacted at the gate before the row is written.

When to use it

  • An agent is about to drop a production table and nobody is watching that run.
  • An agent keeps retrying the same failing tool call and every attempt is billed.
  • A decision is questioned three months later and you need to know why the action ran.