⚡
ZAP for Developers
Build with the Zero-copy Application Protocol.
Schema language, language bindings, sub-protocols, runtime guides.
Where to start
Quick start
Install zapc + a binding, write a schema, send your first frame in 60 seconds.
Schema language
Whitespace-significant syntax. Structs, unions, lists, interfaces. Field ordinals inferred.
Language bindings
Go, Rust, Python, TypeScript, C, C++, Java, Erlang, more.
Sub-protocols
zap-http, zap-ws, zap-fix, zap-rns, zap-mcp, zap-acp, zap-a2a.
Wire format
Cap'n Proto-derived bytes; X-Wing/Z-Wing PQ KEM at the transport.
Papers & proofs
Formal results: composability theorem, transport-vs-JWT advantage bounds, Z-Wing IND-CCA2-AKE.
Install
Go
go get github.com/zap-proto/go go get github.com/zap-proto/http
Rust
cargo add zap-proto
Python
pip install zap-proto
TypeScript
npm install @zap-proto/zap
Schema compiler
cargo install zap-schema --bin zapc
C / C++
# header-only, fetch via your build system