Source:
opper-ai/opper-sdks. The agent layer ships inside the opperai package, so there’s nothing extra to install.Build your first agent
1
Install
2
Set your API key
client={"api_key": "..."} (Python) or client: { apiKey: "..." } (TypeScript) on the Agent constructor.3
Run an agent
add(5, 3) = 8, then multiply(8, 2) = 16, then returns. Every tool call is captured in result.meta.tool_calls (Python) / result.meta.toolCalls (TS).4
Run an end-to-end example
The repo has numbered examples, each showing one pattern. Run them directly:
What’s next
Tools
Define tools the agent can call.
Structured output
Return validated, typed data instead of free text.
Streaming
Watch the agent work as it happens.
Multi-agent
Compose specialists into a coordinator.