Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt

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

Build Compass into your agent stack

Compass exposes two surfaces designed for non-UI workflows:

Coding Assistant

LLM-optimized docs Cursor, Claude Code, Copilot, and other AI assistants can fetch directly. Drop a single URL into your project config and let the agent write the integration.

CLI

A scriptable command-line interface to every Compass endpoint. Use it for one-off queries, shell pipelines, CI jobs, or as the tool layer behind an autonomous agent.

Why both?

Coding AssistantCLI
What it isReference docs in a format AI assistants understandA binary that calls the API for you
Used byCursor, Claude Code, Copilot, ChatGPTHumans in a terminal, shell scripts, AI agents calling tools
Best forGenerating integration code in your projectInspecting state, scripting workflows, agent tool use
OutputGenerated source code in your repoJSON / table / TOON output to stdout
Many teams use both: the coding assistant scaffolds an integration in their codebase, and the CLI runs alongside for inspection, automation, and agent tooling.

Agent-friendly by design

The CLI ships with an --agent-mode flag that switches output to TOON (token-efficient) format and enables structured error messages. It auto-activates when the CLI detects it’s being invoked from a known agent environment (CLAUDE_CODE, CURSOR_AGENT, etc.) — so an agent calling compass earn earn-vaults ... gets parseable output without you having to configure anything. See the CLI page for details.

Get Started

New to Compass? Start with the SDK quickstart.

API Reference

Browse every endpoint the CLI and SDKs wrap.