What problem does it solve?
Custom AI agents built outside supported harnesses produce no observability data, so their sessions, errors, and tool usage are invisible to the Failproof AI platform. This Skill guides planning, writing, and verifying instrumentation with the failproofai_sdk Python SDK so agent runs are recorded correctly.
Core Features & Use Cases
- Integration Planning: Decide what constitutes a run (session_id) and which actors exist (agent_id), and map the 15 event types onto the agent's actual loop before writing code.
- Instrumentation Guidance: Add the failproofai_sdk Python SDK to an agent codebase using ambient session/agent/tool_call scopes, framework adapters for LangChain, CrewAI, LlamaIndex, and Pydantic AI, or hand-written wrappers.
- Verification & Debugging: Prove events land by inspecting local .jsonl spool files, and diagnose silent failures like missing agent_start events, wrong environment buckets, thread context loss, and SIGTERM queue drops.
- Use Case: You built a custom support agent and want its runs to appear on the Failproof AI dashboard. Use this Skill to install the SDK, wrap the agent loop with agent() and tool_call() scopes, and confirm the events directory contains well-formed session records.
Quick Start
Instrument my Python agent with the failproofai_sdk so its runs, tool calls, and model requests show up as sessions in Failproof AI, then verify the events are being written.