Goose
Use TensorX models with Goose — the open-source, on-machine AI agent by Block (Square).
Overview
Goose is an open-source agent by Block with support for declarative custom providers.
Prerequisites
macOS, Linux, or Windows
A TensorX API key (sign up here)
Installation
brew install block/tap/goosecurl -fsSL https://github.com/block/goose/releases/latest/download/download_cli.sh | bashDownload from block.github.io/goose
Configuration
Option 1: Using OpenAI-Compatible Provider
Set environment variables and configure Goose:
Then configure via the CLI:
When prompted:
Choose OpenAI Compatible as the provider
Enter
https://api.tensorx.ai/v1as the base URLEnter your model name:
z-ai/glm-5.3
Option 2: Settings File
Edit ~/.config/goose/config.yaml:
Model selection
Call GET /v1/models with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query GET /v1/model/info before selecting the model. See Models for examples.
Usage
Start an interactive session:
Or run a one-shot command:
Goose can:
Read and edit files in your project
Run terminal commands
Search your codebase
Connect to external tools via MCP extensions
Troubleshooting
Model Not Responding
Verify your API key:
echo $TENSORX_API_KEYTest the connection:
Provider Not Found
Run goose configure to reconfigure your provider settings.
See Also
Last updated
Was this helpful?

