Usage
The TUI runs in agentic mode by default. Just type your task:Available Tools
Approval Modes
Control how permissions and file edits are handled with/approval-mode:
Permission Prompts
In Default and Plan modes, every tool call shows a permission prompt:- Allow — Execute this tool call
- Allow from directory — Auto-approve reads from this directory
- Allow all reads — Auto-approve all file reads
- Allow all edits — Auto-approve all file writes for this session
- Deny — Skip this tool call
- Esc — Cancel entire operation
Trust Management
Pre-approve directories so the agent can read files without prompts:Live Tool Activity
When the LLM uses tools, you see:- ● Green = completed
- ● Yellow = running
- ● Red = error
- ● Gray = pending
Ctrl+S to expand/collapse full output.
How It Works
1
Describe the task
Type your request in the TUI
2
LLM explores
The LLM uses view, glob, grep to understand your codebase
3
Permission prompts
Each tool call shows a prompt — you approve or deny
4
LLM proposes edits
The LLM uses write/edit to propose changes
5
Review diff
You see a diff preview and approve or reject each change
6
Apply changes
Approved changes are written to disk
Consensus → Agentic Workflow
Run consensus first, then continue with the agent:Agent Support
Codex Safe Mode
Codex runs in “safe mode” by default. Since Codex’s exec mode writes files directly (bypassing our tool system), PuzldAI:- Backs up source files before Codex runs
- Runs Codex with
workspace-writesandbox - Detects changes by comparing files after execution
- Applies approval mode:
- Plan mode → rolls back all changes
- Accept/YOLO → keeps changes
- Default → shows notification, keeps changes