DocsDraft
Draft turns a natural-language requirement into Intent source. The default planner is deterministic. Live models are optional and bring-your-own-key.
intent draft "Operators can create messages. Users can view messages."intent draft "Shop orders with paid and shipped states" --provider openai --out shop.intentPass --provider as openai, anthropic, claude, claudecode, or cursor. Also --model, --api-key, and --base-url.
Environment variables: INTENT_AI_PROVIDER, INTENT_AI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, CURSOR_API_KEY, INTENT_AI_MODEL, INTENT_AI_BASE_URL. Copy .env.example to .env. Keys are not logged.
The model may emit .intent only. Run intent validate on the result before you generate. Cursor local agents need an explicit model. The toolchain default is composer-2.5.