Terminal UI (Textual) for prismal-server, built exclusively on prismal-sdk (PyPI: prismal-ai-sdk).
pip install prismal-tui Copy PIP instructions
Terminal UI for the prismal ecosystem — an interactive Textual application you run locally to talk to a running prismal-server, exclusively through prismal-sdk (AsyncPrismalClient).
There is no browser and no chat platform here: keystrokes go straight into a ConversationSession that resolves or creates one engine thread_id per locally-named conversation, persists that mapping in a local SQLite ConversationStore (so restarting the app never forks an ongoing conversation), streams the reply through prismal-sdk, and renders it as Markdown in a scrollable transcript — with a single key press (Esc by default) to cancel mid-turn.
Status: 0.1.1 — all of tui-bootstrap (phases TUI-00…04 and the usage readout, DELTA-2026-10) is implemented; see CHANGELOG.md and specs/tui-bootstrap/TASKS.md. Installs from source (not on PyPI yet).
developer's terminal ── keyboard/ANSI ──▶ prismal-tui (this repo) │ prismal_sdk (HTTP + SSE) ▼ prismal-server ──▶ prismal (engine) Repo Role Status prismal Engine (LangGraph supervisor, 29 routes, RAG, security) v3.22.1 (PyPI prismal-ai) prismal-server FastAPI host (REST + SSE + AG-UI + A2A) v0.3.0 (PyPI) prismal-sdk Typed Python client (sync + async) v0.3.0 (PyPI prismal-ai-sdk) prismal-webchat Embeddable browser chat widget SDD seed prismal-chatbot External bots — Slack, Discord SDD seed prismal-tui Terminal UI (this repo) pre-release What v0.1 delivers A single-process Textual app: a scrollable, Markdown-rendered transcript that streams tokens as the engine produces them, visible tool-call activity, a sidebar to create/switch/rename/delete named local conversations (each backed by its own durable engine thread), a small slash-command set (/new, /switch, /rename, /delete, /usage, /cancel, /quit, /help), immediate keyboard cancellation of an in-flight turn, a status-bar token/cost readout per turn and per session (from prismal-server ≥ 0.2's own usage numbers), and friendly error messages on failure. See specs/tui-bootstrap/PLAN.md §5 for the full in/out-of-scope list.
uvx prismal-tui # run without installing # or: pipx install prismal-tui / uv tool install prismal-tui Point it at your server with PRISMAL_TUI_SERVER_URL (and PRISMAL_TUI_TOKEN if it needs one); every setting is in docs/configuration.md.
Requires Python 3.13, uv and a running prismal-server (defaults to http://localhost:8000). The SDK comes from PyPI as prismal-ai-sdk (import module prismal_sdk); no sibling checkout is needed.
uv sync --extra dev export PRISMAL_TUI_SERVER_URL="http://localhost:8000" export PRISMAL_TUI_TOKEN="…" # service credential, optional locally prismal-tui # or: python -m prismal_tui Inside the app: type a message and press Enter to send, Esc to cancel a streaming reply, /new to start a new conversation, /help for the full key-binding and command list. With PRISMAL_TUI_PROTOCOL=ag-ui (host with AG-UI enabled) the agent's approval questions show up in the transcript and /resume answers them — see docs/configuration.md.
uv run pytest # unit + ui suite — offline, fake SDK client + Textual Pilot uv run pytest -m contract # opt-in — against a running prismal-server # (PRISMAL_TUI_SERVER_URL; fake-LLM mode recommended) uv run ruff check . && uv run mypy prismal_tui Boundary rules (no prismal/prismal_server imports, no direct HTTP to the host, no secret ever rendered, logged, or persisted) are enforced by tests — see CLAUDE.md for the review checklist. Before a release, run docs/manual-verification.md against a real host.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




