apix

API Explorer for Agents (and Humans)

Local-first, progressive disclosure API discovery and browsing CLI for the agentic era.

Quick install
curl -fsSL https://apix.sh/install | sh

Install

Latest release:

curl -fsSL https://apix.sh/install | sh

Pin a specific version:

curl -fsSL https://apix.sh/install | sh -s -- --version v0.1.0
brew install apix-sh/tap/apix

Or tap first, then install:

brew tap apix-sh/tapbrew install apix

Requires the Rust toolchain (rustup, cargo).

cargo install apix-cli

Or clone and build manually:

git clone https://github.com/apix-sh/cli.gitcd clicargo build --release

Verify your install: apix --version

Install Agent Skill

Give your AI coding agents the ability to use apix directly in your workspace.

Works with Cursor, Claude Code, Codex CLI, and more via skills.sh:

npx skills add apix-sh/cli

Install via ClawHub:

npx clawhub@latest install apix

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.

apix — ~/projects
$

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 openai

Grep, 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/POST

Since 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":[...]}'

Command reference →

FAQ