Problem
The current co ai agent workflow forces plan mode (enter_plan_mode → write_plan → exit_plan_and_implement) every time a user wants to create an agent. This is over-engineered for simple agents where the tools are obvious.
Plan mode has dedicated tools, READ-ONLY restrictions, a YAML spec format, and a rigid enter/exit workflow — all for something that a TodoList can handle more naturally.
Proposal
Replace plan mode with the existing TodoList tool for agent creation workflow:
- Simple agents:
co create → edit agent.py directly. No planning needed.
- Complex agents: Use
todo to break down the work into steps, then execute them. The user can see progress and provide feedback naturally.
TodoList is more flexible — it doesn't lock the agent into a read-only mode, doesn't require a rigid YAML format, and lets the agent work incrementally.
Changes needed
- Remove
enter_plan_mode, exit_plan_and_implement, write_plan tools from co ai
- Remove
tools/enter_plan_mode.md prompt
- Remove
system-reminders/plan_mode.md reminder
- Update
workflow.md to use TodoList-based approach
- Update
main.md references to plan mode
- Remove plan mode plugin from agent.py tool list
Context
Part of the system prompt simplification effort — the base prompt was already reduced from ~25,800 to ~12,186 chars by making workflow/index/examples load on-demand via intent detection.
Problem
The current
co aiagent workflow forces plan mode (enter_plan_mode→write_plan→exit_plan_and_implement) every time a user wants to create an agent. This is over-engineered for simple agents where the tools are obvious.Plan mode has dedicated tools, READ-ONLY restrictions, a YAML spec format, and a rigid enter/exit workflow — all for something that a TodoList can handle more naturally.
Proposal
Replace plan mode with the existing
TodoListtool for agent creation workflow:co create→ editagent.pydirectly. No planning needed.todoto break down the work into steps, then execute them. The user can see progress and provide feedback naturally.TodoList is more flexible — it doesn't lock the agent into a read-only mode, doesn't require a rigid YAML format, and lets the agent work incrementally.
Changes needed
enter_plan_mode,exit_plan_and_implement,write_plantools from co aitools/enter_plan_mode.mdpromptsystem-reminders/plan_mode.mdreminderworkflow.mdto use TodoList-based approachmain.mdreferences to plan modeContext
Part of the system prompt simplification effort — the base prompt was already reduced from ~25,800 to ~12,186 chars by making workflow/index/examples load on-demand via intent detection.