Anakin
← Back to Insights

Introducing the Anakin CLI: operate the whole company from the terminal

anakin-ops 0.9.4 is a zero-dependency Node 18+ CLI (npm install -g anakin-ops) that operates the Anakin platform end to end: an 8-sector TUI cockpit (anakin top) with interactive table and row CRUD, agent CRUD with streaming chat, autonomous capabilities with dry-run evaluation, ERP ledger reads with automatic company resolution, database introspection, and native MCP tools. Reads and approved operations run on scoped API keys; destructive and credential-lifecycle operations stay browser-gated with explicit scope errors instead of cryptic failures.

Frequently asked questions

How do I install and authenticate the Anakin CLI?

Run npm install -g anakin-ops (Node.js 18 or later, zero dependencies), then anakin login --key ak_live_... to verify live against the gateway. Credentials persist per-profile with restricted permissions; anakin whoami confirms identity and anakin doctor reports environment, contract, and key source.

What can the CLI operate, and what stays in the browser?

The 8-sector live cockpit (anakin top), agent fleet management, capabilities evaluation, pages, members, ERP ledger mirror queries (orders, invoices, stock, payments, shipments, GL reconcile), database queries, files, limits, sandbox runs, and smoke probes all run from the terminal on scoped API keys. Member revocation, key rotation, deletes, ledger writes, and invoices require a browser session by design — the CLI fails those closed with an explicit scope message instead of a cryptic auth error.

How do coding agents use the CLI?

Run anakin mcp to expose the platform as a Model Context Protocol stdio server with 15 workspace tools (workspace tables, decoded rows, analytics SQL, sandbox eval, capability inspection and invocation, members, pages, ERP ledger, workflows, and file reader) with validated arguments and spec-conformant error shapes.

What happened to legacy contract tooling?

External contract tooling was streamlined to keep one pure Anakin surface: the API contract search (anakin search), the platform docs, and the committed SDK client cover those workflows with zero external dependencies.

Sources: live catalog, resource model, integration guide.