axon init

Scaffold a new agent in the current directory.

axon init <name>
cd <name>

Creates <name>/ with axon.config.ts, tsconfig.json, axon.d.ts, and empty src/, server/, and data/ directories. Runs bun install automatically.

The scaffolded axon.config.ts contains placeholders for identity, engine, and policy. Fill these in before running the agent.

See Agent Structure for what each folder is for.