๐Ÿ”ฅ Built for the GPT-5.4 subagent era

Stop your AI agents from
burning your budget.

Per-workflow budget caps, automatic model downgrade, and hard kill switches. Never get a surprise API bill again.

from agentguard import guard

# 2 lines. That's it.
client = guard(
    openai.OpenAI(),
    budget="$0.50/run",
    fallback="gpt-5.4-nano",
    on_limit="graceful_stop"
)

Works with OpenAI, Anthropic, Google, and any OpenAI-compatible API.

One agent run. $4.72 in API calls.

๐Ÿค– GPT-5.4 reasoning (planning) $0.12
๐Ÿ”ง Tool call โ†’ search codebase (3 files) $0.08
๐Ÿค– GPT-5.4 analysis (large context) $0.85
๐Ÿ”„ Retry (hallucination detected) $0.92
๐Ÿค– Subagent: review docs (GPT-5.4 again!) $1.20
๐Ÿค– Subagent: format output (GPT-5.4 again!) $0.95
๐Ÿ“Š Final synthesis $0.60
Total (without AgentGuard) $4.72
โ–ผ WITH AGENTGUARD (budget: $1.00) โ–ผ
๐Ÿค– GPT-5.4 reasoning (planning) $0.12
๐Ÿ”ง Tool call โ†’ search codebase $0.08
๐Ÿ›ก๏ธ 80% budget โ†’ auto-downgrade to nano DOWNGRADE
๐Ÿค– GPT-5.4 nano (analysis) $0.04
๐Ÿค– GPT-5.4 nano (subagent tasks) $0.06
Total (with AgentGuard) $0.30 โœ“

Built for the multi-model era.

๐Ÿ’ฐ

Per-Workflow Budgets

Set max spend per agent run, per user, or per feature. Budgets are enforced in real-time, not after the fact.

โฌ‡๏ธ

Auto Model Downgrade

At 80% budget, transparently route remaining calls to cheaper models. GPT-5.4 โ†’ nano, Opus โ†’ Haiku. Quality degrades gracefully, not catastrophically.

๐Ÿ›‘

Hard Kill Switch

At budget cap, gracefully terminate the workflow and return a summary of what was completed. No infinite loops, no runaway costs.

๐Ÿ“Š

Cost Dashboard

See exactly where your money goes. Per workflow, per model, per user. Spot the expensive agents before they spot your bank account.

๐Ÿ””

Alerts & Webhooks

Slack, Discord, or webhook alerts when workflows approach budget limits. Know before it breaks, not after.

๐Ÿ”Œ

Framework Agnostic

Works with LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, or raw API calls. No vendor lock-in. Just wrap your client.

Simple pricing. No surprises. (Ironic, right?)

Free

$0
forever
  • Local SDK only
  • 10K tracked calls/mo
  • CLI cost reports
  • All providers supported

Team

$99
/month
  • Everything in Pro
  • 500K tracked calls/mo
  • Per-feature budgets
  • SSO / team management
  • 90-day cost history
  • Webhook integrations

Ship agents with confidence.

Join the waitlist. First 100 signups get 3 months of Pro free.