aaif-goose/goose
Rust coding agent with MCP tools and local or hosted models, embeddable via ACP
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
goose is the finished agent built on oi-kit, a composable Rust runtime. oi-kit uses a state machine to coordinate model providers, context management, and operations such as tool execution, approval, and compaction. When embedding oi-kit directly, the application supplies storage; the state machine uses the persisted conversation to determine what to do next. Rust exposes the full runtime, while the Python and Kotlin bindings cover providers, streaming, and compaction rather than the complete agent loop.
ACP and MCP serve different roles. goose acp runs the agent as a subprocess, the same split used by the desktop app. The client owns the interface and workflow, sends prompts, and handles streamed responses, tool activity, and permission requests. goose supplies model connections, tools, and saved conversations. MCP connects tools and data to the agent. The Cargo workspace declares rmcp 3.9.0, agent-client-protocol 2.2.0, and agent-client-protocol-http 2.2.0. The HTTP dependency alone does not establish a supported public API deployment.
Key Capabilities & Differentiators
goose can install dependencies, run commands, edit files, and execute tests rather than just suggest code. The CLI and native desktop app expose a complete agent, and MCP extensions let sessions work with additional tools and data. Integration is available with more than 85 providers, including Anthropic, OpenAI, Gemini, OpenRouter, and Amazon Bedrock. Supported local models can be loaded directly in the goose process without Ollama or a separate inference server.
The integration choice depends on what the application needs to own. ACP is the shorter path when goose already supplies the right agent behavior and the application needs its own interface. oi-kit is the better fit when the application must control the sequence of operations, approval policy, or persistence. Its core runtime can be used in native applications, on servers, or in WebAssembly hosts; that does not imply that every provider, tool, or local inference configuration works in each environment.
Trade-offs & Limitations
Compared with an editor-centered rollout using Cursor or GitHub Copilot, goose is a stronger candidate when the selection criteria are model choice, MCP tool integration, or a backend for a custom ACP client. Claude Code is a more direct comparison for terminal-first work; run the same repository tasks and compare model setup, tool approvals, and the effort needed to maintain integrations. oi-kit offers more control than embedding the finished agent, but its alpha status makes dependency pinning and upgrade testing prudent.
Hosted inference avoids operating a model locally but introduces network dependency, provider charges, and an external data boundary. In-process inference removes a service dependency but makes model memory and compute compete with builds, tests, and tools on the same host. Scope what the agent can do through filesystem permissions, credentials, and extension access; approval prompts should not be treated as an isolation boundary. Apache-2.0 permits commercial modification and redistribution subject to its conditions, while models, providers, and external extensions remain subject to their own terms.
Hardware & Deployment Guide
Start with the released CLI or the desktop app for macOS, Linux, or Windows, then configure a model. Hosted providers require network access and provider credentials as applicable. In-process inference removes the need for a separate model server, but an offline deployment still needs local model assets and tools that can work without network access. Self-hosting the agent does not automatically self-host inference or keep MCP traffic local.
Verify source and container builds against the chosen revision. The workspace declares Rust 1.95.0, but the multi-stage Dockerfile starts from rust:1.82-bookworm, runs cargo build --release --package goose-cli, and uses a Debian Bookworm slim runtime. The builder is below the declared Rust requirement; align the toolchain and test the image before adopting it. For upgrades, v1.61.0 began treating all headers in ACP mcpServers configurations as secrets. v1.61.1 drops imported tool-approval state and removes recipe-template re-rendering on session load and fork. Test those behaviors if your deployment imports or forks sessions.
goose acp exposes the finished agent as a subprocess with streamed responses, tool activity, and permission requests.rmcp 3.9.0 with the schemars feature.goose-cli, while the workspace declares Rust 1.95.0; align the toolchain before relying on that build.Terminal-first teams that need an agent to edit code and run tests with their choice of model backend and MCP tools, or product teams that want a ready-made ACP backend.
The team wants only inline editor assistance, cannot manage permissions for tool execution, or requires a validated offline container deployment without first checking model, tool, and image compatibility.
Quick Start & Installation
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| goose ★ | 57.3k | +219 | Rust | Apache-2.0 | Rust coding agent with MCP tools and local or hosted models, embeddable via ACP |
| openinterpreter | 69k | +65 | Rust | Apache-2.0 | A Rust coding CLI with swappable harnesses for low-cost models |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
| warp | 66.2k | +78 | Rust | AGPL-3.0 | A Rust terminal workspace for built-in and external coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/aaif-goose/goose.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about goose
Should I integrate goose through ACP, MCP, or oi-kit?
goose acp as a subprocess, send prompts, consume streamed responses and tool activity, and handle permission requests in your client. Use oi-kit when you need to compose the agent loop and own its policies and storage. MCP connects tools and data to the agent; it does not replace ACP as the client interface.How should I size hardware for hosted versus local inference?
Can I self-host goose commercially or ship a customized build?
When should I choose goose over Cursor, GitHub Copilot, or Claude Code?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy