Skip to content

Releases: docker/cagent

v1.22.0

09 Feb 18:16
a43090e

Choose a tag to compare

This release enhances the chat experience with history search functionality and improves file attachment handling, along with multi-turn conversation support for command-line operations.

What's New

  • Adds Ctrl+R reverse history search to the chat editor for quickly finding previous conversations
  • Adds support for multi-turn conversations in cagent exec, cagent run, and cagent eval commands
  • Adds support for queueing multiple messages with cagent run question1 question2 ...

Improvements

  • Improves file attachment handling by inlining text-based files and fixing placeholder stripping
  • Refactors scrollbar into a reusable scrollview component for more consistent scrolling behavior across the interface

Bug Fixes

  • Fixes pasted attachments functionality
  • Fixes persistence of multi_content for user messages to ensure attachment data is properly saved
  • Fixes session browser shortcuts (star, filter, copy-id) to use Ctrl modifier, preventing conflicts with search input
  • Fixes title generation spinner that could spin forever
  • Fixes scrollview height issues when used with dialogs
  • Fixes double @@ symbols when using file picker for @ attachments

Technical Changes

  • Updates OpenAI schema format handling to improve compatibility

What's Changed

  • docs: update CHANGELOG.md for v1.21.0 by @docker-read-write[bot] in #1649
  • better file attachments by @krissetto in #1640
  • OpenAI doesn't like those format indications on the schema by @dgageot in #1650
  • feat: add Ctrl+R reverse history search by @Mostamhd in #1630
  • Prevent title generation spinner to spin forever by @dgageot in #1645
  • Refactor scrollbar into more reusable scrollview component by @krissetto in #1654
  • fix scrollview using too much height with dialogs by @krissetto in #1660
  • Fix: persist multi_content for user messages by @trungutt in #1652
  • fix: use ctrl modifier for session browser shortcuts to avoid search conflict by @dgageot in #1656
  • Fix pasted attachments by @krissetto in #1659
  • deleting version 2 so i can use permissions by @derekmisler in #1661
  • Multi turn (cagent exec|run|eval) by @dgageot in #1662

Full Changelog: v1.21.0...v1.22.0

v1.21.0

09 Feb 10:26
4315256

Choose a tag to compare

This release adds a new generalist coding agent, improves agent configuration handling, and includes several bug fixes and UI improvements.

What's New

  • Adds a generalist coding agent for enhanced coding assistance
  • Adds OCI artifact wrapper for spec-compliant manifest with artifactType

Improvements

  • Supports recursive ~/.agents/skills directory structure
  • Wraps todo descriptions at word boundaries in sidebar for better display
  • Preserves 429 error details on OpenAI for better error handling

Bug Fixes

  • Fixes subagent delegation and validates model outputs when transfer_task is called
  • Fixes YAML parsing issue with unquoted strings containing special characters like colons

Technical Changes

  • Freezes config version v4 and bumps to v5

What's Changed

Full Changelog: v1.20.6...v1.21.0

v1.20.6

07 Feb 09:39
8d9dcc9

Choose a tag to compare

This release introduces branching sessions, model fallbacks, and automated code quality scanning, along with performance improvements and enhanced file handling capabilities.

What's New

  • Adds branching sessions feature that allows editing previous messages to create new session branches without losing original conversation history
  • Adds automated nightly codebase scanner with multi-agent architecture for detecting code quality issues and creating GitHub issues
  • Adds model fallback system that automatically retries with alternative models when inference providers fail
  • Adds skill invocation via slash commands for enhanced workflow automation
  • Adds --prompt-file CLI flag for including file contents as system context
  • Adds debug title command for troubleshooting session title generation

Improvements

  • Improves @ attachment performance to prevent UI hanging in large or deeply nested directories
  • Switches to Anthropic Files API for file uploads instead of embedding content directly, dramatically reducing token usage
  • Enhances scanner resilience and adds persistent memory system for learning from previous runs

Bug Fixes

  • Fixes tool calls score rendering in evaluations
  • Fixes title generation for OpenAI and Gemini models
  • Fixes GitHub Actions directory creation issues

