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 |
|
Auto-complete |
|
Cancel current operation |
|
Exit REPL |
|
Clear screen |
File Viewer Keys#
When in the file viewer (/view):
Key |
Action |
|---|---|
|
Scroll down |
|
Scroll up |
|
Page down |
|
Page up |
|
Go to top |
|
Go to bottom |
|
Exit viewer |
Interactive Dialogs#
When agents request approval (via notify_user), an interactive dialog appears:
Key |
Action |
|---|---|
|
Approve |
|
Continue planning |
|
Switch between file previews |
|
Next file |
|
Cancel/Reject |
Custom Commands#
You can add custom commands by creating command handlers. See Advanced REPL Usage for details.