apix
API Explorer for Agents (and Humans)
Local-first, progressive disclosure API discovery and browsing CLI for the agentic era.
curl -fsSL https://apix.sh/install | shInstall
Latest release:
curl -fsSL https://apix.sh/install | shPin a specific version:
curl -fsSL https://apix.sh/install | sh -s -- --version v0.1.0brew install apix-sh/tap/apixOr tap first, then install:
brew tap apix-sh/tapbrew install apixRequires the Rust toolchain (rustup, cargo).
cargo install apix-cliOr clone and build manually:
git clone https://github.com/apix-sh/cli.gitcd clicargo build --releaseVerify your install: apix --version
Why apix?
API docs today are built for humans browsing the web — not for agents operating in a terminal. Raw OpenAPI specs are massive JSON blobs that flood token windows, and web-based docs require agents to scrape and parse HTML. apix eliminates both obstacles.
Progressive Disclosure
Only fetch what you need. Search → peek → show → call. No wasted tokens.
Local-First
Git-backed vaults stored on your filesystem. Works offline with no cloud dependency.
Agent-Native
Plain markdown files on disk — no web browsing required. Agents use standard file and shell tools; no browser needed.
Blazing Fast
Written in Rust. Near-instant startup, ripgrep-powered search, sparse Git checkout.
How It Works
The progressive discovery loop lets agents (and humans) gather context efficiently before executing API calls.
Discover
Search the registry for APIs matching your needs.
apix search "audio generation"Pull
Sparse-checkout only the API you need into your local vault.
apix pull openaiGrep, Peek & Show
Grep to locate endpoints by keyword, peek for a quick summary of required parameters, or show for the full documentation — progressive detail on demand.
# find endpoints matching a keywordapix grep openai completions# condensed view — required params onlyapix peek openai/v1/chat/completions/POST# full documentationapix show openai/v1/chat/completions/POSTSince the vault is just local files, agents can also use native Unix tools (ls, find, grep, etc.) to explore the vault directly.
Call
Execute the HTTP call directly from the route (with cURL-compatible arguments).
apix call openai/v1/chat/completions/POST \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -d '{"model":"gpt-4","messages":[...]}'