Technical Changes

  • Refactors to use cagent's built-in memory system and text format for sub-agent output
  • Enables additional golangci-lint linters and fixes code quality issues
  • Simplifies PR review workflow by adopting reusable workflow from cagent-action
  • Updates Model Context Protocol SDK and other dependencies

What's Changed

Full Changelog: v1.20.5...v1.20.6

v1.20.5

05 Feb 13:30
e517b6a

Choose a tag to compare

This release improves stability for non-interactive sessions, updates the default Anthropic model to Claude Sonnet 4.5, and adds support for private GitHub repositories and standard agent directories.

What's New

  • Adds support for using agent YAML files from private GitHub repositories
  • Adds support for standard .agents/skills directory structure
  • Adds deepwiki integration to the librarian
  • Adds timestamp tracking to runtime events
  • Allows users to define their own default model in global configuration

Improvements

  • Updates default Anthropic model to Claude Sonnet 4.5
  • Adds reason explanations when relevance checks fail during evaluations
  • Persists ACP sessions to default SQLite database unless specified with --session-db flag
  • Makes aliased agent paths absolute for better path resolution
  • Produces session database for evaluations to enable investigation of results

Bug Fixes

  • Prevents panic when elicitation is requested in non-interactive sessions
  • Fixes title generation hanging with Gemini 3 models by properly disabling thinking
  • Fixes current agent display in TUI interface
  • Prevents TUI dimensions from going negative when sidebar is collapsed
  • Fixes flaky test issues

Technical Changes

  • Simplifies ElicitationRequestEvent check to reduce code duplication
  • Allows passing additional environment variables to Docker when running evaluations
  • Passes LLM as judge on full transcript for better evaluation accuracy

What's Changed

Full Changelog: v1.20.4...v1.20.5

v1.20.4

03 Feb 12:05
a41ac83

Choose a tag to compare

This release improves session handling with relative references and tool permissions, along with better table rendering in the TUI.

What's New

  • Adds support for relative session references in --session flag (e.g., -1 for last session, -2 for second to last)
  • Adds "always allow this tool" option to permanently approve specific tools or commands for the session
  • Adds granular permission patterns for shell commands that auto-approve specific commands while requiring confirmation for others

Improvements

  • Updates shell command selection to work with the new tool permission system
  • Wraps tables properly in the TUI's experimental renderer to fit terminal width with smart column sizing

Bug Fixes

  • Fixes reading of legacy sessions
  • Fixes getting sub-session errors where session was not found

Technical Changes

  • Adds test databases for better testing coverage
  • Automatically runs PR reviewer for Docker organization members
  • Exposes new approve-tool confirmation type via HTTP and ConnectRPC APIs

What's Changed

Full Changelog: v1.20.3...v1.20.4

v1.20.3

02 Feb 16:29
d53bf3e

Choose a tag to compare

This release migrates PR review workflows to packaged actions and includes visual improvements to the Nord theme.

Improvements

  • Migrates PR review to packaged cagent-action sub-actions, reducing workflow complexity
  • Changes code fences to blue color in Nord theme for better visual consistency

Technical Changes

  • Adds task rebuild when themes change to ensure proper theme updates
  • Removes local development configuration that was accidentally committed

What's Changed

  • Migrate PR review to packaged cagent-action sub-actions by @derekmisler in #1543
  • docs: update CHANGELOG.md for v1.20.1 by @docker-read-write[bot] in #1556
  • docs: update CHANGELOG.md for v1.20.2 by @docker-read-write[bot] in #1557
  • Change the code fences to blue in nord by @rumpl in #1560
  • task rebuild if themes change by @krissetto in #1561
  • remove local dev oopsie by @krissetto in #1562

Full Changelog: v1.20.2...v1.20.3

v1.20.2

02 Feb 10:55
77a6b31

Choose a tag to compare

This release improves the tools system architecture and enhances TUI scrolling performance.

Improvements

  • Improves render and mouse scroll performance in the TUI interface

