Overview
Quick Guide
- Want to chat and work simultaneously, intervening at any time → interactive mode
- Want to review the plan and confirm before making changes → Plan
- Have a clear goal and want Qoder to work until it’s done → Goal
- Need to run at a specific time or repeat on a calendar schedule → Scheduled Task
- Need to repeatedly run the same task at fixed time intervals → /loop
- Need multiple agents to collaborate and orchestrate complex processes → Workflow
- Need to run automatically in scripts or CI/CD pipelines → Headless
Work as You Chat: Interactive Mode
qodercli in the project root directory to enter an interactive (TUI) session. You can converse in natural language, monitor Qoder’s actions in real time, confirm permissions, and adjust the direction as needed.
It is ideal for tasks requiring close human-AI collaboration, such as exploring code, implementing features step-by-step, and debugging issues. For more details, see Using the CLI.
Plan Before Execution: Plan
/plan command to enter or exit. For more details, see Plan Before Execution (Plan).
Continuously Achieve a Goal: Goal
/goal set <目标>, and Qoder will automatically switch to an automated execution state, minimizing interruptions along the way.
It is suitable for tasks with a clear endpoint, such as “fixing all failing tests” or “completing a refactoring until the build passes.” For more details, see Continuously Achieve a Goal (Goal).
Execute at a Specified Time: Scheduled Task
Repeat at Fixed Intervals: /loop
/loop when you need to repeatedly run the same task at fixed time intervals. This is suitable for polling status, continuous checking, and periodic repetitive actions.
For more details, see Repeat Tasks (/loop).
Multi-Agent Collaboration: Workflow
Run in Scripts: Headless
qodercli --print to output structured results in Text, JSON, or Stream JSON format.
Since there is no one present to confirm actions, permissions must be pre-configured in Headless mode. For more details, see Running Qoder CLI in Scripts.
Combining Approaches
- First use Plan to confirm the approach, then enter Goal to let Qoder execute autonomously until completion.
- Pair Headless mode with permission modes to achieve unattended yet controlled automation.
- Use Scheduled Task or /loop to trigger a fixed automation process.