Compile any language.
Prove what it does.
Atracode turns code in any of 65 languages into one graph of what it computes, checks it bit for bit against the original toolchain, and runs it with no dependencies.
Agents online
- Pythonrisk/model.pyVerifying········now
- COBOLINTEREST.cblVerified13803fe62s
- Rustledger/interest.rsVerified13803fe614s
- Goauth/session.goVerified3b7d0a921m
- SQLetl/org_costs.sqlVerified3f1425463m
- PowerShelldeploy/rotate.ps1RefusedL12:C94m
- Ccrypto/x25519.cVerified0d4fa3c76m
INTEREST.cbl
Lowered to SEG · verified
RAVEN identity
13803fe6908d64b3301b931688e6244c99d9b80f15c781f5de7581abb7c3d2af
Same hash as ledger/interest.rs: one computation, two languages.
Atracode is one compiler for every language. It reduces a program to what it computes, names that behavior with a hash, and checks the result against the program's own toolchain before anything runs.
Compile
Source in any supported language becomes a Semantic Execution Graph: typed dataflow with every memory access and side effect written out.
INTEREST.cbl→ parse · width model · membrane→ SEG 41 nodes · 0 open effects
The graphVerify
The same source also goes through its own native toolchain. Both builds run on thousands of inputs and must agree bit for bit.
GnuCOBOL 3.1.2 vs Atracode→ 4,020 inputs, output and memory→ 4,020 match · 0 disagree
How verification worksRun
The graph runs on the open-source runtime, inside a single binary with no operating system, libc or vendor compiler underneath.
$ atracode run ./interest→ 1,000,000 ¢ at 4.25% for 30 years→ 3,485,633 ¢ · 0.9 ms · 0 deps
The runtime
Three languages, one hash. Pick a language and compile it.
The COBOL, Python and Rust samples below compute the same thing, so they compile to the same graph and the same behavior hash. Pick one, compile it, and compare the result with the native toolchain.
INTEREST.cbl
Compound interest
Grows a balance held in cents by a rate in basis points for N years, rounding half away from zero each year.
IDENTIFICATION DIVISION.
PROGRAM-ID. INTEREST.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 BALANCE PIC 9(13) COMP-3 VALUE 1000000.
01 RATE-BP PIC 9(5) COMP-3 VALUE 425.
01 YEARS PIC 9(3) VALUE 30.
01 Y PIC 9(3).
PROCEDURE DIVISION.
PERFORM VARYING Y FROM 1 BY 1 UNTIL Y > YEARS
COMPUTE BALANCE ROUNDED =
BALANCE + BALANCE * RATE-BP / 10000
END-PERFORM
DISPLAY BALANCE
GOBACK.interest.py
Compound interest
The same computation as the COBOL program, written in Python with integer cents and explicit half-away rounding.
def compound(balance: int, rate_bp: int, years: int) -> int:
# integer cents; round half away from zero, like COBOL ROUNDED
for _ in range(years):
delta = balance * rate_bp
balance += (delta + 5_000) // 10_000
return balance
print(compound(1_000_000, 425, 30))interest.rs
Compound interest
The same computation again, in Rust. The syntax is different; the behavior and the hash are the same.
fn compound(mut balance: u64, rate_bp: u64, years: u32) -> u64 {
// integer cents; round half away from zero
for _ in 0..years {
balance += (balance * rate_bp + 5_000) / 10_000;
}
balance
}
fn main() {
println!("{}", compound(1_000_000, 425, 30));
}sha256.cpp
SHA-256 compression round
The core round of a SHA-256 class. Every 32-bit rotate, add and wrap lowered exactly through the memory membrane.
class Sha256 {
std::array<uint32_t, 8> h;
static constexpr uint32_t rotr(uint32_t x, int n) {
return (x >> n) | (x << (32 - n));
}
public:
void round(const uint32_t* w, const uint32_t* k) {
auto [a, b, c, d, e, f, g, hh] = h;
for (int i = 0; i < 64; ++i) {
uint32_t s1 = rotr(e, 6) ^ rotr(e, 11) ^ rotr(e, 25);
uint32_t t1 = hh + s1 + ((e & f) ^ (~e & g)) + k[i] + w[i];
// ... s0, maj, t2; rotate working variables
}
}
};org_costs.sql
Recursive org-chart cost roll-up
Walks a reporting tree and totals salary cost under each manager, with no database server.
WITH RECURSIVE chain AS (
SELECT id, manager_id, salary, id AS root
FROM employees
UNION ALL
SELECT e.id, e.manager_id, e.salary, c.root
FROM employees e
JOIN chain c ON e.manager_id = c.id
)
SELECT root AS manager, SUM(salary) AS team_cost
FROM chain
GROUP BY root
ORDER BY team_cost DESC;Rotate-Log.ps1
Log rotation script → verified graph
A typical ops script. Compiled, it becomes a reproducible, auditable object with its file effects on an explicit membrane; anything non-deterministic is refused, not run.
param([string]$File = '/var/log/app.log', [int]$Keep = 7)
function Rotate-Log([string]$File, [int]$Keep = 5) {
for ($i = $Keep - 1; $i -ge 1; $i--) {
if (Test-Path "$File.$i") {
Move-Item "$File.$i" "$File.$($i + 1)" -Force
}
}
if (Test-Path $File) { Move-Item $File "$File.1" -Force }
'rotated {0} (keep={1})' -f $File, $Keep
}
Rotate-Log $File $KeepPress Compile to Atracode to lower this program.
- parse
- width model
- membrane
- SEG
RAVEN identity · sha-256
| Native toolchain | Atracode |
|---|
105 languages, formats and engines. Each checked against its own toolchain.
65 programming languages, plus query languages, data formats, templates, graphics, protocols and ML artifacts. Every front end runs side by side with the real compiler, interpreter or reference implementation, and the two must agree on every output. Open one to see what it's tested against.
A compiler built for coding agents. Fixed rules, exact errors, and a hash that shows what changed.
Most agent failures come from the environment: packages that aren't there, machines that differ, rewrites nobody checks. Atracode gives agents a fixed target and an exact location whenever something is out of bounds.
Four tools over MCP
Claude, Cursor, Devin or your own framework, connected with one config block.
atracode_compile
Compile to a graph, or get the exact line that stopped it
atracode_verify_equivalence
Check that two programs behave the same
atracode_inspect_seg
See inputs, memory reads and writes, limits
atracode_get_raven_hash
Get the behavior hash for caching and audit
- claude-codeatracode_compile("ledger/interest.rs")
- atracoderefused interest.rs:14:9 reads SystemTime::now()
- claude-codeedit: take the valuation date as a parameter
- claude-codeatracode_compile("ledger/interest.rs")
- atracodeverified raven:13803fe6… 10,809 / 10,809 match
- claude-codeatracode_verify_equivalence("INTEREST.cbl", "ledger/interest.rs")
- atracodeidentical same hash, same output on every input
- Closed world
- A program can only touch what it declares, so nothing depends on what the machine happens to have installed.
- Refusal with a location
- Anything Atracode can't reproduce exactly is refused with a line and column the agent can fix.
- Same result every run
- Evaluation is metered and deterministic, so a retry never changes the answer.
- Changes you can see
- The behavior hash shows whether an edit changed what the code does, before it merges.
A single binary with nothing underneath it. Run it anywhere, or on Atra OS.
Every build ships with the open-source runtime inside it, so it runs as a single file with no container, libc or vendor compiler. When you want a host made for it, put Atra OS on a server you already rent.
Atracode runtime
Open sourceA deterministic evaluator with a fuel budget on every run. The same graph gives the same answer on any machine.
$ atracode build ./ledger compiled 14 files · 3 languages verified 26,451 inputs · 0 disagreements wrote ledger (412 KB, runtime included)$ ldd ./ledger not a dynamic executableAbout the runtime
Atra OS
Half the usual priceA small host OS for Atracode apps and sites, installed through cloud-init on any provider. No container layer, and attestation of what's running.
- Physical serverfrom $0.0195/hr · $14.24/mo
- Cloud instancefrom $0.0025/hr · $1.83/mo
What's next. Behavior diffs, migrations and a language for agents.
A language for agents, behavior diffs on every pull request, whole-codebase migrations with a certificate, and four more ideas we're working toward.
Every plan has its price on the page. Enterprise too.
Pick a plan, add Atra OS if you need it, and check out without a sales call. There's no sign-up form: your account is made as you choose a plan.