Skip to main content
The Invoke CLI gives you a terminal interface to the full Invoke execution runtime. Use it to authenticate, scaffold new agent projects, deploy to the runtime, call tools interactively, and inspect registered agents.

Installation

npm install -g @invoke/cli
Or run without installing:
npx @invoke/cli

Authentication

invoke login
Stores your credentials locally for subsequent commands. Your API key is read from INVOKE_API_KEY if set, otherwise the login flow prompts for it.

Commands

invoke init

Scaffold a new agent project with a template.
invoke init <project-name> --template <template-name>
FlagDescription
--templateStarting template (crm-guardrail, billing-agent, blank)
invoke init billing-agent --template crm-guardrail

invoke deploy

Deploy the current project to the Invoke runtime. Run from inside a project directory.
invoke deploy

invoke agents list

List all registered agents in your account.
invoke agents list

invoke call

Call a tool directly from the terminal. Useful for testing without writing SDK code.
invoke call <tool-name> '<params-json>'
invoke call stripe.charge_customer \
  '{"customer_id":"cust_123","amount":2400}'

invoke demo

Run the full execution loop — reconciliation, state verification, policy gates, and trace output — against a live demo scenario. No real Stripe account needed.
invoke demo

Next steps