Runtime
The open-source Atracode runtime, a deterministic evaluator that executes the SEG directly and ships inside every build.
Preview. Atracode opens at launch, and the commands, tools and API shapes on this page may change before then.
The Atracode runtime is the program that runs compiled Atracode code. It is a deterministic evaluator: it executes the Semantic Execution Graph (SEG) directly, with no operating system, libc or vendor compiler underneath it.
The runtime is open source. Its source will be published at github.com/atracode/runtime at launch, so you can read it, audit it and build it yourself.
Same input, same result
Given the same SEG and the same inputs, the runtime produces the same result on every machine. That holds across processors, operating systems and providers, because nothing the program does depends on the machine underneath:
- Integer widths and types are fixed at compile time, so arithmetic doesn’t change with the platform.
- Memory is one value threaded through the graph, the memory membrane, so every read and write is explicit.
- A program can only touch what it declares. The clock, the network and environment variables come in as inputs; code that reaches for them directly is refused at compile time.
- Every execution runs on a fuel budget, so a run can’t loop forever and always stops at the same point if it runs out.
This is also why the runtime is small. It doesn’t need to emulate a machine or link against system libraries; it evaluates a graph whose behavior was fixed and verified when it was compiled.
Inside every build
You don’t install the runtime separately to run your code. atracode build <dir> compiles a project into one self-contained binary with the runtime inside it:
atracode build ./my-service
That binary runs on its own. Copy it to a machine and run it; there is nothing else to install. To run a single compiled file or a built binary from the CLI, use atracode run:
atracode run ./my-service
Builds you deploy to Atra OS nodes with atracode deploy carry the runtime the same way. Atra OS is a host built for these binaries, but they don’t depend on it.
Paid plans add signed runtime binaries (Pro Builder and Team & AI Studio) and air-gapped verified releases (Enterprise Scale). See Plans and billing.
Separate from the compiler
The compiler and the runtime are different pieces with different jobs:
| Compiler | Runtime | |
|---|---|---|
| What it does | Lowers source to a SEG, verifies it against the native toolchain, assigns its RAVEN hash | Executes a compiled SEG |
| Where it runs | Hosted by Atracode, reached through the CLI, SDKs and MCP server | Anywhere: inside your build, on your machine, in your host program |
| Source | Not distributed | Open source |
Your programs never need the compiler at run time. Once a program is compiled, the runtime and the SEG are all it takes to run it, so a build keeps working regardless of what happens to the tools that produced it.
Embeddable
The runtime can also be embedded in your own program. Your host loads a compiled SEG, supplies its inputs, sets a fuel budget and reads the outputs. Anything from the outside world, such as the time, a network response or a file, is handed in by the host as an input. Embedding shows how.