Star on GitHub

Codas

One simple spec for every platform.

Define your data in Markdown. Compile it into typed code and binary codecs for TypeScript, Python, Rust, and more.

Why Codas?

Codas are like Protocol Buffers, but with a human and AI friendly interface, and broader platform support.

Human Readable

No fancy syntax. Codas are plain Markdown that document and specify your systems.

Single Source of Truth

One Coda replaces hand-written types across every language in your stack. Write it once, generate it everywhere.

Compact and Streamable

Rust codecs have zero dependencies and transport data over any network. More language codecs coming soon.

AI Native

Codas document your data in AI's favorite format (Markdown), saving both time and tokens.

Playground

Edit the Coda below and watch code regenerate in real time. Everything runs in your browser via WASM, and nothing leaves your machine.

Coda

Markdown

Generated Code

  • Typescript
  • Python
  • Rust
  • OpenAPI
  • Compiling…

    Get Started Today

    cargo install codabase