v1.0 is out. Both SDKs are on v1.0 — response types (
Run, Usage,
ReasoningTask) are flat and match the canonical API wire format, and both
support multimodal input via Image / content[] and lifecycle-managed
services via resources[]. Upgrading from 0.x in Node? See the
Node SDK migration guide.Install an official SDK
- Node.js
- Python
SDK Methods
Both SDKs provide the same core methods:| Method | Description |
|---|---|
client.run() | Create and optionally wait for a run |
client.stream() | Create a run and stream events |
client.get(runId) | Get the status of a run |
client.wait(runId) | Poll until a run completes |
client.cancel(runId) | Cancel a running or queued run |
Skills
Both SDKs support Skills. Pass an array of skill names ininput.skills to give your agent specialized knowledge:
- Node.js
- Python
Webhooks
Both SDKs support per-run webhook callbacks withoutput.callbackUrl. For org-wide subscriptions, use the webhooks API or the dashboard.
- Node.js
- Python
Next Steps
Quickstart
See the SDKs in action with a complete example
Core Concepts
Learn about Runs, Tools, and Streaming