GitHub →

Strata

An experimental programming language where types carry contracts that are proven, code is stored as its syntax tree, and every edit is checked before it is stored.

→ or space to begin
The problem

the agent's terminal

An illustration of a typical agent session in a codebase of text files.

What Strata does about it

Three ideas.

Proving over testing

Proven, fuzzed, or refuted, with the input that breaks it.

$ strata verify · examples/math.strata
What a change reaches

The code is the AST

The code is the AST

Strata stores the graph, not the text.

orders.strata · rendered as text
Structural changes

$ git diff · examples/tasks

✗ line diff

git diff

✓ structural change

strata diff
The code is the AST
~/shop
piped into strata edit
The code is the AST

Several agents, at the same time.

agent A, on main
agent B, on agent-b
agent B: strata sync main
The code is the AST

The code is the AST

Under the hood

Compiled everywhere, and more and more of it written in Strata.

std.regex, written in Strata
~/regex
Try it

Strata is an experiment. You can try it.

terminal