XLI: Open-Source Python Library for Claude Code-Style Terminal UIs

If you've tried to build your own coding agent, you've probably noticed the terminal UX is half the work. The Claude Code style transcript — where messages stream in, tool calls flip from running to done in place, and approvals pop up inline — is genuinely hard to reproduce. The team behind XLI kept rewriting this same layer every time. Full TUI frameworks like Textual (and even Rust-backed Ratatui bindings) take over the whole screen with their own widget tree, which kills your normal terminal scrollback. Lower-level toolkits leave you rebuilding streaming markdown, mutable tool cards, inline approvals, and a real input box from scratch.
So they built their own rendering engine and pulled it out into a library called XLI.
What You Get
- Streaming markdown responses
- Slash commands
u/filementions- Tool cards that update in place
- Inline approvals and pickers
- ESC to interrupt
- A status bar
The key design choice: it renders inline, so your transcript flows into the terminal's normal scrollback and stays selectable, scrollable, and searchable. It does not hijack the screen.
Framework-Agnostic
XLI does not care if your agent loop is Claude, OpenAI, or your own thing. It's framework-agnostic, so you can drop it into any Python-based agent architecture.
Installation
pip install python-xli📖 Read the full source: r/ClaudeAI
👀 See Also

Memora v0.2.25 MCP Server: 5× Faster Writes on D1 Database
Memora v0.2.25, an MCP server for Claude persistent memory, achieves 5× faster writes on Cloudflare D1 with memory_create dropping from 10s+ to ~1.8s and memory_update from 10s+ to ~1.1s per call.

Ghostbar: A ~5MB native macOS Swift AI client that hides from screen sharing
Ghostbar is a native Swift macOS menu bar AI client (~5MB) that uses window.sharingType = .none to become invisible to screen recorders. Works with Ollama, vLLM, llama.cpp, and any OpenAI-compatible backend.

OpenClaw Agent Maintains Memory When Switching from Claude Subscription to API
A developer reports successfully migrating their OpenClaw setup from a Claude subscription to API key without losing agent memory, using the mengram-memory skill that saves to an external layer. The agent retained ~100+ learned facts, evolved procedures, and episodic memories.

FUTO Swipe: Open-Source Swipe Typing Models Match Big Tech Accuracy
FUTO releases open-source swipe typing models and a 1M swipe dataset. Encoder (635K params) + ContextLM (1.5M) + decoder (304K) achieve ~4% top-4 fail rate. Fully offline in FUTO Keyboard.