Find out before you run it.
Run it on any Python project. Get a cost projection in seconds.
/\ __ ______ __
/ \ ____ ____ ____/ /_/ ____/__ ______ __________/ /
/ /\ \ / __ `/ _ \/ __ __/ / __/ / / / __ `/ ___/ __ /
/ ____ / /_/ / __/ / / / / /_/ / /_/ / /_/ / / / /_/ /
/_/ \_\__, /\___/_/ /_/ \____/\__,_/\__,_/_/ \__,_/
/____/
One pip command. No API key, no sign-up, no PATH config required.
pip install agentguard-cliPoint your terminal at any Python project directory containing agent code.
cd your_projectRun AgentGuard. Get a projected cost, risk severity, and exact file/line references.
agentguard --root_dir .No API key needed. No sign-up. No PATH configuration required — works everywhere Python works.
$ pip install agentguard-cli
$ python -m agentguard.cli --root_dir .
Navigate into your project folder, then run AgentGuard. It recursively scans all Python files and subfolders — no config needed.
$ agentguard --root_dir .
$ python -m agentguard.cli --root_dir .
| Method | Works Without PATH | Recommended |
|---|---|---|
| agentguard --root_dir . | ❌ Needs PATH | ⭐ Best |
| python -m agentguard.cli --root_dir . | ✅ Yes | Fallback |
AgentGuard catches the patterns that quietly turn a $10/day agent into a $100k/month disaster.
Detects any LLM API call inside a for, while, or recursive function. Flags the exact line.
Identifies whether your context window grows linearly or quadratically across agent iterations.
Finds recursive tool use and estimates worst-case call depth at production scale.
Projects monthly costs under linear vs quadratic scaling assumptions, benchmarked to model pricing.
Most agent frameworks make it trivially easy to write a loop that calls an LLM on every iteration, appending the output to a growing context. At small scale, it's fine. At production scale, it's catastrophic.
A context that grows by 1,000 tokens per step reaches 1M tokens in 1,000 steps. At GPT-4 pricing, that single run costs over $1,000. Run it hourly and you've burned $24k before you've noticed.
AgentGuard exists to prevent expensive mistakes before deployment — not after the invoice arrives.