
OpenRouter Agent SDK for Python
github.com/openrouterteam/python-agent- Category
- AI Agents
- Rank
- No. 2114Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- @OpenRouter
- GitHub
- 7 stars
- Date
About
An async-first Python toolkit for building agents on OpenRouter, distributed as openrouter-agent-sdk. It ports the public behavior of the TypeScript @openrouter/agent package: Responses API calls, client and server tools, streaming, multi-turn state, approval and human-in-the-loop gates, tool context, stop conditions, and compatibility with Claude and OpenAI chat formats. It layers on the official openrouter Python SDK rather than reimplementing HTTP, auth, retries, or model schemas, and is kept in sync with the TypeScript reference automatically, so Python users get parity without waiting for a hand-written port.
Tags
openrouterpythonai-agentssdkllmstreaming
Tech Stack
Python
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.