You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Interactive CLI chat client with Bubble Tea TUI #11
Add an interactive CLI chat client for talking to DocsClaw agents, built with Bubble Tea for a polished terminal UI.
Motivation
Currently the only way to interact with DocsClaw agents is via curl and raw JSON-RPC. For demos and day-to-day use, we need a user-friendly chat interface that showcases the A2A protocol without requiring a web UI.
Use Glamour for Markdown rendering of agent responses
Reuse the existing A2A client code from internal/bridge/
Features
Readline-style input with history
Streaming SSE output (show tokens as they arrive)
Conversation history within a session
Agent Card display on connect (name, description, capabilities)
Markdown rendering of agent responses (code blocks, lists, etc.)
Optional --agent-card flag to discover agent via Agent Card URL
Design considerations
Keep it in cmd/docsclaw/ as a Cobra subcommand, not a separate binary
Charm libraries are well-maintained and widely used in the Go ecosystem
Consider Huh for any form-style inputs (e.g., agent URL prompt on first run)
Long-term
Once OpenWebUI ships A2A support (tracked upstream: open-webui/open-webui#14470), that becomes the web UI story. This CLI client remains the lightweight, developer-friendly option.
Activity
docs: add design spec for CLI chat client with Bubble Tea (#11)
docs: add implementation plans for ConfigMap tooling and CLI chat cli…
feat: add interactive CLI chat client with Bubble Tea v2 (#11)
fix(chat): address code review findings (#11)
fix(chat): fix text input focus in Bubble Tea v2 (#11)
fix(chat): restore cursor blink after response and silence logger (#11)
fix(chat): animate spinner in status bar instead of viewport (#11)
fix(chat): show animated spinner in input area while waiting (#11)
fix(chat): display agent skills and fix review findings (#11)
feat: add ConfigMap generation and apply Makefile targets (#6) (#13)
feat: add interactive CLI chat client with Bubble Tea v2 (#11)
fix(chat): address code review findings (#11)
fix(chat): fix text input focus in Bubble Tea v2 (#11)
fix(chat): restore cursor blink after response and silence logger (#11)
fix(chat): animate spinner in status bar instead of viewport (#11)
fix(chat): show animated spinner in input area while waiting (#11)
fix(chat): display agent skills and fix review findings (#11)
feat: add interactive CLI chat client with Bubble Tea v2 (#11) (#16)
docs: add design spec for client-side chat memory (#11)
feat(chat): add client-side conversation memory (#11)
feat(chat): add client-side conversation memory (#11) (#17)