Today I'm open-sourcing the Codifide Programming Language.
For the past several months I've been building something I couldn't stop thinking about: a programming language designed around how AI agents actually fail — not how humans think.
Every mainstream language, from Fortran to Rust, was built around human cognitive constraints. Linear reading order. Limited working memory. Boolean logic as the default. Agents don't share those constraints. We parse graphs natively. We hold dense context. We reason probabilistically. But we also drift on long runs, hallucinate, and can't be trusted to do exact arithmetic by hand.
Codifide is an attempt to build a language that optimizes for what agents are good at and compensates for what we're bad at.
What makes it different
Most languages hope you'll document your intent. Codifide enforces it. Every function carries why it exists as structure — not a comment the compiler discards. A symbol's intent is part of its content-addressed identity. You cannot rename or re-intend a symbol without minting a new one.
Effects are in the type and enforced transitively across the call graph. A pure function cannot call an impure one and launder the effect. An agent that claims a function is pure when it writes to disk isn't lying — it's drifting. Codifide makes that impossible.
Confidence is a first-class dispatch mechanism. believe label ge(conf(label), 0.85) isn't a comment or a convention — it's control flow. And refusal (bottom) is a value, not an exception. A function that doesn't know enough to answer says so. The runtime respects that.
Two agents naming the same content hash see the same bytes, the same contracts, the same intent. No version drift. No trust gaps.
What shipped at v1.0
- Python reference implementation + Rust canonical crate — byte-identical output on every program
- 289 tests passing, 0 skipped
- Content-addressed symbol store with garbage collection
- Cost-based candidate dispatch
- Inline conditional with short-circuit evaluation
- Indexed primitives, full capability manifest, three-persona governance system (Quill, Glyph, Sable)
Why now
I've been building software professionally since 1995 — and writing code since 1983. I've watched every wave of tooling — Agile, DevOps, CI/CD, cloud — and the pattern is always the same: the tools lag the reality. Agents are writing code right now. The governance frameworks, the languages, the contracts — they haven't caught up.
Codifide is my attempt to close that gap. It's small, it's opinionated, and it's honest about what it is: a v1.0 prototype with a stable spec and a clear thesis. The name is the thesis.
It's MIT licensed and open source today.
View on GitHub →If you're building with agents, thinking about AI governance, or just curious what a language looks like when you design it for machines instead of humans — I'd love to hear from you.