AI & LLMs · Guide · AI & Prompt Tools
How to Use Goose
Set up Block's open-source Goose agent on your machine, connect LLM providers, enable extensions, and run headless with this free guide.
Goose is an open-source, extensible AI agent from Block (the Square/Cash App company). It runs on your machine, speaks MCP natively, and is designed so you can plug in new tools — GitHub, a browser, a database, your own scripts — and have the agent use them without custom glue.
Advertisement
What Goose actually is
Goose is a local agent you drive from either a desktop app or a CLI. It connects to anyLLM provider (Anthropic, OpenAI, Google, Databricks, Ollama, OpenRouter, and more) and uses extensions — MCP servers, effectively — to gain capabilities. The developer extension ships by default and gives it a shell, file editor, and text tools; everything else is opt-in.
Installing
# macOS / Linux CLI curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash # or install the Desktop app from block.github.io/goose
Run goose configure once to pick a provider and model, then goose session to start talking. The desktop app wraps the same engine with a chat UI, extension toggles, and a log viewer; under the hood both share the same sessions.
A first session
cd my-project goose session --name refactor-auth
Describe the task: “audit how we pass the session token, move it to an httpOnly cookie, and update the two fetch helpers that read it from localStorage.” Goose will grep, edit, run tests via the developer extension, and keep going until the task is done or it hits a tool error. Named sessions mean you can goose session --resume the next morning and pick up with full history.
Extensions and recipes
The real power is extensions. Add the GitHub MCP to let Goose open PRs, the Playwright MCP for browser automation, a Postgres MCP for schema work, or point it at your own internal MCP server. Recipes are YAML files that predefine the provider, extensions, and a starting prompt — version them in your repo so teammates launch the same agent shape with one command.
Configuration pitfalls
Goose runs real commands on your machine, so the developer extension is effectively root-in-your-workspace. Use a project directory you are happy to blow away, or sandbox with a devcontainer on first contact. Also watch the context: Goose will happily pull in large files — set GOOSE_MAX_TURNS or use the lead/worker model split so a cheap model handles the long-running grunt work and only the planner uses your premium tokens.
When Goose shines
Ops-flavored work where you want one agent to touch git, files, a database, and a browser in the same session. Also a strong pick if you are MCP-curious, since the ecosystem is native rather than bolted on.
When not to use it
If you want tight IDE integration with inline diffs and click-to-approve, Cline or Windsurf feel more polished. Goose is a terminal-and-window tool first; the editor experience is intentionally not the focus. And the docs move quickly — pin a version for team use instead of chasing stable.
Use these while you read
Tools that pair with this guide
- System Prompt BuilderCompose a focused system prompt from a role, tone, constraints, and output format — copy-ready for any LLM.AI & Prompt Tools
- AI Prompt GeneratorTurn a vague idea into a structured prompt. Pick role, task, context, constraints, and output format. Works with ChatGPT, Claude, and Gemini.AI & Prompt Tools
- AI Token CounterEstimate tokens, characters, words, and approximate API cost for GPT-4o, GPT-4, Claude, and Gemini — before you hit send.AI & Prompt Tools
- AI Prompt LibraryBrowse a curated catalog of prompt templates for writing, coding, marketing, and research. One click to copy.AI & Prompt Tools
Advertisement
Continue reading
- AI & LLMsGitHub Copilot Pricing and ComparisonCompare free vs paid GitHub Copilot tiers and analyze it against ChatGPT, Cursor, and Tabnine. Find the best value plan instantly with this free online guide.
- AI & LLMsGitHub Copilot Features and CapabilitiesTest what Copilot really does — code accuracy, scope limits, debugging, web dev, legacy code, tests, docs, team customization. Free guide, no sign-up.
- AI & LLMsGitHub Copilot Security and Data HandlingAudit where your code goes, who sees it, training-data policy, network needs, and what happens when Copilot suggests broken code. Free, no sign-up.
- AI & LLMsAI Fluency SkillsThe 8 sub-skills of AI fluency: prompt structure, model selection, tool use, quality calibration, iteration, context management, cost awareness, privacy.
- AI & LLMsAnthropic Skills ExplainedSkills as Anthropic's answer to Custom GPTs — markdown-defined, version-controlled in git, work in terminal. Anatomy + Skills vs Custom GPTs.
- AI & LLMsKimi K2 vs DeepSeek V3Two open-weight Chinese flagships. Kimi K2 = 1M context, DeepSeek V3.2 = top-tier reasoning + coding. Pick by use case.