A programming language designed for AI is a language whose syntax, type checker and tools were chosen so that a language model can write it with fewer mistakes, and so that an agent can read the compiler's answer and fix its own code. In 2026 the main examples are MoonBit, NanoLang, Vercel Labs' Zero, Sui (now Isu) and Clean Language, which I build. They share a few ideas: one way to write each thing, strict types, small syntax, and tools an agent can call. None of them is mature yet, so for most real projects today TypeScript or Python is still the safer choice.

I wrote a separate article on what makes a language easy for AI to write and for you to check. That one is about criteria. This one is about the actual languages: who built them, what "designed for AI" means in each case, and what we know about whether the idea works.

What "designed for AI" usually means

When you read the documentation of these projects, the same four ideas come up again and again:

  • Deterministic syntax. One way to write each construct, so the model does not have to choose, and every program looks the same.
  • Strict types and checks. The compiler catches mistakes before the code runs, and the agent learns about them right away.
  • Machine-readable tooling. Error messages as structured data, repair suggestions, or an MCP server the AI can call to check its code.
  • A small surface. Few keywords and few features, so the whole language fits in a model's context window as a short reference file.

Each language below picks a different mix. That is the interesting part.

MoonBit: the "AI-native" toolchain

MoonBit is the most developed project in this list. It is built by a full-time team at the International Digital Economy Academy (IDEA) in China, and it compiles to WebAssembly, JavaScript and native code. Its documentation calls it "an AI native programming language toolchain for cloud and edge computing".

The AI angle goes back to its early design notes. In a February 2024 post, the team argued that "a programming language without nesting not only has better readability but is also more KV-cache friendly", and described a sampler that checks each token the model produces against the grammar and types, and backtracks when the model goes wrong. They reported a clear improvement in compile rates "with a modest performance penalty of approximately 3%". Later they added an AI assistant to the IDE and, in July 2025, MoonBit Pilot, a coding agent built for their toolchain.

So in MoonBit, "designed for AI" mostly means the toolchain: fast compiler, built-in tests and an agent that works with the type checker. The language itself is a fairly conventional modern typed language, close in spirit to Rust. I compare it with Clean in more detail in MoonBit vs Clean Language.

Status: MoonBit reached Beta in June 2025. In June 2026 the team said it was "currently targeting MoonBit 1.0 for Q3". As of mid-November 2026, the latest release is still v0.10.19, so 1.0 has not shipped yet.

NanoLang: one canonical form and mandatory tests

NanoLang is by Jordan Hubbard, a co-founder of FreeBSD. Its repository describes it as "a tiny experimental language designed to be targeted by coding LLMs". It transpiles to C.

NanoLang takes deterministic syntax further than anyone else here. It supports prefix notation, like (+ a (* b c)), so there is no operator precedence to get wrong. Every function needs a shadow block, a test that runs at compile time. The core rules are proved correct in Coq, a tool for machine-checked proofs. And it ships a MEMORY.md file written for language models to read.

Simon Willison tried it in January 2026 and wrote about it. His first attempt to have a model write a program in NanoLang did not compile. With a coding agent that could read the compiler errors and the example files, it worked. His conclusion: "LLMs and coding agents might significantly reduce the friction involved in launching a new language." That small story is the whole debate in one paragraph.

Zero: a language for agents, from Vercel Labs

Zero is the most radical project. Vercel Labs released it in May 2026 as "the programming language for agents". It is an experimental systems language that compiles to small native binaries.

Zero designs the compiler output for agents, not for people. According to InfoQ's August 2026 report, every compiler command can output JSON with stable error codes and typed repair plans, so an agent can review a fix with zero fix --plan --json before applying it. Code that touches the outside world must take a World capability, so "a signature alone reveals whether code can reach the network, the filesystem or standard output". Since version 0.3, the program itself is stored as a semantic graph. The .0 text files are a readable view of that graph, and agents edit through zero query and zero patch.

The project is honest about its state: "Expect breaking changes, rough edges, and security issues. Run it in isolated workspaces, not against production systems or sensitive data."

Sui and Isu: removing syntax errors entirely

Sui, by Japanese data scientist Takato Honda, went for the extreme version of the small surface: a line-based language where variables are numbered instead of named, so a model cannot misspell a name or break the indentation. It got attention in late 2025 for claiming near-perfect generation accuracy. The repository has since moved on. Sui now lives in a legacy folder, and new work targets Isu, a structured pseudocode format with deterministic parsing and step-level error reporting. It is a research prototype, not something to build an app with.

Clean Language: built for the human who checks the AI

