Skip to content

Architecture Overview

Pinshuo architecture: native frontends, the Gateway, swappable engines

Native frontend → Gateway container → several engine containers (pinyin, voice). The Gateway aggregates, picks and ranks, and hands the result back to the frontend. It also sends data outward, asynchronously, for a future Reducer and the downstream record centres (message history, AI learning, statistics). Everything except the frontend is deployed as containers.

ContractBetweenStatus
protocol/client/Native frontend ↔ GatewayDraft notes
protocol/engine/Gateway ↔ pinyin and voice enginesDraft notes
protocol/ingest/Gateway → a future ReducerReserved

The protocol/engine/ contract decides whether an engine can be replaced. Details are in Protocols and contracts.

Pinshuo use cases