Skip to main content

AgentGuard

Detect silent failures in LLM agents.

Your agent can fail silently.
It returns something that looks correct… but is wrong.
No error. No warning. Just bad output.

AgentGuard detects it automatically.

Install

pip install agentguard

Use

from agentguard import watch
from pydantic import BaseModel

class AgentOutput(BaseModel):
    answer: str
    confidence: float

@watch(schema=AgentOutput)
def my_agent(input):
    return llm_call(input)

If the output is empty, crashes, or doesn't match the schema → you get an alert.

Alerts

Set in your .env:

AGENTGUARD_TELEGRAM_TOKEN=your_bot_token
AGENTGUARD_TELEGRAM_CHAT_ID=your_chat_id

What it detects

  • Empty or null output
  • Schema violation (wrong structure, missing fields)
  • Agent crash (exception swallowed)

No dashboard. No setup. One line.


Built while running LLM agents in production.
The agent was failing silently for 10 days. We didn't know.

Metadata

Release files for llm-agentguard 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-agentguard 0.1.0
File Size Uploaded Provenance
llm_agentguard-0.1.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-agentguard 0.1.0
File Interpreter ABI Platform
llm_agentguard-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / llm_agentguard-0.1.0.tar.gz

Download URL llm_agentguard-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1974a364797a0e1d8e640572b87d94419feed258faebbf44e1d268dfc9b8e30e
BLAKE2b-256 checksum
How to use checksums
76fb9cc420e232180cd99824ab36f42aadabadf5c1ff045f017ab642233ac5bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / llm_agentguard-0.1.0-py3-none-any.whl

Download URL llm_agentguard-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6c8e5ed2d792ed15b5daf1f578a412b04c5a8752cc9f70bc262c234c29ff65d
BLAKE2b-256 checksum
How to use checksums
05f1e436226ba81f81fa5b09ebbc5b4b095fee0fc7fe81c687a0b246374e3d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for llm-agentguard 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page