Source: https://borz.ai/language/why-actors/

Language · Why actors

# The actor model is older than the web.

Why Borz is built on actors and typed messages, and how that differs from workflow graphs and prompt frameworks.

Where Borz sits

## The actor model is older than the web. What's new is the audience.

Borz competes with Erlang/OTP and Akka on the language side, and with Microsoft Hyperlight and Firecracker on the nanoservice runtime side. Borz targets both layers from the same program — with a grammar designed for the autonomous agents that will write most of the code.

| Dimension | Borz | Erlang / OTP | Akka | MS Hyperlight |
| --- | --- | --- | --- | --- |
| Surface size | ≈30 keywords; one obvious form per construct | Functional + processes; ~50 keywords + OTP idioms | JVM library; 100+ APIs; Scala-flavoured | C/Rust SDK; system-level only |
| Agent (LLM) friendliness | Primary design constraint; /llms.txt + structured docs | Sparse training data; tail recursion idioms | Verbose, multi-paradigm | Low-level; no high-level surface |
| Cold-start latency | Not yet published (measurement pending) | ms-scale process spawn | ms-scale actor creation on JVM | sub-ms (compiled microVM) |
| Deploy footprint | kBs per handler (nanoservice) | MBs per node (BEAM VM) | tens of MBs (JVM + libs) | kBs per workload |
| Embedded LLM step | First-class `infer:` statement | External calls only | External calls only | Out of scope |
| Backend targets per program | Native · Nanoservice (DENSE) · WASM (experimental) · Microservice (DEMIX, not available yet) | BEAM only (NIFs for natives) | JVM only | Hosts; not a language |

### Where Borz fits

Agent fleets

Thousands of supervised pure-LLM agents and deterministic actors — Clan Control dispatches agents to model hosts; actors run in isolated nanoservices. No shared state.

Edge AI services

Latency-critical inference fronts, low-latency routing decisions, classifier sidecars. Nanoservice micro-VMs run them directly on the hypervisor.

Replicated control planes

Booking systems, ledgers, queues — supervised, restart-on-failure, snapshot-replicated. The microservice cluster is where they live.

AI-assisted devops

Coding assistants emit, edit, and deploy Borz programs from natural-language intents. The grammar is small enough to fit the LLM context window.

Deterministic actors on Epher

@deterministic is enforced at compile time: no wall-clock reads, unsorted iteration, floats or randomness. It is an optional marker: any Borz actor can be deployed on Epher, and @deterministic adds the compiler check.

Formal-verification workloads

Explicit semantics, no hidden state, machine-readable IR. Future TLA+ export for safety-critical actors.
