The language machines write.

Cyra is a statically typed, LLM-first language that compiles to BEAM bytecode. One syntax. Zero ambiguity. Full Erlang power.

Built for machines. Verifiable by design.

A language with exactly one way to express each construct, so every generated token carries maximum confidence.

{}

LLM-Optimized Syntax

C-like braces and semicolons. One canonical form per construct. Maximizes per-token confidence for code generation models.

T:

Static Types, Zero Inference

Every parameter and return type declared explicitly. Hindley-Milner verification under the hood. No guessing.

BEAM Runtime

Actors, fault tolerance, hot code reload, distribution. All of Erlang/OTP without learning Erlang syntax.

Formal Contracts

@pre, @post, @invariant annotations. Machine-verifiable correctness from day one.

Clean, explicit, unambiguous

A process loop with typed functions, pattern matching, and message passing — all in familiar syntax.

counter.cyra
module MyApp.Counter {
    use IO;

    // Process loop with state via recursion
    fn counter_loop(count: int) -> void {
        receive {
            :increment => counter_loop(count + 1);
            (:get, caller) => {
                send(caller, (:count, count));
                counter_loop(count);
            }
            :stop => :ok;
        }
    }

    pub fn start() -> pid {
        spawn(fn() -> void { counter_loop(0); });
    }

    @pre(n >= 0)
    pub fn format_count(n: int) -> string {
        "count: " <> Int.to_string(n);
    }
}

Why Cyra is good for…

>_

AI-Generated Microservices

Prompt your AI, get a working microservice. One canonical syntax means every generated line is correct—no hallucinated semicolons.

@!

Code You Can Trust

Built-in safety contracts catch bugs before your code runs. The compiler proves correctness so you don’t have to.

<>

Real-Time Apps

Chat apps, live dashboards, game servers—millions of simultaneous users, self-healing by default. No extra frameworks.

CI

Autonomous Pipelines

Your CI writes, tests, and deploys Cyra code—no human in the loop. Deterministic syntax means zero formatting fights.

::

Scale Without Thinking

Go from one server to a hundred. Nodes find each other and self-heal across data centres automatically.

AI Code Review

One syntax, one meaning, zero guesswork. AI reviewers understand Cyra perfectly—audits you can actually trust.

What Cyra is not

×

Not a general-purpose scripting language

Cyra is purpose-built for LLM code generation targeting the BEAM. It isn't trying to replace Python or JavaScript.

×

Not replacing Elixir

Elixir is brilliant for human developers. Cyra is designed for machines that generate and verify code autonomously.

×

Not interpreted

Cyra compiles to BEAM bytecode via Core Erlang. It runs on the same VM that powers Discord, Ericsson, Heroku, Nintendo, and Cisco and many other great products and companies.

×

Not a toy

Targets production OTP applications with supervisors, GenServers, hot code reload, and distributed clustering.

Principled by design

"One form, one meaning"

Inspired by Leibniz's Characteristica Universalis. Every construct has exactly one syntactic representation, eliminating ambiguity for both machines and humans.

"Machines that reason"

Designed for automated generation and verification. The type system, contracts, and deterministic syntax make it possible for LLMs to produce provably correct code.

"Standing on giants"

The BEAM VM is battle-tested across decades of telecom and distributed systems. Cyra inherits all of it — actors, fault tolerance, hot upgrades — with a syntax machines prefer.