Agent object to instrument() and DecimalAI introspects tools, model config, handoffs, and guardrails — no manual manifest registration needed.
Install
Use
This entry point was called
install() in 0.10.0 and earlier. It was
renamed to instrument() in 0.10.2 — same arguments, same behaviour —
because install had come to mean something else entirely: adding a
skill to your workspace. See Vocabulary.install() still works and emits a DeprecationWarning, so existing code
keeps running. decimalai.init(openai_agents=True) is unaffected on every
version.What gets captured
- All LLM generations with model, tokens, latency
- Tool calls with inputs and outputs
- Handoffs between agents (multi-agent flows)
- Guardrail checks and results
- Auto-detected manifest from agent config (tools, model, instructions, sub-agents)
When to use the explicit instrument(agent=...) form
The flag form (init(openai_agents=True)) hooks into the SDK at module level. Use the explicit instrument(agent=...) form when you need DecimalAI to introspect the full agent object — tool schemas, sub-agent topology, the resolved instruction prompt. Without the agent= argument, manifest detection captures tool names only.
What’s next
Multi-agent guide
How handoffs and sub-agent calls show up in the trace tree.
Manifests
Override the auto-detected manifest when you need explicit control.