Skip to content

πŸ–₯️ TUI & chat

Two terminal faces. One harness. Zero mystery meat. πŸ₯©βž‘️πŸ₯—

⌨️

Pick your fighter: Premium TUI for day-to-day board + live events; Chat REPL for quick prompts and slash-command speedruns.

Face Best for
Premium TUI (slmcode / slmcode tui) Day-to-day β€” board, live events, agents, stats πŸ•ΉοΈ
Chat REPL (slmcode chat) Quick prompts + slash commands πŸ’¬

Premium TUI ✨

slmcode
# or
slmcode tui

What you see πŸ‘€

  • Connection / provider health
  • Live kanban (columns move as waves complete β€” ASMR optional)
  • Agent stream: @worker, scope files, truncated outputs
  • Errors without the doom-scroll
  • Diffs and query history

Slash commands πŸͺ„

Command Effect
/compact Shrink noisy context 🧹
/sessions Browse saved runs πŸ“Ό
/stats Phase latency + token estimates πŸ“Š
/permission Write / shell policy πŸ›‘οΈ
/plan [auto\|ask] Plan-approve gate before execute πŸ“‹
/escalate … Answer escalate HITL: re_scope | retry | mark_done | abort βš–οΈ
/agents List / create / edit / delete agents 🧩
/stop Checkpoint mid-run πŸ›‘
/resume Continue from checkpoint ▢️
/help Remind your future self πŸ›Ÿ

βš– Escalate banner

When a task hits max review retries, the TUI shows an ESCALATE banner and the pipeline pauses that task. Answer with /escalate retry (etc.), or wait for the timeout β€” then @escalate (SLM) decides. Same modal exists in Studio.

πŸ’ͺ Keyboard muscle memory

Ctrl+C mid-run checkpoints board + ReAct history under .slmcode/queries/<id>/react/. Prefer /resume over β€œstart over and pray”.

Agent CRUD from the TUI 🧩

/agent new
/agent new id=night-auditor title=Night provider=ollama model=qwen2.5-coder:14b
/agent edit worker model=qwen2.5-coder:14b
/agent show night-auditor
/agent delete night-auditor

Chat REPL πŸ’¬

slmcode chat
slm β€Ί /help
slm β€Ί /permission review
slm β€Ί Add validation to the login handler
slm β€Ί /board
slm β€Ί /diff
slm β€Ί /quit
Command Effect
/run <q> Explicit full pipeline
/board /status /diff /skills /doctor Inspect
/permission auto\|dry-run\|review Write policy
/model <id> Switch model (rebuild as needed)
/quit Exit (politely)

Plain lines (no /) also run the full pipeline. Yes, even typos. Choose carefully. πŸ˜…


Classic one-shot CLI πŸ› οΈ

Still the power tool:

slmcode run -v "…"
slmcode board
slmcode watch
slmcode session list

See ⌨️ CLI reference for every subcommand.


When to use which 🎯

Situation Reach for
Exploring a new repo TUI + Studio side-by-side πŸ₯Š
Scripted / CI-ish slmcode run + flags
β€œJust fix this” chat or run -v
Teaching / demos permission dry-run + TUI 🎭

🍿

Pro move: run slmcode studio in one pane and slmcode watch in another. Feel like mission control. Resist the urge to narrate aloud. Or don’t β€” we can’t hear you.

β˜€οΈ Made with β™₯ by UnicoLab