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

# Interactive Sessions

> REPL and full-screen TUI for multi-turn conversations

## REPL (Default)

```bash theme={null}
fliiq
```

Launches the Rich-based REPL — the default interactive mode. Start typing and press Enter to send.

Cancel a running agent with `Ctrl+C`. Exit with `/exit` or `Ctrl+C` when idle.

### Slash Commands

| Command   | Action                                              |
| --------- | --------------------------------------------------- |
| `/mode`   | Cycle mode (plan → supervised → autonomous)         |
| `/status` | Show session info (mode, message count, iterations) |
| `/clear`  | Reset conversation history (keep system prompt)     |
| `/help`   | Show available commands                             |
| `/exit`   | Exit session                                        |

## Full-Screen TUI

```bash theme={null}
fliiq tui
```

Launches a full-screen Textual-based interface with:

* **Header** — Shows the Fliiq icon, version, and current working directory
* **Message log** — Scrollable conversation history with markdown rendering
* **Mode indicator** — Colored label showing current execution mode
* **Live thinking timer** — Shows elapsed time while the agent is working (e.g., "Thinking... 12s", "Thinking... 1m 23s")
* **Incremental tool calls** — Tool calls stream into the message log as they execute, so you see progress in real time
* **Status bar** — Redesigned footer with session context at a glance
* **Input area** — Type your message and press Enter to send

### Keyboard Shortcuts

| Key         | Action                                          |
| ----------- | ----------------------------------------------- |
| `Enter`     | Send message                                    |
| `Ctrl+J`    | Insert newline (multi-line input)               |
| `Shift+Tab` | Cycle execution mode                            |
| `Esc`       | Cancel running agent (or focus input when idle) |

## Conversation Persistence

Within a session, the agent maintains full conversation history. It remembers what you discussed, what files it created, and what decisions were made. This history is lost when you exit — for persistence across sessions, the agent uses [memory](/guides/memory).

## Starting Mode

```bash theme={null}
fliiq --mode plan         # Start in plan mode
fliiq --mode supervised   # Start in supervised mode
fliiq --mode autonomous   # Start in autonomous mode (default)
```
