Skip to main content

Deterministic agent execution with runtime-enforced guardrails

Project description

AgenWatch

Deterministic agent execution with runtime-enforced guardrails.

AgenWatch is a production-grade Python SDK for running LLM agents with hard execution limits, budget enforcement, and deterministic replay — enforced during execution, not observed after.


Install

pip install agenwatch

With provider support:

pip install agenwatch[openai]     # OpenAI
pip install agenwatch[anthropic]  # Anthropic
pip install agenwatch[groq]       # Groq
pip install agenwatch[litellm]    # 100+ providers (Gemini, Mistral, etc.)
pip install agenwatch[all]        # All providers

Quick Example

from agenwatch import Agent, tool

@tool
def add(a: int, b: int) -> int:
    """Add two numbers."""
    return a + b

agent = Agent(
    name="calculator",
    model="gpt-4o-mini",
    tools=[add],
    budget=1.0,
)

result = agent.run("Add 2 and 3")

print(result.output)
print(result.cost)

Why AgenWatch

  • Runtime-enforced budgets — kernel-level kill switches, not just logging
  • No double-charging on retries — fingerprint-based deduplication
  • Deterministic execution — replayable agent runs
  • Provider agnostic — OpenAI, Anthropic, Groq, Gemini, and 100+ via LiteLLM

Status

v0.1.0 — stable core


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agenwatch-0.1.0.tar.gz (106.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agenwatch-0.1.0-py3-none-any.whl (124.4 kB view details)

Uploaded Python 3

File details

Details for the file agenwatch-0.1.0.tar.gz.

File metadata

  • Download URL: agenwatch-0.1.0.tar.gz
  • Upload date:
  • Size: 106.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for agenwatch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1313728db86ca75a2d2c05ba25ac66887c9c4b94228d8840ddd5557fd2b11235
MD5 13dc8ef26cd660021fc565148f994408
BLAKE2b-256 668ed27ee3ea2c578cf0fbc1c137d89548da6b5fe9bce5115812f44b383a3f8e

See more details on using hashes here.

File details

Details for the file agenwatch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agenwatch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 124.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for agenwatch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c61fa5f72d1d7203616cb16a8d8aa7de076500c1fb3f767018747ea137368373
MD5 76731cb194ca605136143a67c6b2f2d4
BLAKE2b-256 015a0b3a74e6a6344e8ca1b0650a28c377d1747a8ccbf5021cfbdce3e04145cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page