
Sudus
A way to keep AI-assisted development tied to what you actually agreed to build.
You decide what the software should do. Your coding agent implements it.
Sudus reads the project's Git records, checks whether the evidence is still
current, and names what needs attention next.
The aim is simple: a new agent session should be able to find the agreement,
the work already done, the checks that passed or failed, and the decisions
still waiting for you. Those facts live in your Git repository, in commits
you can inspect with plain Git, rather than only in a conversation that the
next agent may never see.
Read the human manual | Try the worked example
What Sudus does
Sudus has two parts:
- Project skills help your agent learn an existing codebase, plan a new
project with you, or open the next feature of a project already under
Sudus. They produce written requirements, ways to check them, and one
selected piece of work.
- A command-line tool reads and writes those records, runs the declared
checks when asked, and reports the next action.
Sudus does not run the agent for you, and it calls no AI model on its own
unless you turn on the TypeSafe evaluator in settings. At one
narrow kind of decision -- a Consequential choice -- the agent takes one
measurement of its own draft before deciding: five scored dimensions and a
composite, computed in code from the model's answers, never a verdict by
itself. Only a fixed code floor and the measurement's own veto ever force
that decision to you instead of the agent; every other case is the agent's
judgment, informed by the reading. On the in-tree benchmark (24 drafts over
one small project, tests/bench) the measurement's suggestion matches the
expected route 22 times in 24; the ceiling and weights were chosen on those
same 24 drafts, so treat the figure as in-sample, not a guarantee. You use
your usual coding agent, and the
agent follows the project's working agreement. The tool runs on Node and
Git, with no build step, runtime packages, database, or service.
For example, you might agree that a form must reject an empty name. The
agent writes a check that actually submits an empty name. Sudus records
whether that check passed and whether its result still applies after the
code changes. Once per commitment, right before Done, an independent
reviewer, started with none of the builder's conversation, reads the code
and the whole specification and attacks what the check might have missed.
It reads only: it runs nothing, and the receipts tell it what already ran.
The agent fixes or declines each finding it raises, with its reason, and
you read what it decided when the commitment is done.
The evaluator: the agent's gut check
At one kind of decision, a Consequential one with real options, the agent
measures its own draft before it decides. It runs sudus measure with the
draft, gets five scored dimensions back, and reads a composite and a
suggestion computed in code. The suggestion is advice: the agent decides.
Only two things ever take the decision away from it, a fixed code floor
(a draft that would change an Agreed requirement, the working agreement,
or data that cannot be regenerated) and the measurement's own veto (an
option that reaches too far, changes the contract, or opens too much new
surface). Both go to you.
| Dimension | What it scores, 0 to 4 |
|---|
| evidence | how much observed evidence backs the draft |
| reach | how far the recommended option reaches beyond the question |
| contract | how much it strains the cited requirement's contract |
| surface | how much new surface it adds |
| ambiguity | how ambiguous the question itself is |
Two sources, one measurement
| Source | When | What you need |
|---|
| Your harness's review model (default) | typesafeai.enabled is false | Nothing. sudus measure --brief prints a brief; a fresh session of your review model answers it into a JSON file; sudus measure <slug> --file <path> completes the measurement. |
| TypeSafe's jev model | typesafeai.enabled is true | An API key from https://typesafe.ai in the environment variable TYPESAFEAI_API_KEY. |
Both sources answer the same five questions over the same state, and the
same code computes the composite, the veto and the suggestion from their
answers. On the in-tree benchmark they agreed on every draft compared.
Set up jev in three steps
-
Export the key in the shell that runs your agent. Sudus reads it from
the environment only; it never writes it to a file, a record, a log or
an error message.
export TYPESAFEAI_API_KEY=your-key
-
In .sudus/settings.json, turn the source on with a versioned model
id. The other keys keep their defaults; they are the values the
benchmark was scored with.