Instrument

Set an existing Python agent up on AgentX, end to end: read the project API key off the engine, write .env.agentx, install agentx-python from PyPI, initialise the SDK once, instrument the calls that are worth tracing, and then prove it by running the agent and reading its own traces back. Use whenever someone wants to set up, initialise, add tracing to, or monitor their own agent with AgentX; asks to "trace my agent", "instrument this repo", "hook this up to AgentX", "set up AgentX here", or "get my runs into Live Traces"; or has a self-host engine (AgentX-trace-eval, normally http://localhost:4700) and nothing reporting into it yet. Also use when traces are configured but not arriving, since the SDK fails silently by design. The core move is one span where the run begins plus one line of framework auto-instrumentation - not a decorator on every function - and it is not finished until a trace has been fetched back.

AgentX-ai Updated

File contents

AgentX-ai/AgentX-Eval-Skill/tree/main/plugins/agentx/skills/instrument commit ba0749876d

Frequently asked questions

npx skillmds@latest add agentx-ai/instrument