Your agents are running.
Are you watching?
// WHY KEELWAVE
Sentry for AI agents — open source, self-hosted.
Your agent traces never leave your infra. See exactly why an agent looped, stalled, or burned tokens — not just that latency looked fine.
// LOOP DETECTION
See exactly where the agent went in circles.
Every step fingerprinted with SHA-256. Repeated tool calls surface as a flagged loop on the decision trace — no more guessing why a run burned tokens and stalled.

// FEATURES
What keelwave captures.
agent_stepsDecision traces
Every step in the loop — think → tool_call → result → replan — captured in order.
input_fingerprintSHA-256 loop detection
Duplicate tool_name + input fingerprints flag loops the moment they happen.
v_agent_tool_statsTool analytics
Success rate, p95 latency, and failure counts per tool across every run.
total_tokensToken efficiency
Tokens per step and per run, so you see where budget actually goes.
// QUICKSTART
Two lines to first trace.
Wrap your agent loop in a context manager. keelwave fingerprints every step, rolls up cost, and flags loops — no manual instrumentation.
pip install keelwavefrom keelwave import Keelwave kw = Keelwave(api_key="kw_...") with kw.run("research-agent") as run: run.step("think", thought) run.tool_call("search", input=q, output=r, ok=True)# loop detection + cost tracking — automaticSelf-host in one command.
MIT licensed. No account, no data leaving your infra.
pip install keelwave