> ## Documentation Index
> Fetch the complete documentation index at: https://docs.puzld.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# TUI Commands

> Interactive terminal UI commands

## Multi-Agent Modes

| Command | Description |
| - | - |
| `/compare claude,gemini "task"` | Compare agents side-by-side |
| `/consensus claude,gemini "task"` | Build consensus across agents |
| `/debate claude,gemini "topic"` | Multi-agent debate |
| `/correct claude gemini "task"` | Cross-agent correction |
| `/autopilot "task"` | AI-planned workflow |
| `/workflow name "task"` | Run saved workflow |
| `/workflows` | Manage workflow templates |

## Agent & Model

| Command | Description |
| - | - |
| `/agent claude` | Switch to specific agent |
| `/model` | Open model selection panel |
| `/model claude opus` | Set model for agent |
| `/router ollama` | Set routing agent |
| `/planner claude` | Set autopilot planner |
| `/approval-mode` | Open approval mode panel |

## Approval Modes

| Mode | Permissions | File Edits |
| - | - | - |
| **Default** | Ask for each | Diff review before apply |
| **Plan** | Ask for each | Show plan only, no apply |
| **Accept** | Ask for each | Auto-apply edits |
| **YOLO** | Auto-approve all | Auto-apply all |

### Permission Options

When prompted for permission:

| Option | Effect |
| - | - |
| 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 writes this session |
| Deny | Skip this tool call |
| Esc | Cancel entire operation |

## Trust Management

| Command | Description |
| - | - |
| `/trusted` | List trusted directories |
| `/trusted add [path]` | Trust a directory |
| `/trusted remove [path]` | Remove trust |
| `/add-dir [path]` | Alias for trusted add |

## Toggles

| Command | Description |
| - | - |
| `/sequential` | Toggle: compare one-at-a-time |
| `/pick` | Toggle: select best from compare |
| `/execute` | Toggle: auto-run autopilot plans |
| `/interactive` | Toggle: pause between steps |

## Sessions

| Command | Description |
| - | - |
| `/session` | Start new session |
| `/resume` | Resume previous session |

## Indexing

| Command | Description |
| - | - |
| `/index` | Open indexing panel |
| `/index full` | Full index with embeddings |
| `/index quick` | Quick index (no embeddings) |
| `/index search "query"` | Search indexed code |
| `/index context "task"` | Get relevant code for task |
| `/index config` | Show project configuration |
| `/index graph` | Show dependency graph |

## Cloud / MCP

| Command | Description |
| - | - |
| `/login [token]` | Login to PuzldAI cloud |
| `/logout` | Logout from cloud |
| `/mcp` | Show MCP connection status |

## Observations

| Command | Description |
| - | - |
| `/observe` | Open observations panel |
| `/observe summary` | Show observation stats |
| `/observe list` | List recent observations |
| `/observe export [path]` | Export to file |
| `/observe preferences` | Export DPO pairs |

## Other

| Command | Description |
| - | - |
| `/settings` | Open settings panel |
| `/changelog` | Show version history |
| `/help` | Show all commands |
| `/clear` | Clear chat history |
| `/exit` | Exit PuzldAI |

## Keyboard Shortcuts

| Shortcut | Action |
| - | - |
| `Enter` | Send message |
| `Escape` | Go back / Hide view |
| `Ctrl+E` | Expand last result |
| `Ctrl+C` | Cancel / Exit |
| `Ctrl+S` | Expand tool output |
| `Tab` | Autocomplete command |
| `↑/↓` | Navigate history / options |
| `←/→` | Navigate views |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.