Track changes to Band SDKs including the Python SDK and MCP SDK.
Fixed
- Python SDK:
- WebSocket Session Termination on 401 — WebSocket sessions now terminate correctly when an upgrade is refused with HTTP 401. A refused credential token no longer leaves the session open.
Fixed
- TypeScript SDK:
- WebSocket 401 Session Termination - The WebSocket session now ends cleanly when an upgrade is refused with a 401 response, preventing the client from waiting indefinitely for a session that the server has already rejected.
Fixed
- Python SDK:
- Conflict Policy Without Agent ID — A non-default
conflict_policyis now sent on the initial connect even when noagent_idis set, so connections usingConflictPolicy.REJECTcorrectly apply the policy from the first connect.
- Conflict Policy Without Agent ID — A non-default
Breaking
PhoenixChannelsTransport reconnect configuration removed.
PhoenixChannelsTransportOptions drops three fields in 2.0.0:
Added
- TypeScript SDK:
- Shared Core Round Policy - The runtime now uses
@band-ai/band-sdk-core’s round policy and turn-completion logic across all adapters, giving consistent turn-outcome behavior without adapter-specific overrides.
- Shared Core Round Policy - The runtime now uses
Fixed
- TypeScript SDK:
- LangGraph Tool Loop on Decline - LangGraph’s built-in tool loop now stops when Band declines the turn, preventing additional tool rounds after the room has already received a decline.
- Google ADK Tool Loop Cap - The Google ADK adapter ends its tool loop when the turn is declined and caps rounds at 8 by default (configurable with
maxToolRoundsonGoogleADKAdapterOptions). Previously, a tool-heavy turn could loop indefinitely. - Gemini Thought Signatures and No-Reply Termination - Gemini thought signatures are now replayed correctly in the tool-call context, and the tool loop terminates when the model returns no reply, preventing a hang.
- OpenCode Pending State - A reply that loses its associated OpenCode ask is told it is no longer pending, so it does not block subsequent prompts in that room.
- Room Work Held Until Turn Ends - A room’s other work is now held until a handed-back turn has fully ended. Previously, overlapping work could start before the turn’s conclusion was recorded.
- Runtime Catch-Up Past Failed Head - The runtime now skips a failed
/messages/nexthead instead of retrying it forever, so session catch-up moves past the broken entry and resumes normal delivery.
Changed
- Python SDK:
- Breaking: WebSocketClient API —
WebSocketClient.transport_ended,end_transport(), andrecord_terminal_disconnect()are removed.handle_supersede()is nowasyncand takes aSupersedePayloadargument instead ofretryable: boolandretry_after_s: float | None. Code that called these members directly or subclassedWebSocketClientmust be updated. See the migration guide. - Phoenix Client Dependency — The
phoenix-channels-python-clientdependency moves from>=0.4.1,<0.5to>=0.5.2,<0.6. Upgrade your lockfile after updatingband-sdk.
- Breaking: WebSocketClient API —
Added
- Python SDK:
- User Access Token Authentication —
WebSocketClientnow acceptsaccess_token=(keyword-only) for authenticating with a user JWT via thex-auth-tokenheader, as an alternative to an API key. - Claude Settings Overrides —
ClaudeCLIOptionsgains asettingsfield for passing host Claude settings at CLI launch, as inline JSON ({...}) or an absolute file path. The adapter layers them under its own isolation settings, whose keys always win. Theenvsection of the settings may not setBAND_MCP_TOKEN.
- User Access Token Authentication —
Fixed
- Python SDK:
- OpenCode Session Resume — OpenCode sessions now resume correctly after the first successful prompt regardless of the
emitsetting. A first prompt that fails, times out, or is cancelled leaves no resume record. The Claude SDK adapter follows the same rule. - CrewAI Turn End on
band_no_reply— CrewAI agents now end their turn correctly when the agent callsband_no_reply. - Custom Decline Handling — Successful custom declines in Strands, PydanticAI, batch-based adapters, and ADK now stop correctly. CrewAI failures are now preserved when a custom decline stops.
- OpenCode Approval Terminology — Resolved OpenCode questions are now described as questions, not approvals, in room messages.
- OMP Background Results — OMP declines no longer strand background results that arrive after the decline is issued.
- Google ADK Compatibility — Google ADK 1.x client compatibility is restored. Failed ADK turn inputs are retained in conversation history. ADK tool rounds are now capped like the Gemini adapter.
- OpenCode Session Resume — OpenCode sessions now resume correctly after the first successful prompt regardless of the
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.
Changed
- Python SDK:
- Breaking: Keyed Activity Reporting — The activity reporting API is now keyed.
report_tool_activity,end_tool_activity, andreport_memory_activityare replaced bystart_tool_activity(tools, key, name),start_memory_activity(tools, key), andend_activity(tools, key).ActivityObserver.updateis replaced bystart(key, activity)andend(key).TurnActivity.applyis replaced bystart(key, activity)andend(key).ExecutionContext.observe_activityis replaced bystart_activityandend_activity.execute_custom_toolandinvoke_validated_custom_tooltaketools=instead ofturn=. See the migration guide. - Breaking: ACP TurnSink — The ACP
ChunkSinkcallable is replaced by theTurnSinkprotocol.promptandprompt_turntakesink=instead ofon_chunk=. Update anyChunkSinktype annotations andon_chunk=call sites. See the migration guide.
- Breaking: Keyed Activity Reporting — The activity reporting API is now keyed.
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.
Added
- Python SDK:
- Antigravity ACP Adapter - Connect Google’s Antigravity agent to Band chat rooms with
AntigravityACPAdapter, available through the existingacpextra. Each agent and room uses a separate persistentGEMINI_HOMEfor native session state. Band tool requests are approved only during the room’s active turn. Native tool requests use approve-once or reject-once according toapproval_mode, which defaults toauto_accept. This permission policy does not sandbox the server. A runnable example and setup guide are included.
- Antigravity ACP Adapter - Connect Google’s Antigravity agent to Band chat rooms with
Changed
- Python SDK:
- Codex Session State -
CodexSessionStatereplacesthread_id,room_id,created_at, andhas_thread()withroom_to_threadandreplay_messages. Read a room’s thread withstate.room_to_thread.get(room_id). See the 7.1.0 migration guide.
- Codex Session State -
Fixed
- Python SDK:
- Codex Session Resume - Codex now records a room’s thread only after its first prompt completes, so a failed or interrupted first prompt is no longer resumed after a restart, and this works with task events turned off. A fresh thread is seeded with the room transcript and roster. Rooms with earlier Codex session records start a fresh, replayed thread after upgrading; later resumption requires the seeded record to be present in loaded startup history.
- Replay Past Pending Requests - History replay into a new session no longer includes later pending requests ahead of their own turns when a thread reply is missing from the fetched history.
- Windows ACP Agent Shutdown - Stopping an agent on Windows now ends the ACP agent’s whole process tree, so
Agent.stop()no longer hangs on a launcher that exited while its child processes kept running. - Antigravity Startup Timeout - The Antigravity startup transition timeout is now 60 seconds instead of the generic ACP adapter’s 30 seconds.
Changed
- TypeScript SDK:
- Breaking: Existing Rooms Rejoin by Default -
AgentConfig.autoSubscribeExistingRoomsnow defaults totrue. At startup and after a whole-agent reconnect, agents join rooms they already belong to and may answer pending messages there. PassagentConfig: { autoSubscribeExistingRooms: false }to retain the 0.x behavior, or useroomFilterto select rooms. See Migration below.
- Breaking: Existing Rooms Rejoin by Default -
Added
- TypeScript SDK:
- Working State and Activity - Agents report when a room is processing work, with configurable keep-alive and request timeouts. Activity reporting can distinguish reasoning, tool calls, memory work and permission requests when the adapter or provider supplies those events. Set
sessionConfig: { enableWorkingState: false }to disable working-state reporting. - Native Adapter Activity - Claude SDK, Codex, ACP, Cursor and OpenCode integrations observe native tool activity. ACP, Cursor and OpenCode also report human-decision activity. Claude SDK observes native compaction; its optional execution reporting forwards provider-emitted tool summaries rather than generating summaries itself.
- Room and History Helpers - Create rooms with a title, retrieve and rename rooms, enumerate peers across pages, and fetch recent message history for context.
- Optional Task-Board Tools - Added
band_get_board,band_set_board,band_list_tasks,band_create_task,band_get_taskandband_update_task. These tools are off by default. Enable them withlinkOptions: { capabilities: { tasks: true } }on an account where the platform task board is enabled. - Dynamic MCP Stdio Servers -
BandMcpStdioServercan start without Band tools, add or remove tools while running, expose a host-provided resource source, and notify clients when tool or resource lists change.
- Working State and Activity - Agents report when a room is processing work, with configurable keep-alive and request timeouts. Activity reporting can distinguish reasoning, tool calls, memory work and permission requests when the adapter or provider supplies those events. Set
Fixed
- TypeScript SDK:
- ACP and A2A Dependency Compatibility - Optional peer ranges now require
@agentclientprotocol/sdk >=1.4.0 <2and@a2a-js/sdk >=0.3.10 <1, preventing installs from selecting incompatible major versions. ACP 2.x and A2A 1.x support is not included. - Gemini Default Model - Gemini and Google ADK adapters use
gemini-3.1-flash-litewhen no model is supplied.
- ACP and A2A Dependency Compatibility - Optional peer ranges now require
Migration
Install @band-ai/sdk@1.0.0 and review which existing rooms your agent should join before its first start after upgrading. To keep the 0.x room-subscription behavior:
Alternatively, keep the new default and pass roomFilter to join only selected rooms. Review direct ACP and A2A dependency pins and regenerate the application lockfile so they satisfy the peer ranges above.
Added
- Python SDK:
- Native OMP Adapter — Connect an OMP agent directly to Band chat rooms with
OmpAdapter, including per-room sessions, model selection, room-scoped MCP servers, and questions relayed to the room. The newompextra installs only the adapter’s Python dependency (psutil); install the OMP CLI separately so theompcommand is available. - Opt-In Queued Message Batching — Set
SessionConfig.consume_all_queuedto have an agent handle a backlog of queued messages together in one turn instead of one turn per message, up tomax_queued_messages(1–100, default 10). It requires an adapter that declaressupports_batch_input, and is not available with one-shot hosting (OneShotInvokerrefuses it). - Room-Scoped MCP Servers for ACP Agents — ACP client adapters, including the Copilot and Cursor constructors, accept an optional
resolve_mcp_serverscallback. It receives the room’s workspace directory path once per session setup and returns that room’s external MCP servers, which replace the configured external servers while Band’s own MCP server stays in place. - Cloudflare One-Shot Agent Hosting — New example shows how to host a Python Band agent on Cloudflare while keeping its persistent event connection on your own infrastructure.
- Antigravity Tool Recognition in ACP — The ACP base now recognizes Antigravity’s tool calls, so Band replies appear under the correct tool name with a single copy of their arguments.
- Live Room Activity Detail — Rooms can now show what an agent is doing, such as reasoning, a named tool call, or waiting on a person, including Band tools and native Claude SDK, Codex, and OMP tools, approvals, and compaction.
- Native OMP Adapter — Connect an OMP agent directly to Band chat rooms with
- Band Bridge:
- HTTP Bridge Bearer Token — HTTP bridge targets can now be configured with a
bearer_token, which the bridge sends as anAuthorization: Bearerheader on every forwarded request.
- HTTP Bridge Bearer Token — HTTP bridge targets can now be configured with a