tuika 0.6.0

The application framework for Rust terminal UIs — flexbox layout, overlays, focus, keymap, components, and safe ratatui interoperability.
Documentation
# Built with tuika

Applications whose terminal UI is built on tuika — what they are, and what the
toolkit looks like once it is carrying a real product. At the end,
[one in-repo example](#codex-cli-replica-in-repo-example) that reproduces a
well-known agent UI rather than shipping a product of its own.

Building something on tuika? Open a PR adding it here.

## yolop

A terminal coding agent that plans, edits, runs, and verifies code in your
repository: persistent sessions, agent skills, MCP servers, and editor
integration over the Agent Client Protocol. Its full-screen renderer is built on
tuika — the transcript, the streaming markdown and highlighted code, the tool
cards, the composer, and the status footer are all tuika components under
tuika's layout and host loop.

[everruns.com/yolop](https://everruns.com/yolop) ·
[github.com/everruns/yolop](https://github.com/everruns/yolop)

<img src="showcases/yolop.gif" width="880" alt="yolop demo: a question in the transcript, a tool call listing the examples directory, then a streamed markdown answer with a highlighted bash code block.">

The recorded session is deterministic and offline — the model is a local
[LLMSim](#llmsim) replaying a scripted turn — so the recording shows the real
agent loop without a provider key.

## LLMSim

An LLM traffic simulator: a local server that speaks the OpenAI, OpenResponses,
and Anthropic APIs with realistic streaming, latency profiles, token accounting,
and injected failures, so load tests and CI runs never touch a real model. Its
`serve --tui` stats dashboard is a tuika screen — the panel grid is flexbox
layout, and the counters, sparklines, and model distribution redraw live while
requests are in flight.

[github.com/chaliy/llmsim](https://github.com/chaliy/llmsim) ·
[crates.io](https://crates.io/crates/llmsim)

<img src="showcases/llmsim.gif" width="880" alt="LLMSim demo: the stats dashboard under live traffic, with request, token, latency, and error panels updating alongside RPS and tokens-per-second sparklines and a model distribution chart.">

The dashboard above is under ~5 requests/second across four models, with rate
limit and server-error injection turned on.

## Codex CLI replica (in-repo example)

> **This is a replica, not Codex.** It is an example in *this* repository that
> reproduces the look and interaction shape of OpenAI's Codex CLI on tuika. It is
> not the Codex CLI, it is not built or endorsed by OpenAI, and no part of Codex
> is used or included. "Codex" and "OpenAI" are their owners' marks, referenced
> here only to say what the UI imitates.
>
> Nothing behind the interface is real: there is no model, no network, and no
> shell. A turn is a scripted sequence chosen from the prompt's keywords and
> revealed frame by frame, so the recording below is deterministic and offline.

[`examples/codex/`](../examples/codex) · `cargo run --example codex`

<img src="../examples/codex/codex.gif" width="880" alt="The codex example, a replica of the Codex CLI built on tuika: a slash-command popup filtering as it is typed, an @-file picker completing a path in the composer, then a scripted turn — streamed reasoning, an approval prompt for a destructive command answered from the keyboard, command output, and a streamed markdown answer.">

`cargo run --example codex -- --dump` prints the same screens as text, for a
look without a terminal.