Install
Install the CLI using your preferred method.
Quick start
Configure your credentials and start making API calls.
Features
Built for both human developers and AI agents.
OpenAPI-native
Parses the unified Apideck OpenAPI spec directly. No generated code, no SDK dependency.
Beautiful TUI explorer
Interactive API playground in the terminal. Browse APIs, resources, and operations.
AI agent-ready
agent-prompt outputs a token-optimized prompt (~80 tokens vs ~3,600 for MCP).
Permission engine
Auto-classified operations (read/write/dangerous) with built-in safety rails.
Why CLI?
Compare the CLI to other approaches for AI agent integration.
| Dimension | curl + OpenAPI | MCP | Apideck CLI |
|---|---|---|---|
| Context cost | ~5,000–50,000 tokens | ~3,600 tokens/API | ~80 tokens |
| Auth handling | Manual, per-request | Per-server, inconsistent | Automatic |
| Safety/Permissions | None | Optional, per-server | Built-in |
| Discovery | Load entire spec | Schema dump upfront | Lazy, progressive |
| Runtime deps | None | Server process | None (static binary) |
| Agent compatibility | Any (shell) | MCP clients only | Any (shell) |
AI Agent Integration
Run apideck agent-prompt to generate a token-optimized prompt (~80 tokens) that teaches any AI agent the CLI. Use apideck skill install to write a Claude Code skill so your agent automatically knows Apideck.