Skip to content
Garret Premo edited this page Apr 23, 2026 · 4 revisions

What is apijack

apijack is a framework for generating full-featured CLIs from OpenAPI specs. It produces typed API clients, Commander-based command trees, and supports AI-agentic workflow automation via YAML routines and MCP server integration.

Who is this for

  • CLI users — people using a generated CLI to interact with APIs, write routines, and automate workflows
  • Developers — people building their own CLIs with the apijack framework, configuring auth strategies, and extending with custom commands

Start here

Pick the path that matches what you're doing:

I want to use a CLI that someone built with apijack → QuickstartManaging EnvironmentsWriting Routines

I want to build a CLI for my own API → Building a CLIAuthentication StrategiesProject Mode

I want to author routines and need detail on a specific feature → jump straight to Variables, Output Capture, Conditions & Assertions, Loops, Error Handling, or Sub-Routines

I want to see an end-to-end examplePetstore Example App

Install

bun install -g @apijack/core

or

npm install -g @apijack/core

Using a CLI

Authoring routines

Building a CLI

Reference

Clone this wiki locally