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, not text, and a deterministic kernel checks every change before it commits.

Sley 2.2.0 released · Self-hosted · 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 don't write source. They change verified program state.

Watch Sley introduction on X ↗

Posted September 8, 2026 · Watch on X ↗

Sley 2.x

State, proposal, validation, commit.

A program is typed semantic state. An agent proposes a typed change against a verified root. The kernel validates it in fourteen phases and commits it only if it passes: atomically, 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.2.0 for Linux x86_64.

Static sley and sley-agent binaries. Verify against SHA256SUMS, then run the demo. A separate self-rebuild bundle lets Sley rebuild its own toolchain to a byte-identical fixed point.

Sley 2.2.0 / install
curl -LO https://github.com/sley-lang/sley/releases/download/v2.2.0/sley-2.2.0-linux-x86_64.tar.gz
curl -LO https://github.com/sley-lang/sley/releases/download/v2.2.0/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS
tar xzf sley-2.2.0-linux-x86_64.tar.gz
cd sley-2.2.0-linux-x86_64
./bin/sley version
python3 demo/run_demo.py

Current release / 2.2.0

2.x Machine-native

The graph is the program. Agents propose changes, the kernel validates them, and people decide what runs. Since 2.1.0 the toolchain is itself a Sley program that rebuilds itself. Open source under Apache-2.0.

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

Sley Legacy 1.x

The human-readable line.

Everything below covers Sley Legacy 1.x. Its final release, 1.2.1, stays open source under Apache-2.0.

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.

One task classifies a score; another calls it. The tools can query that call structure before any write is authorized.

Browse the Legacy examples ↗

Sley Legacy 1.x / why it exists

Text is not the whole program.

A text edit makes the tool guess the structure, then explain itself afterward. Sley puts 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 Sley 1.2.0, 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
Legacy claim evidence ↗

Sley Legacy 1.x / what tools 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 under review