Orison

Agent-native application language for tool suite
35 nodes

/projects/orison

Orison

04

A memory-safe, statically-typed compiled application language built for the edit-check-repair loop — capability-secured effects, JSON-first diagnostics, and structural Patch IR so LLM agents edit by stable node ID instead of rewriting files.

Project context05

Problem

General-purpose programming languages are not optimized for AI edit-check-repair loops. Agents need stable semantic maps, structured diagnostics, capability-secured effects, and patch targets that survive refactors.

Solution

Orison is an agent-native application language with a Rust compiler, WebAssembly path, LSP support, JSON-first diagnostics, OpenAPI/UI manifests, and Patch IR for stable node-level edits.

Challenges

The language has to balance human ergonomics with agent needs: type checking, effects, diagnostics, borrow-like safety, manifest generation, and structural patching all need to reinforce each other.

Innovation

The core innovation is treating the compiler as an agent interface. Instead of asking agents to rewrite text, Orison gives them maps, capsules, diagnostics, and stable patch targets.

Domain expertise

This shows Stefan's systems-language thinking across compiler architecture, LSP tooling, WebAssembly delivery, schema generation, capability security, and agent-native developer infrastructure.

Case study evidence11

Outcomes

  • Defines a programming-language direction where agents edit against semantic structure instead of brittle text spans.
  • Makes diagnostics, patches, manifests, OpenAPI output, UI metadata, and Wasm artifacts part of one compiler surface.
  • Demonstrates a systems-level answer to why agent coding fails when tooling is not designed for agents.

Architecture decisions

  • Stable node IDs and Patch IR let agents apply focused edits after orienting through compact maps.
  • JSON-first diagnostics and schemas make compiler feedback directly machine-consumable.
  • Capability-secured effects connect language semantics to runtime permission boundaries.

Domain expertise signals

Compiler designAgent-native languagesPatch IRLSPCapability security
Technical deep dive09

Orison is the deepest systems project in the portfolio because it changes the programming substrate for agents. The compiler becomes an interface that agents can query, diagnose, patch, and verify structurally.

Structural orientation

Agents get maps, capsules, symbols, and diagnostics instead of loading entire files into context. That gives them a bounded semantic view before they attempt a change.

Patch semantics

Patch IR targets stable node IDs, so edits can land against structure rather than fragile text spans. This directly addresses a core failure mode of AI coding agents.

Capability model

Effects and capability manifests connect language semantics to runtime permissions. That lets the compiler describe what code is allowed to do before the agent or runtime executes it.

Artifact generation

OpenAPI, UI manifests, JSON schemas, diagnostics, LSP features, and WebAssembly output come from the same compiler surface. The language is designed to generate contracts agents can consume.

What this proves

  • Stable node IDs for refactor-resistant edits
  • JSON-first diagnostics and schema contracts
  • Patch IR with dry-run and apply semantics
  • Compiler outputs double as agent interfaces
456tests passing
34JSON contracts
30+CLI commands
~77µsround trip
27stdlib modules
5crates
Technology stack04
Rust

Rust

The compiler and agent-facing tools need memory safety, speed, and predictable binaries.

Wa

WebAssembly

Provides a portable target for running compiled components outside the native toolchain.

LS

LSP

Lets humans and agents share editor-grade hover, rename, and reference capabilities.

JS

JSON Schema

Makes diagnostics, patch operations, OpenAPI output, and UI manifests machine-readable.

Tools implemented08

ori CLI

Exposes 30+ subcommands where every command returns a JSON envelope.

agent map

Returns a compact symbol table so agents can orient without loading the whole repo.

Capsule

Summarizes module exports and semantic context for focused edits.

Diagnose

Produces repair candidates and machine-readable status for an agent loop.

Patch IR

Applies structural edits by stable node ID instead of brittle text rewrites.

Type and effect checks

Runs resolver, type checker, inference, effect propagation, borrow checks, and exhaustive match checks.

LSP server

Brings hover, rename, references, and diagnostics into editors.

OpenAPI and UI manifest generators

Extract runtime-facing contracts from source instead of maintaining parallel docs.

Stefan Creadore · @Eldergenixproduction agent systems mapped end to end