Skip to main content

01 / Programming tools

SleyProgramming,
built for agents.

Sley is a machine-native programming system for AI agents, built by Greyforge Labs. Agents change verified program structure instead of editing text, and a deterministic kernel validates every change before it commits.

Sley 2.0.7 released · Open source · Apache-2.0

Sley 2.0 Loom Graph brand artwork: a machined steel loom weaving a structural graph into etched lines
The Sley 2.0 Loom Graph: structure, woven by machine.

Watch

Sley, in motion.

Machines do not write source. They change verified program state. The introduction shows how it works.

Posted September 8, 2026 · Watch on X ↗

Sley 2.x

State, proposal, validation, commit.

Programs live as typed semantic state. An agent proposes a typed change against a verified root, a deterministic kernel validates it in fourteen phases, and only a valid change commits, atomically and with a receipt.

How an agent changes a Sley 2 program
  1. 01Verified state
  2. 02Typed proposal
  3. 03Kernel validation
  4. 04Atomic commit

Download

Sley 2.0.7 for Linux x86_64.

Static binaries with checksums, including the sley-agent workbench. Download the archive and SHA256SUMS from the release page, verify, and run the demo.

Sley 2.0.7 / install
curl -LO https://github.com/sley-lang/sley/releases/download/v2.0.7/sley-2.0.7-linux-x86_64.tar.gz
curl -LO https://github.com/sley-lang/sley/releases/download/v2.0.7/SHA256SUMS
sha256sum -c SHA256SUMS
tar xzf sley-2.0.7-linux-x86_64.tar.gz
cd sley-2.0.7-linux-x86_64
./bin/sley version
python3 demo/run_demo.py   # prints "result": "PASS"

Current release / 2.0.7

2.x Machine-native

The graph is the program. Agents propose structural changes, a deterministic kernel validates them, and people keep authority over what runs. Sley 2.0 is a clean break by design, open source under Apache-2.0.

Read the Sley 2 docs ↗Sley 2.0.7 release ↗Why Sley 2 ↗

Sley Legacy 1.x

The human-readable line.

Everything below describes Sley Legacy 1.x, the complete human-readable language. Its final release is 1.2.1. It stays open source under Apache-2.0 for study, use, and forks.

Sley Legacy 1.x / source example
module app.compute

task classify -> Text {
  take score: Int
  return if score >= 90 { "excellent" } else { "steady" }
}

task main -> Text {
  bind score = 40 + 55
  return call classify(score)
}

The Sley 1.x line

Read the program.
Inspect its connections.

A Sley Legacy task that classifies a score, called from another task. The tools can query the call structure before any write is authorized.

Browse the Legacy examples ↗

Sley Legacy 1.x / why it exists

Text is not the whole program.

Text editing makes a tool guess the structure, change it, and explain itself afterward. Sley puts the structure first, so every change is known before it happens.

Sley Legacy 1.x / recorded query example
$ sley query --json --kind calls examples/project

"schema": "sley.query.report.v0"
"kind": "calls"
"entry_module": "app.main"
"modules": 2, "calls": 1

Selected fields from a recorded Sley Legacy query.

The Sley Legacy 1.x change lifecycle
  1. 01Inspect structure
  2. 02Plan transformation
  3. 03Authorize scope
  4. 04Verify evidence
Sley Legacy release checks (recorded on 1.2.0, carried into 1.2.1)

Sley Legacy release checks, recorded on 1.2.0 on August 27, 2026, and carried into the final 1.2.1 release.

release targets
38 / 38
report schemas
99
contract fixtures
187 / 187
corpus cases
72
integration checks
264 / 264

Recorded on Sley 1.2.0, August 27, 2026; carried into 1.2.1.

Legacy claim evidence ↗

Sley Legacy 1.x / what the tools can inspect

  • Typed structural nodes and relationships
  • Declared intent and transformation boundaries
  • Available capabilities before a write
  • Deterministic reports and verification results

Sley Legacy 1.x / what people keep

  • Readable source and an explicit proposed change
  • Authority over whether the proposal may execute
  • A reviewable boundary between reports and mutation
  • Evidence tied to the exact checkpoint being discussed