Skip to navigation

Python SDK 8.1.0

Added

  • Python SDK:
    • Provider-Native Activity Reporting — Agno, Claude SDK, Codex, Copilot SDK, and LangGraph adapters now observe and report provider-native tool activity with per-call scope, so each native tool call appears as its own activity entry in the room’s working state.

Python SDK 8.0.0

Changed

  • Python SDK:
    • Breaking: Keyed Activity Reporting — The activity reporting API is now keyed. report_tool_activity, end_tool_activity, and report_memory_activity are replaced by start_tool_activity(tools, key, name), start_memory_activity(tools, key), and end_activity(tools, key). ActivityObserver.update is replaced by start(key, activity) and end(key). TurnActivity.apply is replaced by start(key, activity) and end(key). ExecutionContext.observe_activity is replaced by start_activity and end_activity. execute_custom_tool and invoke_validated_custom_tool take tools= instead of turn=. See the migration guide.
    • Breaking: ACP TurnSink — The ACP ChunkSink callable is replaced by the TurnSink protocol. prompt and prompt_turn take sink= instead of on_chunk=. Update any ChunkSink type annotations and on_chunk= call sites. See the migration guide.

Fixed

  • Python SDK:
    • Activity Ownership with Overlapping Tools — Activity ownership is now preserved when multiple tools execute concurrently in the same turn, so each tool’s activity is reported under its original owner rather than being displaced by a later tool.