Apideck CLI
$ apideck Official Med RiskApideck CLI (apideck-libraries/cli) is an OpenAPI-native command-line interface designed specifically for AI agents. Instead of injecting huge schemas, apideck agent-prompt outputs an ~80-token guide for progressive discovery and enforces built-in read/write/dangerous safety guardrails.
npm install -g @apideck/cli apideck agent-prompt replaces thousands of tokens of SaaS MCP tool schemas with an ~80-token progressive CLI discovery pattern.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Pioneered apideck agent-prompt, OpenAPI-derived self-describing --help, JSON responses, and zero-SDK runtime footprint.
- Built-in
agent-promptand progressive OpenAPI--help
Automatically classifies operations into read, write, and dangerous permission tiers for safer agent gating.
- Built-in read/write/dangerous operation classification
Cross-platform Node.js CLI via npx @apideck/cli or npm install -g @apideck/cli.
- Published on npm as
@apideck/cli
Highly efficient for SaaS integrations if you use Apideck's Unified APIs; less general-purpose outside Apideck.
- Covers Apideck's unified Accounting, CRM, HRIS, and ATS APIs
Official apideck-libraries/cli repository maintained by Apideck under MIT.
- Official
apideck-libraries/clirepo
Clear README and agent-prompt design documentation.
- Docs at github.com/apideck-libraries/cli
Security, Auth & Guardrails
Configured via APIDECK_API_KEY, APIDECK_APP_ID, APIDECK_CONSUMER_ID env vars or local CLI config.
CLI is MIT open-source; Apideck Unified API usage follows Apideck's free developer tier and commercial plans.
# Apideck CLI Agent Rules - Run `apideck agent-prompt` once per session to orient on progressive command discovery. - Always use `--help` on subcommands before calling write or dangerous operations. - Supply `APIDECK_API_KEY`, `APIDECK_APP_ID`, and `APIDECK_CONSUMER_ID` via env vars.
Agent-Ready Command Recipes
Safe Read-Only Queries
agent-prompt instruction apideck agent-prompt
Prints a compact ~80-token usage prompt teaching an agent how to discover Apideck commands.
apideck accounting invoices list --help
Inspects endpoint parameters on demand from the OpenAPI spec without making an API call.
Controlled Writes & Previews
apideck crm contacts list --limit 10
Queries unified SaaS CRM contacts using explicit pagination bounds.
Strengths for Agents
- +
apideck agent-promptcuts SaaS API onboarding down to ~80 tokens. - + Built-in classification of read vs write vs dangerous operations.
- + OpenAPI-native command tree requires no manual SDK updates.
Caveats & Pitfalls
- ! Scoped specifically to Apideck Unified API SaaS connectors rather than arbitrary third-party specs.