{"_id":"@ani-hq/agent-tracker","_rev":"2-50dd874ab829feeda4afb65fb6bcf173","name":"@ani-hq/agent-tracker","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ani-hq/agent-tracker","version":"1.0.0","keywords":["cairo","agent","tracking","llm","observability","mcp"],"author":{"name":"Cairo Team"},"license":"MIT","_id":"@ani-hq/agent-tracker@1.0.0","maintainers":[{"name":"anianroid","email":"anianroid@gmail.com"}],"homepage":"https://github.com/outcome-driven-studio/cairo/tree/main/packages/agent-tracker","bugs":{"url":"https://github.com/outcome-driven-studio/cairo/issues"},"dist":{"shasum":"3f8ce3bc369a7f597674dff752bbd8a41b100cb8","tarball":"https://registry.npmjs.org/@ani-hq/agent-tracker/-/agent-tracker-1.0.0.tgz","fileCount":26,"integrity":"sha512-+gUKQZQK/CjiJOgyvmbvTIwp1poJXV7BM5fuefHJDBNqvrd3ffCwfr0cE0Sk15Dw0wW9zgGLWwFJNAxahXIojw==","signatures":[{"sig":"MEQCIC3P495bJ1LkXRA1KbxBB7gobP6pyhbruBPo9BdCkSKpAiA4Eb9CS78zcUoM2zhzAd7H3wjsGkjbcYh4T6N/qLhpFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42212},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"4fd07fc75ef611c15723df69079b5bf49e7eae68","scripts":{"dev":"tsc --watch","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anianroid","email":"anianroid@gmail.com"},"repository":{"url":"git+https://github.com/outcome-driven-studio/cairo.git","type":"git","directory":"packages/agent-tracker"},"_npmVersion":"10.8.2","description":"Agent behavior tracking SDK for Cairo — generations, tool calls, decisions, errors","directories":{},"_nodeVersion":"18.20.8","dependencies":{"uuid":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-tracker_1.0.0_1785302921695_0.8663773716114287","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ani-hq/agent-tracker","version":"1.0.1","description":"Agent behavior tracking SDK for Cairo — generations, tool calls, decisions, errors","main":"dist/index.js","types":"dist/index.d.ts","homepage":"https://github.com/outcome-driven-studio/cairo/tree/main/packages/agent-tracker","bugs":{"url":"https://github.com/outcome-driven-studio/cairo/issues"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build"},"keywords":["cairo","agent","tracking","llm","observability","mcp"],"author":{"name":"Cairo Team"},"license":"MIT","dependencies":{"uuid":"^9.0.0"},"devDependencies":{"@types/node":"^20.0.0","@types/uuid":"^9.0.0","typescript":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/outcome-driven-studio/cairo.git","directory":"packages/agent-tracker"},"_id":"@ani-hq/agent-tracker@1.0.1","gitHead":"4fd07fc75ef611c15723df69079b5bf49e7eae68","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-+nlTCYrfU1WqzLJ5Qnz6e760U+3HuKP8Owh8A1LN5/Gr45VBxPurOZArmUE5gaymDqqkHcbYlFamH28lYpKJKg==","shasum":"6091d8b0ac6a4dd12e4b55023f0c1b3440f1f6e1","tarball":"https://registry.npmjs.org/@ani-hq/agent-tracker/-/agent-tracker-1.0.1.tgz","fileCount":26,"unpackedSize":42212,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFW0OyoweWM7j/3QZj5nk/yZ1myAvA0nvFwbZDRGiUQ1AiBOfaRuyjol7Le8KRLlCS+GZ5JctJwy98y9KM5GEgFaRQ=="}]},"_npmUser":{"name":"anianroid","email":"anianroid@gmail.com"},"directories":{},"maintainers":[{"name":"anianroid","email":"anianroid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-tracker_1.0.1_1785303275107_0.8834577791561611"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-29T05:28:41.477Z","modified":"2026-07-29T05:34:35.449Z","1.0.0":"2026-07-29T05:28:41.847Z","1.0.1":"2026-07-29T05:34:35.304Z"},"bugs":{"url":"https://github.com/outcome-driven-studio/cairo/issues"},"author":{"name":"Cairo Team"},"license":"MIT","homepage":"https://github.com/outcome-driven-studio/cairo/tree/main/packages/agent-tracker","keywords":["cairo","agent","tracking","llm","observability","mcp"],"repository":{"type":"git","url":"git+https://github.com/outcome-driven-studio/cairo.git","directory":"packages/agent-tracker"},"description":"Agent behavior tracking SDK for Cairo — generations, tool calls, decisions, errors","maintainers":[{"name":"anianroid","email":"anianroid@gmail.com"}],"readme":"# @ani-hq/agent-tracker\n\nTrack AI agent sessions, LLM generations, tool calls, decisions, and errors into [Cairo](https://github.com/outcome-driven-studio/cairo).\n\n```bash\nnpm install @ani-hq/agent-tracker\n```\n\n```ts\nimport { AgentTracker } from '@ani-hq/agent-tracker';\n\nconst tracker = AgentTracker.init({\n  writeKey: process.env.CAIRO_WRITE_KEY!,\n  host: 'https://your-cairo-instance.com',\n  agentId: 'my-agent',\n});\n\nconst session = tracker.startSession({ task: 'answer question' });\ntracker.trackGeneration({ model: 'gpt-4o', inputTokens: 10, outputTokens: 20 });\nawait tracker.endSession();\n```\n\nPosts to `${host}/v2/batch`.\n","readmeFilename":"README.md"}