SDK 0.6 Runtime approvals + key isolation doctor →

The runtime authority for AI agents.

Every MCP and tool call your agents make is authorized before it runs, executed with credentials the agent never sees, and signed into a ledger you can verify.

✓ 5ms overhead✓ Ed25519-signed ledger✓ Claude Code, Cursor, any MCP client
The $10K surprise

Your agent works perfectly in testing. Then in production:

! Runaway cost

A runaway agent loop burns $2K before you notice

✓Budget is reserved before execution, not reconciled after
! Irreversible writes

Agent deletes production data misunderstanding a prompt

✓High-impact writes are blocked unless a policy vouches for them
! Leaked credentials

An agent calls a production API with a credential it should never have held

✓AgentVault (Beta) injects the credential only after an ALLOW
! No brakes

No way to stop a rogue agent mid-run

✓Server-enforced kill switch for an agent, run or mission
! Unapproved spend

External API calls rack up charges you never approved

✓Approval workflows with notifications and escalation
! No evidence

No way to prove what happened, or why, for compliance

✓Signed, tamper-evident ledger with PDF compliance export

Unlimited access is the problem. Observability defines what happened. Authority decides what is allowed.

Agents are employees with unrestricted credit cards. Agent Sentinel sits in-process with the SDK, or in front of every MCP and tool call through the hosted gateway — hard limits on cost, policy, credentials and human oversight.

MCP authority

Authority over every tool call.

A hosted MCP server (Streamable HTTP). Every tools/call goes through the gateway's authorize decision before the tool executes, and the result is recorded as a signed ledger row. Operators register the tools agents may call in a governed tool registry (https targets only).

  1. 01 · Agent

    Agent

    Requests a tool call

  2. 02 · Endpoint

    MCP server

    initialize, tools/list, tools/call

  3. 03 · Decision

    Authorize

    allowdenyapprove
  4. 04 · Credentials

    AgentVaultBeta

    Credential injected after an ALLOW

  5. 05 · Run

    Execution

    The tool runs only now

  6. 06 · Evidence

    Signed ledger row

    Every decision recorded

Connect Claude Code or Cursor

agentsentinel-mcp is a stdio proxy in the Python SDK, so Claude Code, Cursor and any other MCP client can connect.

Put the config in .mcp.json for Claude Code, or .cursor/mcp.json for Cursor, and replace the placeholder with an agent-bound key.

🔒The file then holds the key — keep it out of version control. Prefer the key out of the model's reach entirely? agentsentinel-runtime reads it from a file outside the workspace, and doctor proves the model can't see it.
.mcp.json
# pip install "agentsentinel-sdk[mcp]"
{
  "mcpServers": {
    "agentsentinel": {
      "command": "agentsentinel-mcp",
      "env": {
        "AGENT_SENTINEL_API_KEY": "<agent-bound API key>"
      }
    }
  }
}
Python SDK

5ms overhead. Total control.

Install the SDK. Decorate your functions. Sentinel intercepts execution, checks policy and reserves budget in microseconds. No approval? No execution.

1

Decorate guarded actions

Mark a function with @guarded_action and declare its impact, budget and approval needs.

2

Fail closed on writes

If no policy can vouch for a medium- or high-impact action, it's blocked. Reads keep working.

3

Blocks come with remediation

Every block tells the agent what to do next — retry guidance, safe alternatives — so it can self-correct.

4

Signed, redacted ledger

Secrets are scrubbed before a row is written. On the platform, ledger rows are Ed25519-signed and chain-verifiable.

refund_agent.py
from agent_sentinel import guarded_action

@guarded_action(
    name="issue_refund",
    impact="high",
    cost_usd=5.00,
    requires_human_approval=True,
)
def issue_refund(order_id, amount):
    # This line ONLY runs if approved.
    # Otherwise, execution pauses or errors.
    return billing.refund(order_id, amount)
LangChain LangGraph CrewAI AutoGen Raw Python Claude Code Cursor Any MCP client
The safety stack

Six layers between intent and action.

MCP authority

Every MCP and tool call is authorized before it runs.

  • ✓ Hosted MCP server (Streamable HTTP)
  • ✓ Allow / deny / require approval
  • ✓ Governed tool registry (https only)
  • ✓ Proxy for Claude Code, Cursor, any MCP client

AgentVaultBeta

Agents never hold the secret.

  • ✓ Credential injected only after an ALLOW
  • ✓ Single-use lease bound to that decision
  • ✓ Only owners and admins manage credentials
  • ✓ Every use in the signed audit trail

Signed ledger

Signed and tamper-evident, with chain verification.

  • ✓ Ed25519-signed rows and chain head
  • ✓ Verify any time from console or API
  • ✓ EU AI Act Article 14 oversight evidence
  • ✓ Compliance export (PDF)

Identity & kill switch

Know which agent acted, and stop it on the server.

  • ✓ Per-agent API keys with scopes and expiry
  • ✓ Kill switch: agent, run, mission
  • ✓ Gateway decisions timeline
  • ✓ “What would happen” simulator

Cost & budgets

Budget is reserved before execution.

  • ✓ Monthly org ceilings
  • ✓ Group and mission budgets with alerts
  • ✓ Per-action, run and session caps

Policy & approvals

Decide what is allowed, and who signs off.

  • ✓ Policy templates
  • ✓ YAML, JSON or plain-English authoring
  • ✓ Versioning with diff and rollback
  • ✓ Approvals with email and escalation rules
Also in the consoleReplay viewer and policy what-ifEvals, scenario generation and benchmarksSDK guardrails: PII, moderation, loop detection, idempotency
Trust signal

Trusted by teams building production agents.

Budget violations prevented
1,247
across all connected orgs
Dangerous actions blocked
63
deny-list and approval rejections
Agents protected
412
registered with the platform
pip installslive
…
Pricing

Start free. Upgrade for the hosted gateway.

Free

SDK only
$0/ month
  • ✓ 10K requests / month
  • ✓ SDK enforcement + guardrails
  • ✓ All enforcement features
  • ✓ Community support
Start free

Enterprise

Regulated stacks
Custom
  • ✓ Unlimited requests
  • ✓ SSO + RBAC
  • ✓ SLA + dedicated support
  • ✓ EU AI Act compliance
  • ✓ AgentVault credential injection Beta
Contact us
Jimmy Storrier
Founder note

Built by someone who's been burned.

After selling Aquient in 2023, I watched teams struggle with runaway agent costs and production incidents. AgentSentinel is the circuit breaker I wish I had: deploy in minutes, enforce policies without code changes, and sleep well knowing your agents won't go rogue.
— Jimmy Storrier · 20 years building infrastructure

Stop watching. Start governing.

Add the authorization layer to your agent stack today.

$ pip install agentsentinel-sdk