TypeScript / Node.js
Install the official TypeScript SDK:Quick Start
Streaming
Custom Tools (Function Calling)
UserunWithTools to let the agent call your functions — the SDK handles the loop automatically:
submitToolOutputs directly to handle the loop yourself. See the Custom Tools guide for details.
Error Handling
View on GitHub
Source code, issues, and full API reference.
View on npm
@stewrd/sdk on npm
Python
Install the official Python SDK:Quick Start
Streaming
Error Handling
View on GitHub
Source code, issues, and full API reference.
View on PyPI
stewrd on PyPI
Available SDKs
| Language | Package | Status |
|---|---|---|
| TypeScript / Node.js | @stewrd/sdk | Available |
| Python | stewrd | Available |
Using Fetch Directly
The Stewrd API is a single REST endpoint, so it’s straightforward to use withfetch in any language:

