Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gloo.com/llms.txt

Use this file to discover all available pages before exploring further.

GlooCode is a terminal-based AI coding agent. You describe what you want in plain English, and it handles the rest — planning the approach, writing the code, running tests, and committing the result via git. It ships as a single binary with no runtime dependencies. Built on OpenCode, an open-source foundation for AI coding agents, GlooCode connects to Gloo AI for cost-optimized model routing and values-aligned AI — the same platform you use for the Completions API and SDKs.

Why GlooCode?

It’s cheaper. GlooCode routes requests through Gloo AI’s optimized model infrastructure. Based on internal benchmarks of typical agentic coding sessions, customers can see up to 60–70% lower cost compared to equivalent direct-provider pricing. Actual savings vary by workload and model selection. It works like you do. GlooCode doesn’t just generate code — it reads your project, understands context, makes a plan, writes the implementation, runs your tests, and commits the changes. You review each step before it lands. It’s extensible. Four built-in agents cover most workflows out of the box. Need something specialized? Define your own agents with any Gloo AI model, custom prompts, and fine-grained permissions.

What It Does

CapabilityHow it works
Autonomous task executionDescribe a goal and GlooCode handles planning, implementation, testing, and committing
Multi-agent architectureFour built-in agents (plan, build, explore, general), each optimized for different work
Full codebase awarenessReads your project files, understands git state, and maintains context across a session
Built-in tool useFile operations, shell commands, web search, LSP integration, and MCP plugins
Custom agentsDefine your own agents with any Gloo AI model and tailored prompts
SDK and proxyTypeScript SDK and Bun proxy for headless or programmatic use

How It Connects to Gloo AI

GlooCode authenticates with the Gloo AI platform using the same API credentials (Client ID and Client Secret) you use for the Completions API, SDKs, and other Gloo AI services. You create these credentials in Gloo AI Studio. When GlooCode sends a model request, it routes through Gloo AI — which handles provider selection, safety screening, and failover automatically. You don’t need to manage API keys for individual model providers.
You need an active Gloo AI account with API credentials to use GlooCode. Without credentials, GlooCode cannot access any models. If you don’t have an account yet, sign up here.

Platform Support

GlooCode ships as a self-contained binary for macOS and Linux:
OSArchitectureVariant
macOSARM64 (Apple Silicon)
macOSx64 (Intel)
LinuxARM64glibc
Linuxx64glibc
LinuxARM64musl
Linuxx64musl
No runtime dependencies are required. The installer detects your platform and downloads the correct binary.
Windows is not currently supported. Windows users can run GlooCode through WSL (Windows Subsystem for Linux) using the Linux binary.

Next Steps

Install GlooCode

Get up and running in under 5 minutes — install, connect credentials, and start coding.

Agents Reference

Learn about the four built-in agents and how to create custom ones for your workflow.

Bring Your Skills

Already using Cursor, Windsurf, Copilot, or Aider? Migrate your custom rules and agents.