The Indices CLI is how we recommend coding agents use Indices. In practice, we find agents perform more efficiently using CLI compared to MCP. Repository: github.com/indicesio/cliDocumentation Index
Fetch the complete documentation index at: https://docs.indices.io/llms.txt
Use this file to discover all available pages before exploring further.
Why CLI over MCP for agents?
For many operations, the CLI is significantly more efficient than MCP:- File uploads: An agent can pipe a file directly —
cat file.pdf | indices runs create --stdin— rather than encoding it to base64 and emitting every character as tokens through the model - Easier configuration: Easier login by using
indices login, vs vendor-specific configuration steps when using MCP.
Installation
macOS and Linux:.zip from GitHub Releases, extract the binary, and add it to your PATH.
Skill: Teach your agent how to use Indices, by installing the skill:
CLI reference
Run:indices --help