What does it do?
Genotype converts defined data types into idiomatic TypeScript, Rust, and Python types to provide type safety across languages. It supports generics, recursive data types, annotation-based adjustments for each target, and a choice of packaging methods for generated code. It does not impose a wire format; it uses no runtime in TypeScript and uses Serde and Pydantic in Rust and Python.
Key features
- Converts data types into idiomatic TypeScript, Rust, and Python code
- Represents generics and recursive data types
- Uses annotations for target-language adjustments
- Generates Zod schemas and distributable packages
- Generates code directly into existing modules
- Provides skills, llms.txt, and code comments for AI agents