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.
| Command | Does |
|---|---|
agentis up | Bootstrap 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 doctor | Diagnose the install: paths, detected adapters, database state. |
pnpm dev / dev:full | Run the API alone, or the API and web dashboard together. |
pnpm lint | The boundary checker + security-invariant checks + file-size budget rails, then per-package lint. |
Continue
HTTP API Reference
The full /v1 surface grouped by area — auth, agents, workflows, runs, Brain, apps, reach, and governance.
HTTPREST
Environment Variables Reference
Every AGENTIS_* environment variable — data directories, HTTP binding, model routing, media providers, and observability.
Env varsConfig