Tyler Longwell 17796c0abd feat(goose-cli-acp): interactive ACP terminal client
Complete implementation of goose-cli-acp — an interactive terminal client
for the goose AI agent via Agent Client Protocol (JSON-RPC 2.0).

Architecture (19 files, ~4,770 LOC, 68 tests):
- SessionMode enum (Rich/Plain/Pipe) — zero boolean flags in stream loop
- Viewport-rewrite markdown streaming at 30fps with SynchronizedUpdate
- Permission handler with cached/auto → interactive two-phase resolution
- Terminal escape sanitization (CSI/OSC/C0/C1/DEL) at every display boundary
- RAII RawModeGuard + panic hook for terminal safety
- Monotonic tool output IDs with VecDeque eviction

Features:
- Interactive REPL with reedline, streaming markdown, syntax highlighting
- Tool call approval UI with per-tool memory (y/n/a/v/Esc)
- Slash commands (/help, /theme, /alias, /show, /clear, /commands)
- User-defined commands with YAML frontmatter (Claude Code compatible)
- 4 built-in themes + custom YAML themes with semantic color tokens
- Session resume, history replay, recipe support
- Context %, model name, git branch in adaptive prompt
- Ctrl+O to open $EDITOR for large input buffers
- Server mode (--server) and one-shot/piped modes
- Ctrl+C at prompt (hint), Esc/Ctrl+C during streaming (cancel turn)

Server changes (goose-acp):
- Custom _goose/session/new_with_recipe request handler
- build_tool_call_content reuse for direct tool calls

Triple-reviewed by Codex (9/10), Opus (9/10), Gemini 3.1 Pro (10/10).
All three APPROVE. Build/clippy/fmt/test clean.
2026-03-01 20:38:07 -05:00
2026-02-11 14:35:24 +00:00
2026-02-11 14:35:24 +00:00
2025-12-23 15:38:26 -06:00
2026-02-11 14:35:24 +00:00
2026-02-17 14:41:57 +01:00
2026-02-11 14:35:24 +00:00
2026-02-10 22:32:20 +00:00
2024-09-09 14:56:30 -04:00
2026-01-22 11:45:27 +11:00
2025-09-26 23:44:38 -05:00

goose

a local, extensible, open source AI agent that automates engineering tasks

Discord CI

goose is your on-machine AI agent, capable of automating complex development tasks from start to finish. More than just code suggestions, goose can build entire projects from scratch, write and execute code, debug failures, orchestrate workflows, and interact with external APIs - autonomously.

Whether you're prototyping an idea, refining existing code, or managing intricate engineering pipelines, goose adapts to your workflow and executes tasks with precision.

Designed for maximum flexibility, goose works with any LLM and supports multi-model configuration to optimize performance and cost, seamlessly integrates with MCP servers, and is available as both a desktop app as well as CLI - making it the ultimate AI assistant for developers who want to move faster and focus on innovation.

Watch the video

Quick Links

Need Help?

a little goose humor 🪿

Why did the developer choose goose as their AI agent?

Because it always helps them "migrate" their code to production! 🚀

goose around with us

S
Description
an open-source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Readme Apache-2.0 2 GiB
Languages
Rust 63.6%
TypeScript 29.6%
JavaScript 1.7%
Shell 1.6%
Python 1.5%
Other 1.8%