# Atracode

> Atracode is a universal compiler, verification engine and deterministic runtime. It lowers source code in 105 languages, formats and engines into one canonical Semantic Execution Graph (SEG), proves it bit-for-bit identical to the native toolchain, and gives it a content-addressed identity (RAVEN SHA-256 hash). Identity is behavioral: the same computation in any language yields the same hash.

The compiler is a hosted service reached only through authenticated endpoints (platform, CLI, SDKs, MCP). The runtime is open source and bundled into every build deployed from the platform. Atra OS is a lean host operating system subscribed per machine and provisioned onto servers the customer runs with any provider.

## Core concepts
- SEG: pure, statically typed, closed-world dataflow graph. Memory is modeled as a single value (the "membrane"), so every read and write is explicit.
- RAVEN: canonical serialization of a SEG, hashed with SHA-256. Two programs share a hash if and only if they are the same computation.
- Differential verification: each program is compiled by Atracode and by the native toolchain, run over large input sweeps, and must agree bit-for-bit in output and memory, then match published test vectors.
- Fail-closed: constructs outside verified semantics are refused with an exact file, line and column. Atracode never approximates.
- Sovereign runtime: fuel-metered, deterministic evaluator with no OS, vendor compiler or library dependency.

## Connect an agent (MCP)
Tools: atracode_compile, atracode_verify_equivalence, atracode_inspect_seg, atracode_get_raven_hash.

```json
{ "mcpServers": { "atracode": { "command": "npx", "args": ["-y", "@atracode/mcp-server"], "env": { "ATRACODE_API_KEY": "<your key>" } } } }
```

CLI install: `curl -fsSL https://atracode.sh | sh`

## Supported languages (verified against)
- Programming languages (65): C (zig cc (clang)); C++ (zig c++ (C++20)); Rust (rustc); Go (Go 1.24.5 (go run)); Zig (Zig 0.17.0); D (DMD / LDC); V (V compiler); Nim (Nim compiler); Odin (Native Odin compiler); Java (JDK 21 (javac / java)); C# (.NET 8 SDK); Kotlin (kotlinc / JVM); Scala (Scala 3 compiler); VB6 (VB compiler); VB.NET (VB compiler); Haskell (GHC 9.6.6); OCaml (OCaml 4.14.1); F# (.NET SDK); Elm (Elm compiler); PureScript (purs); ReScript (ReScript compiler); Elixir (Elixir on the BEAM); Erlang (Erlang/OTP); Gleam (Gleam on the BEAM); Clojure (Clojure); Common Lisp (SBCL); Scheme (Chez Scheme); Racket (Racket); Swift (Swift 6); Dart (dart run); Crystal (Crystal compiler); Solidity (solc and the EVM); Groovy (Groovy); Objective-C (Reference engine); Smalltalk (Reference engine); Python (CPython); Ruby (Ruby interpreter); Perl (Perl interpreter); PHP (PHP interpreter); Lua (Lua interpreter); JavaScript (Node.js); TypeScript (Node.js); ActionScript (Reference engine); ColdFusion (Reference engine); VBA (Reference engine); PowerShell (PowerShell 7); Tcl (tclsh); AWK (gawk); jq (jq); Mojo (Mojo SDK); R (R interpreter); Julia (Julia); MATLAB (Reference engine); NumPy (NumPy on CPython); Fortran (gfortran); Ada (GNAT); Pascal (Free Pascal); COBOL (GnuCOBOL 3.1.2); MUMPS (Reference engine); ABAP (Reference engine); Prolog (SWI-Prolog (swipl)); Assembly (x86-64 and ARM64) (Native execution); LLVM IR (LLVM lli); WebAssembly (WAT) (Reference interpreter); Verilog (Reference simulator)
- Query and data languages (10): SQL (SQLite); PostgreSQL (PostgreSQL); DuckDB SQL (DuckDB); Spark SQL (Apache Spark); Cypher (openCypher reference); SPARQL (W3C SPARQL reference); MongoDB MQL (MongoDB); Redis (Redis); GraphQL (GraphQL reference implementation); Kubeflow Pipelines (Kubeflow Pipelines SDK)
- Data and configuration formats (18): JSON (Reference library); XML (Reference parser); YAML (Reference parser); TOML (Reference parser); CSV (Reference library); CBOR (Reference implementation); BSON (Reference implementation); MessagePack (Reference implementation); Avro (Apache Avro); Thrift (Apache Thrift); Protocol Buffers (protoc); ORC (Apache ORC); Parquet (Reference library); Apache Arrow IPC (Apache Arrow); HCL (HashiCorp HCL); Dockerfile (BuildKit parser); Nix (Nix evaluator); Starlark (Starlark reference interpreter)
- Markup, templates and the web (6): HTML (Reference parser); CSS (Reference style resolution); Markdown (CommonMark reference); Jinja (Jinja2); Liquid (Liquid reference); Handlebars (handlebars.js)
- Graphics and 3D (2): 3D meshes (glTF, OBJ, STL, PLY) (Reference loaders); GPU texture codecs (KTX2, Basis, Draco) (Reference encoders and decoders)
- Protocols and infrastructure (3): Kafka wire protocol (Apache Kafka); Nginx config (nginx); Apache httpd config (Apache httpd)
- ML artifacts (1): MLflow model signatures (MLflow)

