Manuscript
v2026.12.0

Manuscript

Simple like Go.
Safe and fast like Rust.

A compiled language for code written by agents. One owner per value with no GC, no lifetimes, and no async. Cranelift debug builds, LLVM release code, and static review tools in one toolchain.

curl -fsSL https://manuscript-lang.github.io/manuscript/install.sh | sh

Linux, macOS & Windows amd64 & arm64 MIT

A taste#

An HTTP server and client in 12 lines. Each connection runs as its own promise across cores, and server.close() shuts it down cleanly.

Manuscript
import (
    fetch from "@std/net/fetch.ms",
    buffered, text from "@std/net/http.ms",
    serve from "@std/net/net.ms",
)

fn main() Void! {
    handler := buffered(request => text(200, f"hello {request.path}"))
    server := serve("127.0.0.1:0", handler)?
    response := fetch(f"http://{server.address()}/orders").wait()?
    print(response.text()?)
    return server.close()
}

What the compiler catches#

Use-after-move names both lines at compile time:

Manuscript
fn main() Void {
    name := "ada"
    var names = List[String]()
    names.append(name)
    print(name)
    // move.ms:4:18: type: `name` is moved here but used again at 5:11
}

An effect must be permitted by every caller that reaches it:

Manuscript
import write_file from "@std/os/fs.ms"

// ms: effect db.write
// ms: allow_effect std.fs.write
fn save(order String) Void! {
    return write_file("orders.log", order).wait()
}
fn audit(total Int) Void! {
    return save(f"{total}")
    // warning MSL116: `audit` reaches db.write: audit -> save
}

Read on: ownership , errors as values , effects , diagnostics , and concurrency .

Under the hood

  • One owner, no GC, no lifetimes. Parameters borrow by default, .clone() is the only copy, and hold with & returns borrowed parts without lifetime parameters. Closeable resources close on every exit, overflow traps, and use-after-move is a compile error. Ownership rules
  • Fast to compile, fast to run. Written in C with shared MIR passes, Cranelift for Debug (2.3 s check and lower, 5.9 s cold build on 123k lines), and LLVM for Release averaging 0.90× Rust across 21 benchmarks and 0.43× Go across 23 (benchmarks).
  • Color-free concurrency. promise and .wait() on a work-stealing scheduler (1 thread per core, up to 63), ~5 KB per parked task with idle hibernation, cancellation on drop, and per-promise fault isolation. Concurrency
  • Static types and effects. No any and no runtime reflection, compile-time typed JSON codecs, and comment-based effects (// ms: effect) checked across every caller and package boundary. Effects
  • Agent diagnostics and visual review. Every diagnostic names <cause>; <fix> with --json and ms check --only types --fix. ms map emits an offline HTML code map of source, types, calls, and ownership with a --diff overlay; ms map --view review --diff ranks what changed. Code map
    A change review in the code map: place_order can now print, with its edited lines inline, the callers that gain the effect, and the review queue on the left. A change review in the code map: place_order can now print, with its edited lines inline, the callers that gain the effect, and the review queue on the left.
    Reviewing a change: the riskiest change first, with its edit and who it affects.

Start here

Written in C with the standard library in Manuscript. Beta 2026.12.0, core language frozen. Linux, macOS, and Windows (amd64 & arm64). MIT.