Architecture Overview
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.
The three contracts
Section titled “The three contracts”| Contract | Between | Status |
|---|---|---|
protocol/client/ | Native frontend ↔ Gateway | Draft notes |
protocol/engine/ | Gateway ↔ pinyin and voice engines | Draft notes |
protocol/ingest/ | Gateway → a future Reducer | Reserved |
The protocol/engine/ contract decides whether an engine can be replaced. Details are in Protocols and contracts.
Use cases
Section titled “Use cases”Read on
Section titled “Read on”- Components and dependencies: what each component is and what it depends on.
- Data flow: how a keystroke or an utterance travels, and the outbound exit.
- Deployment and configuration: the containers and the Gateway configuration.