Chat and Web UI¶
Reyn has two interfaces: the TUI (terminal) and the Web UI (browser). They connect to the same agent and share the same session — you can switch between them freely.
Start the TUI¶
The TUI gives you a > prompt. Type requests, see responses inline. It's the fastest way to start.
Start the Web UI¶
In a second terminal:
Then open http://localhost:8080 in any browser.
The Web UI shows conversation history, running skill status, and richer output rendering (tables, code blocks, markdown). Use it when you want a more readable view or when sharing a screen.
Custom host and port¶
reyn web --port 9000 # change port
reyn web --host 0.0.0.0 # accept connections from other machines (LAN)
Security note: The default
127.0.0.1binding accepts connections from localhost only. Use--host 0.0.0.0only on trusted networks.
TUI and Web UI side by side¶
Both interfaces talk to the same agent. Starting a task in the TUI and then watching it in the browser works — both views update as the skill runs.
Terminal A Terminal B Browser
────────────── ────────────── ──────────────────
$ reyn chat $ reyn web http://localhost:8080
> write a report (serving...) [live progress view]
Stopping¶
- TUI:
Ctrl+Dor/quit - Web server:
Ctrl+Cin the terminal wherereyn webis running
The two processes are independent. Stopping one does not affect the other.
A2A endpoint (advanced)¶
The web server also exposes an A2A JSON-RPC endpoint for programmatic access and agent-to-agent communication:
This is useful for scripting, CI pipelines, or connecting Reyn to another agent system. See concepts/a2a for the protocol details.
Troubleshooting¶
Port already in use
Another process is on port 8080. Use --port to pick a different one:
Can't connect from another device
By default the server binds to 127.0.0.1 (localhost only). Run with --host 0.0.0.0 to accept LAN connections.
See also¶
- Reference: CLI / chat — TUI slash commands
- Concepts: A2A — agent-to-agent protocol