Skip to main content

Setup & CLI Flags

Install and launch ACM AI Coder to experience the full ACM runtime with budgeting, policies, and resumable execution.

Install

pnpm install
pnpm --filter @ddse/acm-aicoder build

Optionally link the CLI for convenience:

pnpm --filter @ddse/acm-aicoder exec pnpm link --global

Launch the TUI

acm-aicoder \
--provider vllm \
--model Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8 \
--base-url http://localhost:8001/v1 \
--workspace /path/to/project

Required flags

FlagDescription
--providerLLM provider: vllm, ollama, openai, anthropic, etc.
--modelProvider-specific model identifier
--workspaceRoot directory of the repository you want to work on

Optional flags

FlagDescription
--base-urlOverride provider endpoint
--temperatureSampling temperature (default: 0.7)
--seedRandom seed for reproducibility
--plansNumber of alternative plans to generate (1 or 2)
--resumeContinue a previous run by ID
--checkpoint-dirCustom location for checkpoints and replay bundles

Commands inside the TUI

CommandBehaviour
/helpList available commands
/exitQuit the session
/budgetShow budget allocations and current spend
/contextDisplay the active context packet
/resetClear the current goal and start over
#path/to/fileReference files in the indexed workspace using mentions

Replay bundles & checkpoints

  • Replay bundles are saved under .aicoder/replays/<runId>/.
  • Checkpoints live in .aicoder/checkpoints/<runId>/ by default.
  • Use --checkpoint-dir to store artifacts elsewhere (shared volumes, object storage).

Troubleshooting

SymptomFix
LLM connection errorsVerify provider flags and credentials; run curl against the base URL.
Missing workspace filesEnsure --workspace points to the repository root and is readable.
Budget blocks executionAdjust budget configuration in config/budget.ts or supply higher limits.
Replay not generatedCheck for write permissions in .aicoder/ or custom checkpoint directory.

Proceed to Task surfaces to understand the capability map behind AI Coder.