Skip to main content
AILANG logo

AILANG World

Unix made everything a file. World makes everything a typed state transition.

A semantic operating environment whose transactions are AILANG programs: agents propose, a verifier checks, and only verified, authorized changes commit.

World in six minutes

The problem it solves, why it is more than a git worktree, how a change is proposed, verified and committed, and what it looks like to the person in charge.

1.0 bar metAll 7 release clauses met; v1.0.0-rc.1 is out. Agents did no worse inside World than with a shell, and provenance answered real "why" questions in under a minute each.See the roadmap

How it works

The kernel is an immutable world graph. State changes only through transitions: pure AILANG functions, checked before they run. Every effect passes through a capability-checked broker, and MCP and A2A are the native boundary.

  1. 1

    Propose

    An agent proposes a change as an AILANG program. It never writes to the world directly.

  2. 2

    Verify

    Types and Z3 contracts are checked before anything runs. Unverified proposals stop here.

  3. 3

    Commit

    Verified, authorized, budgeted proposals commit to an append-only, content-addressed log.

  4. 4

    Replay

    A pure transition plus its recorded effect results rebuilds any past state bit-for-bit.

MCP native, session scoped

An agent connects to the daemon's /mcp/ endpoint with a minted session. It sees only the tools whose effects that session holds a grant for.

The call result carries the tool's output plus the world block: the effect records it produced and the plan that ran. Resolve any record by its content address.

Connect an agent
mcp: tools/list
# List the tools this session may call (MCP over the local daemon)
curl -s -H "Authorization: Bearer $(cat /tmp/se-session)" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
  http://127.0.0.1:7644/mcp/

# Call one: a brokered effect, one committed log entry
curl -s -H "Authorization: Bearer $(cat /tmp/se-session)" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"ailang-read","arguments":{"path":"hello.ail"}}}' \
  http://127.0.0.1:7644/mcp/

The underlying OS executes bytes. World executes intent.