github docker/cagent v1.28.1

7 hours ago

This release adds image support for AI agents, improves cross-platform compatibility, and includes various stability fixes.

What's New

  • Adds image support to read_file tool and MCP tool results, allowing agents to view and describe images
  • Adds content-based MIME detection and automatic image resizing for vision capabilities
  • Strips image content for text-only models using model capabilities detection

Improvements

  • Reduces builtin tool prompt lengths while preserving key examples for better performance
  • Skips hidden directories in recursive skill loading to avoid walking large trees like .git and .node_modules
  • Only uses insecure TLS for localhost OTLP endpoints for better security

Bug Fixes

  • Fixes Esc key not interrupting sub-agents in multi-agent sessions
  • Fixes slice bounds out of range panic for short JWT tokens
  • Fixes goroutine tight loop in LSP readNotifications
  • Fixes race condition with elicitation events channel
  • Avoids looping forever on symlinks during skill loading
  • Handles json.Marshal errors for tool Parameters and OutputSchema

Technical Changes

  • Replaces syscall.Rmdir with golang.org/x/sys for cross-platform directory removal
  • Removes per-chunk UpdateMessage debug log from SQLite store to reduce log noise
  • Stops tool sets for team loaded in GetAgentToolCount
  • Migrates GitHub pages to markdown with Jekyll

What's Changed

  • docs: update CHANGELOG.md for v1.28.0 by @docker-read-write[bot] in #1892
  • Replace syscall.Rmdir with golang.org/x/sys for cross-platform directory removal by @rumpl in #1885
  • Remove per-chunk UpdateMessage debug log by @trungutt in #1896
  • Fixes to the documentation by @dgageot in #1893
  • Pushes docker/docker-agent next to docker/cagent hub image by @gtardif in #1897
  • Reduce builtin tool prompt lengths while preserving key examples by @dgageot in #1879
  • Daily fixes of the bot-detected issues by @dgageot in #1895
  • Skip hidden directories in recursive skill loading by @dgageot in #1875
  • 👀 Vision 👀 by @rumpl in #1889
  • Migrate our GitHub pages to markdown, with Jekyll by @dgageot in #1900
  • fix: Esc key not interrupting sub-agents in multi-agent sessions by @dgageot in #1899

Full Changelog: v1.28.0...v1.28.1

Don't miss a new cagent release

NewReleases is sending notifications on new releases.