Docs

Reference · 12.06

CLI & Configuration

agentis bootstrap, up, backup/restore, pnpm doctor, pnpm dev, and pnpm lint — every command and what it does.

CLI

The CLI's full surface, deliberately kept small

The CLI intentionally stays thin — everything substantial lives in the API package itself, and an embedder wanting a programmatic entry point calls bootstrap() from @agentis/api/bootstrap directly rather than shelling out to the CLI at all.

CommandDoes
agentis upBootstrap and start Agentis on the current host. The default command when none is given.
agentis backup [--out DIR]Snapshot the data directory (default destination: <data-dir>/backups/<timestamp>).
agentis restore DIR [--force] [--data-dir DIR]Restore a backup directory back into the data directory.
agentis bootstrap [flags]Commission an agent through the HTTP API — wire a durable identity to a runtime adapter.
agentis bootstrap generate-config [flags]Generate an agentis-config.json scaffold. Aliased as agentis export-config.
pnpm doctorDiagnose the install: paths, detected adapters, database state.
pnpm dev / dev:fullRun the API alone, or the API and web dashboard together.
pnpm lintThe boundary checker + security-invariant checks + file-size budget rails, then per-package lint.

Continue