cd /path/to/coven
cargo build -p coven-cli./target/debug/coven chatType: /help
Press: Enter
→ Shows all available commands
Type: Hey, what can you do?
Press: Enter
→ Message appears with "You:" prefix
→ Mock response from agent
Type: /clear
Press: Enter
→ Chat history cleared
Type: /agent Sage
Press: Enter
→ Agent switches to Sage
Press: Up arrow
→ Scroll chat history up
Press: Down arrow
→ Scroll back down
Type: /exit
Press: Enter
Or
Press: Ctrl+C
→ Graceful exit, terminal restored
┌─────────────────────────────────────┐
│ 🔮 Agent: Nova | Connection: ● │ ← Status bar
├─────────────────────────────────────┤
│ System: Welcome to Coven Chat! │
│ You: /help │
│ System: Available commands: │
│ /help - Show this help │
│ /clear - Clear chat history │
│ /agent <name> - Switch agent │
│ /exit - Quit │
│ │
├─────────────────────────────────────┤
│ Message or type / for commands │
│ ┌─────────────────────────────────┐ │
│ │ _ │ │ ← Input (cursor shown)
│ └─────────────────────────────────┘ │
└─────────────────────────────────────┘
- ✅ Natural message input
- ✅ Scrollable history
- ✅ Slash commands
- ✅ Agent switching
- ✅ SSH-compatible
- ✅ No external dependencies
- ✅ Clean terminal exit
- 🔄 Real gateway connection (coming soon)
- 🔄 Streaming token responses
- 🔄 Agent discovery from gateway
- 🔄 Session attachment
- 🔄 Memory context display
- 🔄 Code syntax highlighting
- 🔄 Message export
cargo build -p coven-cli firstJust run the app again — it restores properlyNormal behavior — event loop polls every 100ms
Real agent responses will be streamed (Phase 2)Normal limitation of non-PTY environments
Terminal requires interactive TTY- Gateway WebSocket integration
- Real agent responses (not mock)
- Token-by-token streaming
- Connection health monitoring
- Auto-reconnect
| Command | Shortcut | Effect |
|---|---|---|
/help |
/h |
Show all commands |
/clear |
/c |
Clear chat history |
/agent <name> |
/a <name> |
Switch to agent |
/exit |
/q, /exit |
Quit |
| Ctrl+C | - | Immediate exit |
| Up/Down arrows | - | Scroll history |
Built with: Ratatui (Rust TUI framework) + Tokio async runtime
Status: MVP Complete ✅ → Production Ready for Phase 2