REPL Commands#

Complete reference for REPL slash commands.

Built-in Commands#

/help#

Display available commands.

> /help

/view <filepath>#

Open full-screen file viewer with syntax highlighting.

> /view src/main.py
> /view README.md

See File Viewer for navigation keys.

/clear#

Clear conversation context. Starts a fresh conversation while keeping the same session.

> /clear

/compress#

Compress conversation history to reduce token usage. Useful for long conversations approaching context limits.

> /compress

The agent will summarize the conversation to preserve key information while reducing tokens.

/model [model_name]#

View or change the model for the current agent.

# Show current model and available models
> /model

# Set model by name
> /model openai/gpt-4o
> /model kimi-for-coding

# Set model by quality tag
> /model high
> /model normal,vision

Model changes are persisted to the team template file so they survive restarts.

/new#

Create a new chat session within the same REPL.

> /new

/exit or /quit#

Exit the REPL.

> /exit
> /quit

Shell Commands#

Run shell commands directly by prefixing with !:

> !ls -la
> !git status
> !python script.py

Output is displayed and can be referenced in the conversation.

Multi-line Input#

For multi-line messages, wrap in triple backticks:

> ```
Please review this code:

def hello():
    print("Hello")
```

The entire block is sent as one message.

Keyboard Shortcuts#

Key

Action

/

Navigate command history

Tab

Auto-complete

Ctrl+C

Cancel current operation

Ctrl+D

Exit REPL

Ctrl+L

Clear screen

File Viewer Keys#

When in the file viewer (/view):

Key

Action

j /

Scroll down

k /

Scroll up

Space / Ctrl+F

Page down

Ctrl+B

Page up

g

Go to top

G

Go to bottom

q / Esc

Exit viewer

Interactive Dialogs#

When agents request approval (via notify_user), an interactive dialog appears:

Key

Action

a

Approve

c

Continue planning

1-9

Switch between file previews

Tab

Next file

Esc

Cancel/Reject

Custom Commands#

You can add custom commands by creating command handlers. See Advanced REPL Usage for details.