Skip to content

CLI Flag Reference

This is the complete top-level flag set for wayland-core, verified against the engine source. Run wayland-core --help to see it in your installed version.

wayland-core [OPTIONS] [PROMPT]...

The trailing [PROMPT]... is the task. With a prompt, the engine runs single-shot; without one, it opens the interactive session.

FlagShortEnvDescription
--provider-pPROVIDERProvider to use, for example anthropic or openai.
--api-key-kAPI_KEYAPI key for the provider.
--base-url-bBASE_URLBase URL for the API (used by OpenAI-compatible providers).
--model-mMODELModel name.
--max-tokensMax output tokens per response.
--max-turnsMax agent loop turns.
--system-promptCustom system prompt for the run.
--profileNamed profile from the config file.
FlagDescription
--agent <NAME>Adopt a built-in agent persona (for example architect, debugger), loading its system prompt and turn limit unless overridden.
--list-agentsList the built-in agent personas and exit.
FlagDescription
--auto-approveApprove all tool executions, skipping the confirmation prompt.
--forceApprove every tool call for the whole run with no interactive gate. Aliases: --yolo, --dangerously-skip-permissions. Use only for trusted, scripted runs.
FlagShortDescription
--resume <ID>Resume a specific saved session.
--continue-cResume the most recent session. Mutually exclusive with --resume and --session-id.
--session-id <ID>Use a specific session ID instead of auto-generating one.
--list-sessionsList saved sessions and exit.
FlagDescription
--no-colorDisable colored output.
--json-streamEnable JSON streaming mode for host-client integration.
--no-tuiUse the line-based REPL instead of the terminal UI.
--compaction <LEVEL>Output compaction level: off, safe (default), or full.
--toonEnable TOON encoding for JSON arrays (set per session, cannot change mid-conversation).
FlagDescription
--init-configGenerate a default config file.
--config-pathPrint the config file path and exit.
--skills-pathPrint the skill directory paths and exit.
--project-dir <PATH>Directory to load .wayland-core.toml from. Defaults to the current directory.
FlagDescription
--loginSign in with an Anthropic account (OAuth device flow).
--logoutRemove saved OAuth credentials.
FlagDescription
--skills-auditRun the skills audit. Writes JSON to .wayland-core/skills-audit.json and renders Markdown to stdout.
--skills-audit-stale-days <N>Staleness threshold in days for the audit. Default 180. Requires --skills-audit.
--skills-promote <PROCEDURE_ID>Promote a drafted skill from staged to active.
--skills-archive <PROCEDURE_ID>Archive a staged or active skill.
FlagDescription
--doctorRun the system-dependency doctor. Probes external binaries and environment signals, with per-distro install hints. Exit code 1 if a required check fails.
--memory-show <SESSION_ID>Print stored memory for a session.
--online-evolutionEnable live online evolution. At session end the engine emits one evolution event and applies the Paraphrase mutator to successful trajectories. Equivalent to [observability] online_evolution = true.
FlagDescription
--replay <TRACE_PATH>Deterministically replay a recorded trace.
--replay-diff <OTHER_TRACE_PATH>Diff against another trace. Requires --replay.
--replay-force-version-skewForce replay across a version mismatch. Requires --replay.