Plan Mode
The agent creates a structured plan but does not execute anything. You review the plan and decide whether to approve, revise, or reject it.- Agent analyzes the task and creates a TODO list
- Agent calls the
plan_completetool when the plan is ready - You see the plan and choose: approve (transitions to supervised mode), revise (agent adjusts), or reject (agent stops)
todo, ask_user, ask_user_choice, and plan_complete. Execution tools (shell, write_file, etc.) are blocked.
Use when: You want to understand the approach before any changes are made. Complex refactors, unfamiliar codebases, or tasks where you want to shape the strategy.
Supervised Mode
The agent executes step-by-step, pausing before each tool call for your approval.- Agent decides to call a tool (e.g.,
write_file) - You see the tool name and parameters
- You choose: y (approve this call), n (skip it), or a (approve all remaining)
Autonomous Mode
The agent executes fully without interruption. It picks tools, runs them, evaluates results, and continues until the task is done.- Agent runs the full loop: plan → execute → evaluate → repeat
- Results are displayed when complete
- Full audit trail saved to
.fliiq/audit/
ask_user_choice instead of pausing to ask.
Use when: Routine tasks, exploration, or when you’ve built trust with the agent’s behavior. Quick questions, file operations, web searches.
Switching Modes
At startup
Mid-conversation
In the REPL or TUI, use the/mode command to cycle through modes:
Mode Comparison
| Plan | Supervised | Autonomous | |
|---|---|---|---|
| Agent executes tools | No | Yes, with approval | Yes, freely |
| User approves each step | Plan only | Each tool call | No |
| Ambiguous choices | Agent asks | Agent asks | Agent auto-selects |
| Audit trail | Plan only | Full | Full |
| Best for | Strategy, review | Learning, production | Routine, exploration |
Cancellation
In any mode, you can cancel the agent mid-execution:- TUI (
fliiq tui): PressEsc - REPL (
fliiq): PressCtrl+C - Single-shot (
fliiq run): PressCtrl+C