Skip to main content
The current SDKs use runner-api 6 and record model calls only after auto_instrument() / autoInstrument().

Before you start

Update the exec server first. The current SDKs raise CompatibilityError against an older one.

Upgrade with a coding agent

Paste this prompt into a coding agent at the root of your repository:

After upgrading

If a trace has no model or tool steps, auto_instrument() / autoInstrument() runs too late or not at all. See troubleshooting for Python or TypeScript.