## Pricing (USD)
- Community: $0/mo; 250 compilations / mo; 1 active agent stream; over-quota Paused until reset
- Pro Builder: $29/user/mo; 5,000 compilations / mo; 5 parallel agents; over-quota $0.005 / compile
- Team & AI Studio: $99/user/mo; 25,000 compilations / mo; 20 parallel agents; over-quota $0.003 / compile
- Enterprise Scale: $349/user/mo; 150,000 compilations / seat / mo; Unlimited parallel agents; over-quota $0.001 / compile
- Atra OS, per machine per hour (pay as you go by the hour with half-size volume and data-sharing discounts, or monthly, 3, 6 and 12-month subscriptions with every discount, including 10%, 17.5% and 25% off for the longer terms): Physical server coverage $0.0195/hr Host / $0.029/hr Complete, 24/7 Full support +$0.073/hr; Cloud instance coverage $0.0025/hr Host / $0.0035/hr Complete, 24/7 Full support +$0.051/hr. Weekday support is half of 24/7. Add-ons: High Availability, Resilient Storage, Extended Update Support, Legacy maintenance. Personal use free on up to 5 machines.
- Codebase conversion: Self-Service Conversion $0.08/LOC; Certified Equivalence Conversion $0.20/LOC
- Discounts stack: volume (5–24: 10%, 25–99: 18%, 100–249: 25%, 250+: 35%), data sharing (partial 15%, full 30%), term (3 mo 10%, 6 mo 17.5%, 12 mo 25%).