Technical Changes

  • Adds StartableToolSet and As[T] generic helper to tools package
  • Adds capability interfaces for optional toolset features
  • Adds ConfigureHandlers convenience function for tools
  • Migrates StartableToolSet to tools package and cleans up ToolSet interface
  • Removes BaseToolSet and DescriptionToolSet wrapper
  • Reorganizes tool-related code structure

What's Changed

Full Changelog: v1.20.1...v1.20.2

v1.20.1

02 Feb 10:44
96491c4

Choose a tag to compare

This release includes UI improvements, better error handling, and internal code organization enhancements.

Improvements

  • Changes audio listening shortcut from ctrl-k to ctrl-l (ctrl-k is now reserved for line editing)
  • Improves title editing by allowing double-click anywhere on the title instead of requiring precise icon clicks
  • Keeps footer unchanged when using /session or /new commands unless something actually changes
  • Shows better error messages when using "auto" model with no available providers or when dmr is not available

Bug Fixes

  • Fixes flaky test that was causing CI failures
  • Fixes cagent new command functionality
  • Fixes title edit hitbox issues when title wraps to multiple lines

Technical Changes

  • Organizes TUI messages by domain concern
  • Introduces SessionStateReader interface for read-only access
  • Introduces Subscription type for cleaner animation lifecycle management
  • Improves tool registry API with declarative RegisterAll method
  • Introduces HitTest for centralized mouse target detection in chat
  • Makes sidebar View() function pure by moving SetWidth to SetSize
  • Introduces cmdbatch package for fluent command batching
  • Organizes chat runtime event handlers by category
  • Introduces subscription package for external event sources
  • Separates CollapsedViewModel from rendering in sidebar
  • Improves provider handling and error messaging

What's Changed

Full Changelog: v1.20.0...v1.20.1

v1.20.0

30 Jan 13:36
652b6a5

Choose a tag to compare

This release introduces editable session titles, custom TUI themes, and improved evaluation capabilities, along with database improvements and bug fixes.

What's New

  • Adds editable session titles with /title command and TUI support for renaming sessions
  • Adds custom TUI theme support with built-in themes and hot-reloading capabilities
  • Adds permissions view dialog for better visibility into agent permissions
  • Adds concurrent LLM-as-a-judge relevance checks for faster evaluations
  • Adds image cache to cagent eval for improved performance

Improvements

  • Makes slash commands searchable in the command palette
  • Improves command palette with scrolling, mouse support, and dynamic resizing
  • Adds validation error display in elicitation dialogs when Enter is pressed
  • Adds Ctrl+z support for suspending TUI application to background
  • Adds --exit-on-stdin-eof flag for better integration control
  • Adds --keep-containers flag to cagent eval for debugging

Bug Fixes

  • Fixes auto-heal corrupted OCI local store by forcing re-pull when corruption is detected
  • Fixes input token counting with Gemini models
  • Fixes space key not working in elicitation text input fields
  • Fixes session compaction issues
  • Fixes stdin EOF checking to prevent cagent api from terminating unexpectedly in containers

Technical Changes

  • Extracts messages from sessions table into normalized session_items table
  • Adds database backup and recovery on migration failure
  • Maintains backward/forward compatibility for session data
  • Removes ESC key from main status bar (now shown in spinner)
  • Removes progress bar from cagent eval logs
  • Sends mouse events to dialogs only when open

What's Changed

Full Changelog: v1.19.7...v1.20.0

v1.19.7

26 Jan 16:10
aa4fa87

Choose a tag to compare

This release improves the user experience with better error handling and enhanced output formatting.

Improvements

  • Improves error handling and user feedback throughout the application
  • Enhances output formatting for better readability and user experience

Technical Changes

  • Updates internal dependencies and build configurations
  • Refactors code structure for improved maintainability
  • Updates development and testing infrastructure

What's Changed

  • Add rate limits to the token_usage event by @dgageot in #1505
  • docs: update CHANGELOG.md for v1.19.6 by @docker-read-write[bot] in #1506

Full Changelog: v1.19.6...v1.19.7