Now in public beta — Join early

Your AI agents are running blind.
See everything.

Monitor costs. Replay every session. Protect with guardrails.One SDK. One line of code. Full visibility.

No credit card required · Free tier forever · Set up in 2 minutes

Monitor

MODULE

Track every dollar, in real-time

Cost tracking per agent, smart alerts with AI diagnosis, forecast your end-of-month bill, and get automatic model recommendations.

Replay

MODULE

Debug in seconds, not hours

Step-by-step visual timeline of every agent session. See inputs, outputs, costs, and errors — then share with your team in one click.

Protect

MODULE

Guardrails that actually guard

Configurable content rules, automatic PII redaction, budget caps with kill switch, and compliance-ready audit logs.

Everything your agents need to behave.

One SDK. Three modules. Complete observability for AI agents in production.

CORE

Real-time Cost Tracking

See every API call, every token, every dollar — the moment it happens. Not at the end of the month.

AI

Smart Alerts

When something goes wrong, AI diagnoses why and suggests a fix. Not just 'threshold exceeded'.

SAVINGS

Cost Autopilot

Automatic model recommendations with estimated savings. 'Switch to gpt-4o-mini here — save $85/month.'

DEBUG

Session Replay

Visual step-by-step timeline of every agent run. Inputs, outputs, costs — all in one view.

SECURITY

Guardrails & PII

Block unwanted content, redact personal data automatically, kill switch when things go wrong.

FORECAST

Cost Forecast

Know your end-of-month bill before it arrives. Per agent, per team, with confidence intervals.

Up and running in 2 minutes.

No infrastructure. No config files. No code changes to existing agents.

01

Install the SDK

One line. pip install agentshield. Works with OpenAI, Anthropic, Google, LangChain, CrewAI, and more.

$ pip install agentshield
02

Add one decorator

@shield(agent='my-agent') — that's it. Costs, sessions, and guardrails are now tracked.

@shield(agent='my-agent')
async def research(query):
...
03

See everything

Open your dashboard. Costs in real-time. Sessions you can replay. Violations you can prevent.

today's spend$12.47
sessions1,247
violations0

One decorator.
Full observability.

No agent refactoring. No proxy servers. No infrastructure changes. AgentShield instruments your existing code — one line at a time.

Zero-latency overhead on your agent calls
Works with any LLM provider or framework
Sessions, costs, and guardrails out of the box
1import agentshield as shield
2 
3# Wrap your agent with one decorator
4@shield(agent="my-research-agent")
5async def research_agent(query: str) -> str:
6 # AgentShield automatically tracks:
7 # ✓ Token usage & costs per call
8 # ✓ Session timeline for replay
9 # ✓ Guardrail violations
10 # ✓ Anomaly detection
11 
12 response = await openai.chat.completions.create(
13 model="gpt-4o",
14 messages=[{"role": "user", "content": query}]
15 )
16 return response.choices[0].message.content
17 
18# That's it. Open your dashboard.
19# https://app.agentshield.one
✅ Tracked: $0.034 · 847 tokens · 1.2s

Start free. Scale with confidence.

No credit card required. Upgrade or downgrade any time.

Free

For side projects

0forever

Get started with basic monitoring.

  • 1 agent
  • 10K requests/month
  • 7-day history
  • Monitor (basic)
  • Community support

Starter

For growing teams

49/month

Add replay and smart alerts.

  • 5 agents
  • 100K requests/month
  • 30-day history
  • Monitor + Replay
  • Alerts & Anomaly detection
  • Forecast
  • Email support
POPULAR

Pro

For production agents

99/month

Full suite: Monitor + Replay + Protect.

  • Unlimited agents
  • 500K requests/month
  • 90-day history
  • Monitor + Replay + Protect
  • Smart Alerts (AI diagnosis)
  • Cost Autopilot
  • Webhooks & Session sharing
  • Budget caps & kill switch
  • Priority support

Team

For agencies & enterprises

199/month

Multi-user, compliance, and everything else.

  • Everything in Pro
  • Multi-user & Teams
  • Team cost attribution
  • Audit log (immutable)
  • PDF reports
  • Slack bot
  • 1-year history
  • Dedicated support

Why AgentShield?

Built specifically for AI agents — not retrofitted from generic APM tools.

FeatureYOU ARE HEREAgentShieldDatadogLangSmithCustom
Real-time cost tracking
Session Replay
Guardrails & PII redaction
AI-powered Smart Alerts
Cost Autopilot recommendations
Budget caps & kill switch
One-line SDK integration
AI-agent focused
Free tier

Frequently asked questions

No. AgentShield tracks events asynchronously — your agent calls return immediately, with zero added latency. Events are batched and sent in the background.

OpenAI, Anthropic, Google (Gemini), Cohere, and any OpenAI-compatible API. Framework support: LangChain, CrewAI, AutoGen, LlamaIndex, and plain Python.

The SDK detects and redacts email addresses, phone numbers, credit card numbers, SSNs, and IP addresses before data leaves your environment. You can configure custom patterns.

Yes. Outbound webhooks (Pro+) let you forward events to Datadog, Grafana, PagerDuty, or any HTTP endpoint. AgentShield complements — not replaces — your existing tools.

Event data is stored per your plan: 7 days (Free), 30 days (Starter), 90 days (Pro), 1 year (Team). Session inputs/outputs are only stored if you opt in, and always with PII redacted.

AgentShield raises a BudgetExceededError in your code and optionally activates the kill switch — preventing further API calls until you lift it manually or the period resets.

Not yet. We are working on a self-hosted version for enterprise compliance needs. Contact us if that is a requirement.

Your agents are running.

Do you know what they're doing?

Set up in 2 minutes. No credit card. Free tier forever.