Layered by design
Keep transport, RPC, protocol bindings, and ergonomic client helpers separate so low-level protocol access stays available.
Start threads, run turns, stream events, and handle approvals with a layered API built for the app-server protocol.
codex-app-server-client gives TypeScript applications a structured way to talk to codex app-server without hand-rolling transport, RPC lifecycle, streamed turn handling, or approval callbacks.
Start with the guide for an end-to-end setup, then use the reference pages when you need method-level details for the exported client surface.