## Pages
- [Features](https://atracode.com/features): SEG, RAVEN, verification, engine replacements, cryptography, runtime, Atra OS
- [Use cases](https://atracode.com/use-cases): modernization, AI agents, self-hosting with no third-party stack, supply-chain audit, long-term execution
- [Atra OS](https://atracode.com/atra-os): host OS subscribed per machine on servers you run, with attestation
- [Atratainer](https://atracode.com/products/atratainer): building; in place of Docker and OCI containers. Package code and every dependency into one unit addressed by its hash. Runs bit-identically anywhere, with no base image.
- [Atrastrate](https://atracode.com/products/atrastrate): designing; in place of Kubernetes. Prove two configs are equivalent, guarantee reconciliation converges, and read every rollout as a diff of behavior.
- [Atraimage](https://atracode.com/products/atraimage): building; in place of PNG, JPEG, WebP and AVIF. An image codec with content-addressed pixels, built-in integrity and dedup.
- [Atraphile](https://atracode.com/products/atraphile): building; in place of WAV, FLAC, Opus and AAC. An audio codec with content-addressed samples and deterministic decode.
- [Atravid](https://atracode.com/products/atravid): designing; in place of H.264, HEVC and AV1. Video as a content-addressed block-DAG: cross-library dedup, provable per-frame decode, and O(1) seek to any frame.
- [Atramodel](https://atracode.com/products/atramodel): designing; in place of PyTorch and CUDA inference stacks. Compile a transformer model to run on the Atracode runtime: deterministic inference, a model named by its hash, no PyTorch or CUDA, and provable outputs.
- [Hasis](https://atracode.com/products/hasis): building; in place of Vector databases, RAG frameworks, memory layers and knowledge graphs. One content-addressed substrate that is the store, the index and the retrieval at once, where every remembered claim carries provenance and trust.
- [Atrabase](https://atracode.com/products/atrabase): designing; in place of Cloud SQL, AlloyDB, Spanner, Bigtable, Firestore and Memorystore. One verifiable store with every data model as a query view, and a cryptographic proof with every read.
- [Atrastore](https://atracode.com/products/atrastore): designing; in place of Amazon S3 and Google Cloud Storage. Content-addressed object storage: automatic dedup, provable integrity and free immutable versioning.
- [Atrastream](https://atracode.com/products/atrastream): exploring; in place of Apache Kafka. An event log where ordering and exactly-once delivery are provable: a consumer proves it processed exactly the ordered set.
- [Atraguard](https://atracode.com/products/atraguard): designing; in place of Okta and Auth0. Identity and access where every decision emits a proof of why it was granted or denied.
- [Atrascope](https://atracode.com/products/atrascope): exploring; in place of Datadog and Splunk. Observability where telemetry is tamper-evident and every alert is a provable read.
- [Atrashow](https://atracode.com/products/atrashow): exploring; in place of HLS and DASH streaming, Twitch and YouTube Live. Content-addressed adaptive streaming on the Atravid block-DAG: instant seek and quality switching, and CDN delivery that dedups by construction.
- [Runtime](https://atracode.com/runtime): the open-source deterministic runtime inside every build
- [Integrations](https://atracode.com/integrations): agents that connect over MCP, and planned integrations
- [AI & MCP](https://atracode.com/ai): agent configuration for Claude, Cursor, Devin Desktop
- [Developers](https://atracode.com/developers): CLI, SDKs (Python, TypeScript, Go, Rust, C#), open-source runtime
- [Pricing](https://atracode.com/pricing): tiers, nodes, conversion, calculator
- [Security](https://atracode.com/security): verification sweeps and disclosure policy
- [Docs](https://atracode.com/docs): technical manual

## Documentation (Markdown)
- [Getting started: Introduction](https://atracode.com/docs/introduction.md): What Atracode is, and what it gives you back when you compile a program.
- [Getting started: Quickstart](https://atracode.com/docs/quickstart.md): Install the CLI, sign in, compile a Python program, compare its RAVEN hash with a Rust version, and fix a refusal.
- [Getting started: Concepts](https://atracode.com/docs/concepts.md): Short definitions of the terms used across the Atracode docs, from the SEG and RAVEN hashes to fuel, Atra OS and agent streams.
- [Getting started: Connect an agent](https://atracode.com/docs/connect-an-agent.md): Give Claude Desktop, Claude Code, Cursor or Devin Desktop the Atracode compiler through the MCP server, and see how results and refusals reach the agent.
- [How it works: Semantic Execution Graph](https://atracode.com/docs/semantic-execution-graph.md): What the SEG is, the four properties every graph has, and how Atracode turns source code into one.
- [How it works: Memory membrane](https://atracode.com/docs/memory-membrane.md): How the SEG models all memory as one value, why that makes aliasing and out-of-bounds effects visible, and how pointers and arrays lower.
- [How it works: RAVEN hashes](https://atracode.com/docs/raven.md): How RAVEN turns a SEG into a behavior hash, what changes the hash and what doesn't, and how to use it for caching, provenance and migrations.
- [How it works: Verification](https://atracode.com/docs/verification.md): How Atracode checks every compiled program against its native toolchain, bit for bit in output and memory, and what happens when they disagree.
- [How it works: Refusals](https://atracode.com/docs/refusals.md): Why Atracode refuses code it can't verify exactly, how to read a refusal, the common causes and fixes, and how agents receive them.
- [Languages: Languages](https://atracode.com/docs/languages.md): The 105 languages, formats and engines Atracode compiles, grouped into seven kinds, and the reference each one is checked against.
- [AI & MCP: MCP server](https://atracode.com/docs/mcp-server.md): Install and configure the Atracode MCP server in Claude Desktop, Claude Code, Cursor or Devin Desktop, and fix common setup problems.
- [AI & MCP: MCP tools](https://atracode.com/docs/mcp-tools.md): Parameters, results and example calls for the four Atracode MCP tools, plus how refusals and divergences come back.
- [AI & MCP: llms.txt](https://atracode.com/docs/llms-txt.md): What /llms.txt and /.well-known/mcp.json contain, how to point an agent at them, and why they always match the site.
- [AI & MCP: Agent streams](https://atracode.com/docs/agent-streams.md): How agent streams work, how many each plan runs in parallel, and how their compilations count toward your workspace quota.
- [CLI & API: CLI](https://atracode.com/docs/cli.md): Install the atracode command-line tool, sign in, and use each command to compile, verify, inspect, hash, build, run, deploy and audit.
- [CLI & API: SDKs](https://atracode.com/docs/sdks.md): Install and use the Atracode SDKs for Python, TypeScript, Go, Rust and C# to compile programs and read RAVEN hashes or refusals.
- [CLI & API: Authentication](https://atracode.com/docs/authentication.md): Where Atracode API keys come from, how the CLI, SDKs and MCP server use them, and how to keep them secret and rotate them.
- [CLI & API: Limits and quotas](https://atracode.com/docs/limits-and-quotas.md): Monthly compilations, agent concurrency and over-quota rates for each Atracode plan, what happens when Community runs out, and fuel budgets.
- [CLI & API: Errors](https://atracode.com/docs/errors.md): The difference between a refusal and an error in Atracode, and what to do about authentication, quota, invalid input and availability errors.
- [Atra OS: Atra OS](https://atracode.com/docs/atra-os.md): What Atra OS is, how it relates to the Atracode runtime, and how it is licensed and installed on servers you rent.
- [Atra OS: Provisioning a node](https://atracode.com/docs/provisioning.md): Rent a server, license it, install Atra OS with cloud-init or a host integration, and deploy your first build to the node.
- [Atra OS: Nodes and subscriptions](https://atracode.com/docs/nodes.md): How Atra OS is priced by the hour per machine, the machine types, coverage, support levels and add-ons, Personal use, subscription and volume discounts, and how to buy or change a subscription.
- [Atra OS: Attestation](https://atracode.com/docs/attestation.md): What hardware-backed attestation on Atra OS proves, why Atra OS is installed onto servers instead of from an image, and how it ties into atracode audit.
- [Runtime: Runtime](https://atracode.com/docs/runtime.md): The open-source Atracode runtime, a deterministic evaluator that executes the SEG directly and ships inside every build.
- [Runtime: Fuel](https://atracode.com/docs/fuel.md): How fuel metering bounds every Atracode execution, what consumes fuel, what happens when it runs out, and how to set a budget.
- [Runtime: Embedding the runtime](https://atracode.com/docs/embedding.md): Run compiled Atracode programs inside your own host program by loading a SEG, supplying inputs, setting a fuel budget and reading outputs.
- [Account & billing: Plans and billing](https://atracode.com/docs/plans-and-billing.md): Atracode plans, prices and quotas, how checkout and Link billing work, stacking discounts, conversion pricing and the startup program.
- [Account & billing: Data sharing](https://atracode.com/docs/data-sharing.md): The three Atracode data sharing levels, what each one keeps, the discount for each, and how to choose a level at checkout.
- [Account & billing: Two-factor authentication](https://atracode.com/docs/two-factor.md): Turn on authenticator-app two-factor for your Atracode account, turn it off, and see which sign-in methods you can use.

## Optional
- [Startups](https://atracode.com/startups)
- [Partners](https://atracode.com/partners)
- [Changelog](https://atracode.com/changelog)
- [Contact](https://atracode.com/contact)
