AI SDK for Python Released
amaarora · x · 2026-07-19
The Python version of the AI SDK is now available, focusing on three main features: agent loops, tool calling, and streaming.
The usage is straightforward: after installation, you can define tool functions using @ai.tool, and then run models while receiving streaming outputs via ai.Agent(...) and agent.run(...). The attached image shows a minimal runnable example.
More from coding & agent
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22