Skip to main content
Goose is an open-source AI coding assistant from Block (Square). It runs in your terminal and can autonomously write code, run commands, and manage files.
Setup time: ~5 minutes

Prerequisites

Installation

Verify installation:

Configuration

Create a custom provider file for Infercom.

Step 1: Create Provider Directory

Step 2: Create Provider File

Create ~/.config/goose/custom_providers/infercom.json:

Step 3: Set API Key

Add to your shell profile (~/.bashrc, ~/.zshrc) for persistence.

Step 4: Configure Goose

Select Configure Providers and choose Infercom.

Option 2: OpenAI Compatible

Use the built-in OpenAI provider with custom endpoint:
Then run goose configure and select OpenAI.

Model

Use MiniMax-M2.7 - optimized for agentic coding with 192K context and tool calling support.
Goose relies heavily on tool calling. MiniMax-M2.7 fully supports this.

Usage

Interactive Session

Then chat with Goose:

Non-Interactive

Useful Commands

Configuration Paths

Troubleshooting

Provider Not Showing

  1. Verify the JSON file is valid:
  2. Check the file location is correct
  3. Re-run goose configure

Authentication Failed

Verify your API key is set:
Test the connection:

Tool Calling Errors

MiniMax-M2.7 supports tool calling. If you see errors:
  1. Ensure you’re using MiniMax-M2.7 (not other models)
  2. Check the model configuration includes "supports_tool_calling": true

Next Steps