Clean is my project, so read this section knowing that. When I designed Clean, I started from a different question: not "how does the model write faster", but "how does a person check what the model wrote". Clean is type-safe, compiles to WebAssembly, and keeps one way to do each thing. It uses plain words instead of symbols where it can. Functions can state their purpose with intent, their rules with require, and their tests sit in the same file.

start:
	integer result = divide(10, 2)
	print("Result: {result}")

functions:
	integer divide(integer a, integer b)
		intent "Divide two integers, refusing a zero divisor"
		require b != 0
		return a / b

tests:
	"divides evenly": divide(10, 2) = 5
	"rounds down": divide(7, 2) = 3

The point is that a reviewer can read this without knowing Clean. The tooling side is an MCP server: an AI assistant can call it to type-check and compile Clean code, look up the language reference, and explain an error code while it works. That is how a model that has never seen Clean in training can still write it.

Where Clean is weaker: it uses indentation, which some people argue is harder for models. It has no structured repair plans like Zero, no token-level sampler like MoonBit, and no formal proofs like NanoLang. It is in Beta, built by a solo developer, and a new compiler with a different syntax is in development, so code written today will need changes.

Side by side

LanguageMain AI ideaCompiles toStatus (Nov 2026)
MoonBitAI-aware toolchain, grammar-guided sampling, own coding agentWasm, JavaScript, nativePre-1.0 (v0.10.x), full-time team
NanoLangOne canonical syntax, mandatory tests, proved core, LLM memory fileCExperimental, one main author
ZeroJSON diagnostics, repair plans, capabilities, graph-stored codeNativeExperimental (v0.3.x), breaking changes expected
Sui / IsuSyntax that cannot be wrongMultiple backends plannedResearch prototype
CleanReadable code for the reviewer, contracts, MCP serverWebAssemblyBeta, solo developer

The evidence for the idea

There is real evidence that constraining a language helps models. The strongest is about types. A PLDI 2025 paper by Mündler and colleagues found that most compile errors in model-written TypeScript were type errors, and that using the type system to guide generation cut compile errors by more than half. That is the same idea behind MoonBit's sampler.

There is also a direct test of a purpose-built language. In "Anka: A Domain-Specific Language for Reliable LLM Code Generation" (December 2025), Saif Al Mazrouei reports that a small, constrained language for data pipelines reached 99.9% parse success, and 100% accuracy on multi-step tasks against 60% for Python. The model, Claude 3.5 Haiku, had "zero prior training exposure" to Anka and learned it only from the prompt. That is a promising result. It is also one author, one narrow domain and 100 problems, so it is a signal, not proof.

The evidence against it

The biggest problem is training data. Models are much better at languages they have seen a lot of. A 2025 survey of research on low-resource languages reports consistently higher scores for Python and Java than for rarer languages. Every language in this article is, by definition, a low-resource language. Willison's first NanoLang attempt failing to compile is exactly what you would expect.

The mainstream is also absorbing the good ideas. GitHub's Octoverse 2025 report found TypeScript became the most used language on GitHub in August 2025, and GitHub links that to AI: types "reduce ambiguity and catch LLM errors before production". Strict TypeScript plus good tests gives you a large part of what these new languages promise, with a huge ecosystem behind it.

And a cleaner syntax does not fix wrong logic. A program can parse, type-check and still do the wrong thing. That is why NanoLang forces tests and Clean puts contracts and tests next to the code. Those help, but they do not replace a person who understands the problem.

The counterpoint is tools. Armin Ronacher argues in "A Language for Agents" that new languages can succeed with agents despite being underrepresented in the training data, because an agent can read docs and compiler output at work time. MCP servers, JSON diagnostics and memory files are all bets on that idea.

Should you use one today?

My honest answer: for most people, not for work that matters yet.

  • You are shipping a product or need a job skill: use TypeScript with strict settings, or Python with type hints and a checker. The training data, libraries and community are far ahead.
  • You want to explore how agents and compilers can work together: try Zero or NanoLang in a sandbox. They are the boldest experiments.
  • You want the most mature of the new languages: MoonBit has a full-time team and a real toolchain, and is the closest to 1.0.
  • You are learning to program with an AI and want code you can read and check: try Clean, knowing it is Beta and will change.

I think the ideas in these languages will matter more than the languages themselves. One canonical form, strict checks, tests next to the code and compilers that talk to agents are good ideas in any language. Some of them will end up in TypeScript and Python. Some of these new languages may also grow into real options. In 2026 it is too early to say which.

Next step: if you want to try Clean with your AI assistant, follow the Get Started guide to install it and write your first program.

Sources