The Agent Observability Protocol (AOP) is an open protocol for real-time observability of autonomous AI agents. Know what they're doing, why they're doing it, and exactly where things go wrong.
import { AOPClient } from '@useaop/sdk'
const aop = new AOPClient({ agentId: 'my-agent' })
await aop.sessionStarted({ goal: 'Research competitors' })
await aop.thought('Starting with broad search', { confidence: 'high' })
const id = await aop.toolStart('web_search', { query: 'AI tools 2026' })
await aop.toolEnd('web_search', true, 'Found 10 results', 420, { toolCallId: id })
await aop.sessionEnded('completed', { outcome_summary: 'Research complete' })AOP is a specification anyone can implement. The SDK and collector are reference implementations. Build your own collector, your own dashboard, your own integrations — the protocol is MIT licensed and belongs to the community.
read the specification →