Spec-driven development for AI agents in plain English

On this page

Cernanto is spec-driven development with a compiler and a runtime behind it. If you write specifications with Spec Kit or Kiro, you want to know that the code that ships does what the specification says. Here your natural-language specification stays the source: Claude Code or Codex writes the TypeScript from it, gates and live tests decide whether that AI-generated code ships, and a durable runtime runs it in production.

Cernanto vs Spec Kit, Kiro and a coding assistant with a spec file

These approaches use specifications to guide a coding assistant. Compare how each keeps the specification and implementation aligned, and what it supplies for testing, packaging and execution. Cernanto is a compiler and a runtime around that step: the English stays the source, the code may reach only what it names, gates and independent live tests decide whether it ships, and a change to a sentence edits the code it wrote. It drives the same assistants, Claude Code or Codex.

From a specification to verified code

From source to package
  1. agent.cern.mdan agent in plain English, in git: the source you maintain
  2. resolvethe compiler parses the source and finds every agent, API and package it names
  3. generateit generates a typed module for each agent, API and MCP server
  4. writeyour coding assistant writes the functions the source describes, and sees other agents only as those modules
  5. checkthe type-check, the static scans and the contract the code must keep
  6. testa second session writes the tests from the source and never sees the code
  7. provethe tests run against the deployed agent and its real dependencies
  8. agent.cernthe package: the source, the code, the tests and the contract, committed beside the source

A second session writes the tests from your source and the contract without seeing the implementation. They run against the deployed agent and its real dependencies. In this compile, a test asked the real DeepWiki server about a repository it has no wiki for, and caught code that had assumed there would be an answer to read:

A compile that caught a mistake and repaired it
05:40:05  connectors/deepwiki  verify       FAIL says the documentation does not answer when DeepWiki holds none for the repository: Cannot read properties of undefined (reading 'split')  16s
05:40:05  connectors/deepwiki  triage       who is at fault
05:40:27  connectors/deepwiki  triage       ok the code  22s
05:40:27  connectors/deepwiki  fix code     the live tests fail
05:40:37  connectors/deepwiki  fix code     fixed the live tests fail  10s
05:40:38  connectors/deepwiki  check code   ok entry, tsc, determinism, type-verify  1s
05:40:58  connectors/deepwiki  verify       ok 2 tests passed  16s

Where a dependency must not act, one line replaces it with a mock: a program holds the mock to that dependency’s contract, a test that reaches the real one anyway fails, and the deployed agent has no mock.

For AI-generated code, verified means the type-check, the gates and independent tests that ran live: strong evidence, and not a formal proof.

Keep working with your coding assistant

If your team writes agents by vibe coding, you keep working the way you do with Claude Code or Codex: describe what you want. What changes is what is kept. The description is a file in Git that people who know the business rules can read and change, and the code under it has to pass the gates and the tests each time the file changes.

Yes. cernanto skill installs the language's skill for Claude Code, Codex and any assistant that reads Agent Skills. Then ask for the agent in a sentence: the assistant writes the agent, deploys it, reads what the compile read and the trace, and fixes the words. See Use your coding assistant for the workspace and global installation paths.

Read what your assistant is told

What the specification gets beyond the code

  • A contract. If an edit makes a caller incompatible, you find out at compile time: the compiler derives each agent’s contract and compiles every other agent against it.
  • A package. What ships is one file you can read, committed beside the source: the source, the code, the tests and the contract.
  • A runtime. Your agent picks up where it stopped after a crash. That is durable execution: the runtime journals every call, timer and judgment.

Compare with the others

The whole comparison guide