ptywright is a Rust crate and CLI for spawning, observing, and driving PTY-backed terminal applications. Use it as a library in your tests, a binary in your scripts, or a JSON-RPC server for agents and UAT pipelines — one vocabulary across all three.
┌── observer ──┬── matcher ──┬── transcript ──┐ │ 80×24 cells │ regex+temp. │ 64 KiB ring │ │ vt100 engine │ on-stable │ raw stream opt │ └──────────────┴─────────────┴────────────────┘