Automate Multi-Step Coding Tasks with Autonomous /goal Mode
Use the /goal command to trigger autonomous agentic coding workflows.
Enable autonomous coding by using the /goal command, which activates an agent to execute multi-step tasks verified by a built-in judge model.
The Scenario
You have a complex, multi-file refactoring task or a new feature requirement that involves creating multiple files and running tests.
Before & after
Developers manually type out individual commands for code generation, file creation, and testing, often juggling multiple terminal windows for 30–60 minutes per task.
Use the /goal command followed by your objective. The agent will execute tasks autonomously, detecting 'impossible goals' and providing an independent judge model to verify completion in about 2–5 minutes.
The Prompt
/goal [DESCRIBE_YOUR_CODING_OBJECTIVE_E.G._REFACTOR_THIS_EXPRESS_APP_TO_USE_TYPESCRIPT]
Qwen Code v0.16.0 introduced /goal for autonomous coding, allowing the agent to handle multi-step development tasks with less human supervision.
Source
Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs"Qwen Code v0.16.0 follows suit—plus an independent judge model and impossible-goal detection."
