When to use it
- Smoke-testing a kernel deployment without standing up the dashboard or API.
- Scripting one-shot commands (system status, memory queries, planning prompts) from CI or shell tooling.
- Exploring routing behavior interactively while developing new agents or routes.
Prerequisites
- A working install of the Artemis City package so
app.kernelis importable. - Run from the repository root (or any directory where the installed
apppackage is onPYTHONPATH).
Usage
Invoke the CLI as a Python module:Modes
Interactive session
Fatal: Kernel failed to boot. with the underlying error and exits with status 1.
Legacy entry point
The CLI implementation was consolidated underapp.kernel.cli. The historical src.interface.artemis_cli module is preserved as a thin compatibility wrapper, so existing scripts and shortcuts keep working:
make cli target wraps this legacy module and automatically sources .env before launching, so locally configured MCP_API_KEY and MCP_BASE_URL values are available to the kernel without extra exports. Prefer python -m app.kernel.cli for new tooling.
Built-in agents
The kernel ships with two concrete agents that handle routed commands and record each interaction to the memory bus:daemon— system anchor and memory interface. Handlessystem,status,health,config,memory, anddaemonkeywords. Also serves as the default fallback when a routed persona has no concrete agent yet.planner— drafts execution plans for planning prompts (roadmaps, blueprints, schedules).
artemis, pack_rat, copilot) are declared in agent_router.yaml but do not yet have concrete implementations. Commands routed to them fall back to the daemon, and the kernel logs the fallback so the gap is visible rather than silently mislabelled. The response header reports the agent that actually handled the command, which may differ from the routed persona name.
Configuring routes
Routes are declared inapp/kernel/agent_router.yaml. Each entry maps a persona name to a role, keyword list, and action description:
app/kernel/agents/ and register it in the kernel’s agent factory.