Home / Companies / Ably / Blog / Post Details
Content Deep Dive

Ably Python SDK v3: realtime for Python, built for AI

Blog post from Ably

Post Details
Company
Date Published
Author
Ably
Word Count
1,061
Language
-
Hacker News Points
-
Summary

Ably has launched version 3 of its Python SDK, designed to enhance AI infrastructure by addressing challenges in production environments where Python dominates AI development. This release focuses on improving real-time data streaming with AI Transport support, ensuring token streaming with ordering guarantees, and enabling resumable sessions to maintain continuity despite network issues or device changes. Multi-device continuity is facilitated through channel-based sessions, allowing users to switch devices without losing conversation history. The SDK offers live steering, enabling users to redirect responses mid-stream, and supports real-time publishing over WebSocket connections to improve efficiency compared to REST calls. Additional features include presence tracking to manage agent activity based on user engagement and mutable messages that allow editing post-publication for more efficient history management. The update aims to establish Python on par with other real-time SDKs and plans further enhancements like LiveObjects support for shared state synchronization, with the Ably team seeking user feedback to guide future developments.