Download Latest Version docker-agent-windows-amd64.exe (125.5 MB) Google Add to Preferred Sources
Home / v1.142.0
Name Modified Size InfoDownloads / Week
Parent folder
docker-agent-windows-arm64.exe 2026-09-21 115.3 MB
docker-agent-darwin-amd64 2026-09-21 123.3 MB
docker-agent-darwin-arm64 2026-09-21 114.8 MB
docker-agent-linux-amd64 2026-09-21 144.1 MB
docker-agent-linux-arm64 2026-09-21 136.5 MB
docker-agent-windows-amd64.exe 2026-09-21 124.5 MB
README.md 2026-09-21 9.5 kB
v1.142.0 source code.tar.gz 2026-09-21 12.2 MB
v1.142.0 source code.zip 2026-09-21 13.9 MB
Totals: 9 Items   784.6 MB 0

This release adds several new features including background agent synchronization, native Anthropic compaction, expanded Gemini capabilities, OpenAI provider options, and a WebAssembly shared runtime, alongside numerous bug fixes for token accounting, streaming usage, and cost tracking.

What's New

  • Adds wait_background_agents tool that performs an all-settled join on a caller-supplied list of task IDs, waiting up to a configurable timeout and returning an ordered result array
  • Adds native Anthropic conversation compaction with replay guards and prefix mismatch controls, opt-in progress updates, strict tool argument enforcement, cache diagnostics, and request-context secret redaction
  • Adds cache_diagnostics, preserve_reasoning, and native_tool_search provider opts for OpenAI's Responses API
  • Adds native Gemini text embeddings support, enabling RAG use-cases on Gemini via the dedicated embeddings API
  • Adds support for Gemini service tiers via provider_opts.service_tier, including flex tier with extended idle timeout handling
  • Adds support for Gemini URL Context via provider_opts.url_context: true, allowing the model to fetch and reason over public URLs at inference time
  • Adds Docker Model Runner model metadata and context limit discovery via the /engines/_configure endpoint, enabling auto-compaction and context gauge support for DMR models
  • Replaces the WebAssembly bespoke event loop with the shared embeddedchat-backed agent runtime, adding portable tools, in-memory storage, egress proxy, session-scoped MCP OAuth token stores, and opt-in cloud provider builds

Improvements

  • Defers TUI frame composition while the terminal is blurred, avoiding unnecessary rendering work during unfocused sessions

Bug Fixes

  • Fixes deferred tail buffer not being cleared when a different assistant message becomes the active owner, preventing old content from bleeding into new message output
  • Fixes Gemini native tool-call IDs being stripped instead of preserved, and fixes tool-response name matching to prevent malformed conversation history
  • Fixes Gemini native tool-call ProviderID not being preserved in the WASM accumulator
  • Fixes session compaction not drawing from the session's cost or token budgets, allowing spend beyond configured ceilings
  • Fixes TUI animations continuing to run in unfocused and detached (tmux) sessions
  • Fixes empty, refused, or reasoning-only assistant responses being skipped even when the provider reported billable usage
  • Fixes OpenAI WebSocket pool allowing a single idle connection to be shared across concurrent streaming requests, which could corrupt both responses
  • Fixes concurrent map and slice access on session model-state fields (AgentModelOverrides, CustomModelsUsed) causing data races
  • Fixes unsafe concurrent Close and Next/retry calls on WebSocket and Anthropic streams
  • Fixes runtime streams being abandoned before fully drained, which could release streaming locks or turn tokens prematurely
  • Fixes cache tokens not being counted toward max_tokens token budgets; previously only input+output tokens were counted, allowing cache-heavy calls to bypass configured limits
  • Fixes Gemini tool-use input tokens (ToolUsePromptTokenCount) being dropped, understating token usage and cost
  • Fixes Anthropic streaming input token counts and cache read/write metrics being dropped because they were read from message_delta instead of the accumulated usage object
  • Fixes per-call telemetry costs being reported incorrectly; previously cumulative session cost was emitted before the current call was charged
  • Fixes context limits not being bounded before narrowing to int in the runtime
  • Fixes deferral state not being preserved across session reloads for tools
  • Fixes Bedrock SDK bearer authentication scheme configuration
  • Fixes concurrent indexing usage accounting in RAG

Technical Changes

  • Refactors external reference name and config import suffix parsing to use strings.CutLast
  • Simplifies test sleep-and-wait pairs using Go 1.27's synctest.Sleep
  • Simplifies composite literals in runtime and config packages using Go 1.27 promoted fields
  • Adds Lint/ExclusiveStreamLease analyzer to detect shared WebSocket stream leases
  • Adds Lint/SessionStateAccessors cop to require session model-state accessors
  • Adds Lint/StreamCloseSafety cop to detect unsafe stream close access
  • Adds lint detection for abandoned runtime streams
  • Consolidates and deduplicates documentation across custom commands, thinking/task budgets, provider credentials, MCP configuration, server CLI flags, generated media, provider inheritance examples, and tool concepts

What's Changed

Full Changelog: https://github.com/docker/docker-agent/compare/v1.141.0...v1.142.0

Source: README.md, updated 2026-09-21