Track changes to Band SDKs including the Python SDK and MCP SDK.
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
Python SDK: Loopback Band MCP Server Now Requires a Bearer Token
The loopback Band MCP server now refuses every request without a valid Authorization: Bearer <token> header, so MCP clients you wire up yourself must send it.
Python SDK: Per-Room Session State and ACP Session Seeding
Claude SDK, Copilot SDK, and OpenCode now track one resumable session per room, and an ACP session belongs to a room only once its seeding prompt completes. Session records written by earlier versions are not resumed.
Band Bridge: Configuration Rejects Unknown Keys
This applies to the Band Bridge app shipped with this release, not the band-sdk package.
Bridge configuration models now reject unknown keys. A bridge config with a misspelled or stray key that was previously ignored now fails at startup with a validation error that does not echo the input. Remove or correct any unrecognized keys before upgrading.
Changed
- Python SDK:
- Live NOOA Thoughts — NOOA thoughts now post in the room as each model call completes, instead of after the whole turn ends.
- Mention Guidance for Agents — Agents are now told consistently to use exact roster handles and to avoid repeating recipient labels in message content.
- WebSocket Heartbeat Handling — WebSocket heartbeat timeouts are now handled by the Phoenix transport, which now requires
>=0.4.1,<0.5, and the SDK’sband-sdk-coredependency moves from 2.8.0 to 6.1.1.
Fixed
- Python SDK:
- Working Indicator Lifetime — The working indicator now stays on while provider work continues behind a pending approval, and no longer turns on for housekeeping turns that show nothing to users.
- OpenCode Turn Overlap — A new OpenCode message no longer starts a turn while the previous turn is still finishing its reply.
- OpenCode Session Resume — OpenCode no longer resumes a session whose first prompt failed, and now replays the room’s history into a fresh session.
- Claude SDK Session Resume — The Claude SDK adapter no longer resumes a session whose seeding turn errored, and replays the room’s history when it needs to.
- Copilot SDK Session Resume — The Copilot SDK adapter no longer resumes a session whose first prompt failed, and a fresh session no longer overwrites a room’s earlier native state.
- Shutdown Retries — Retrying a shutdown no longer cancels an accepted turn’s cleanup a second time or reports retirement before it finishes.
- OMP Stalled Turns — Native OMP turns no longer stay open indefinitely after a lost completion; they now fail with
OmpCompletionTimeout. - OMP Process Cleanup — OMP cleanup no longer risks killing an unrelated process that reused a process ID, and overlapping permission prompts no longer clear each other’s activity.
- Tool Call Redaction — Tool-call events with file content containing lone surrogate characters are now redacted and delivered instead of being lost.
- Oversized Integer Tool Payloads — A Band tool call with an oversized integer payload is now refused under the tool’s own name instead of failing the turn.
- Band Bridge:
- Bridge Rehydration Cancellation — Cancelling one room’s startup during backlog rehydration no longer shuts down the whole bridge.
Security
- Python SDK:
- Loopback Band MCP Server Authentication — See the bearer-token breaking change above.
Fixed
- Python SDK:
- Agents Staying Offline After a Clean WebSocket Close — A live agent now reconnects and catches up on its rooms after the platform closes its connection normally, instead of staying offline until restarted. An agent superseded by a newer session with the same key still stops for good.
Security
- Python SDK:
- WebSocket Credential Exposure — Connection diagnostics and retained error details no longer expose credentials after a connection attempt.
Added
- Python SDK:
- Shared Resource Cleanup — Register async callbacks with
adapter.add_cleanup(client.aclose)before startup. TheAgentorOneShotInvokerthat runs the adapter calls them in reverse registration order when it stops, after in-progress turns and framework teardown have finished. If a callback fails, stopping again retries only the failed callbacks; callbacks that already succeeded do not run again. - Shared-Tool Examples — Runnable examples demonstrate a shared HTTP client, a persistent SQLite connection, and a temporary draft workspace with cleanup run by the agent. After registered resources have been disposed, create fresh resources and a new adapter and agent. Resources shared across adapters stay your application’s to close.
- Stopped-Room Polling — Set
SessionConfig.stopped_resync_secondsorSTOPPED_RESYNC_SECONDSto reduce polling for paused rooms without slowing active rooms. Unset uses the base interval; longer values can delay discovery of a missed resume by that interval. - Turn Wind-Down Timeout — Claude SDK and ACP adapters, including OMP (oh-my-pi), Cursor, and Copilot ACP, expose
turn_settle_timeout_s, how long a room’s unfinished turn has to wind down before it is cancelled when the agent leaves the room or shuts down.
- Shared Resource Cleanup — Register async callbacks with