I built an open-source audit trail for AI agents (after mine silently failed for hours)

작성자

카테고리:

← 피드로
DEV Community · RK · 2026-08-06 개발(SW)

RK

The problem

I was running a multi-agent pipeline and one of my agents silently failed. The only alert I got said “daily loss limit reached” — completely misleading. The real cause was a missing file the agent never reported.

I had zero visibility into what any agent had actually done.

What I built

AgentLens — a Python SDK for AI agent governance. Three modules:

  • Audit trail — every LLM call and tool use logged to SQLite automatically
  • Authorization — policy-based gates so agents can only call what you’ve approved
  • Anomaly detection — baseline + threshold config, alerts when behavior drifts

One-line integration

Drop-in for Anthropic:


python
from agentlens.integrations.anthropic import TracedAnthropic

client = TracedAnthropic(agent_id="my-agent")
response = client.messages.create(...)  # auto-traced
## Install

pip install llmsentinel

Enter fullscreen mode Exit fullscreen mode

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다