Architecture and engineering
An operating system written in Rust from the first line.
Controls on agent requests can sit in an application, a gateway, an identity layer or the operating system that carries out the request. CashewOS puts them in the operating system. It applies deterministic policy to typed actions, requires a single-use kernel grant for each service, package or file change and signs a record that verifies offline. Orbin wrote it in Rust from the kernel up and trained the decision model to run inside it.
Engineering at a glance
- Language
- Rust, with assembly only at the CPU boundary
- Architectures
- x86_64 and AArch64
- Linux
- None inside
One request, five layers
Follow a request through the system
Pick a request to see where it enters, who decides, what the kernel allows and what the ledger keeps.
01Who connects
- OperatorsConsole, SSH and SFTP
- 1AI agentsMCP clients, at the appliance console in 0.3
- AuditorsRead-only role
02Decision path
- 2Request gatewayTyped actions only, never a shell
- Cashew System-OneRanks the actions on offer
- Policy engineAdmits or refuses, with the reason
- 3Signed ledgerChained, signed, verified offline
03System services
- Identity and rolesAdmin, Operator and Auditor
- Service managerStarts and supervises services
- Package managerInstalls and updates packages
- NetworkIPv4, IPv6 and a default-deny firewall
- StorageJournaled, reset-tested
- LicenseVerified offline
04Kernel
- Single-use permissionsOne action, consumed on use
- Process isolationOwn address space per caller
- Memory and schedulingPaging, threads, preemption
- Device driversVirtual network and disk
05Platform
- Signed applianceRefused when untrusted
- Virtual machinex86_64 on KVM, AArch64 on macOS
- UEFI bootStandard firmware boots the kernel
Follow a request
- 1The agent calls tools/call bash over MCP.
- 2The gateway has no shell tool. It returns -32601 for an unknown method, and the request goes no further.
- 3The refusal is signed in the ledger like any decision.
Refused before anything runs
Where authority lives
Read across a row to see what each approach controls and which layer has the final say when an action runs.
| Category | What it controls | Where authority lives | Sources |
|---|---|---|---|
| Hardened Linux | Filters system calls (seccomp), limits a process's file and network rights (Landlock) and enforces mandatory access labels (SELinux). | In the kernel, per process, file and label. The unit of decision is a system call or object access. | seccompLandlockSELinux |
| MCP proxy | Limits an agent client to the tools configured on the proxy. | At the proxy. The resulting operation still runs with whatever authority the target host gives it. | MCP tools |
| MicroVM | Isolates a workload in a guest with its own kernel and a minimal set of virtual devices. | At the guest boundary. Inside the guest, what an authenticated agent may run depends on the guest's own controls. | Firecracker |
| CashewOS | A typed request, deterministic policy, a single-use kernel grant, an offline-verifiable record and a local decision model, together. | In the system that runs the action. Policy decides and the kernel enforces. Shown in Orbin's 0.3 evaluation. | 0.3 evaluation |
By the numbers
Measured by Orbin on its own hosts. Alternatives are quoted from the cited pages, read 19 November 2026.
- Combined size of the three appliance images (boot disk, model volume and operator disk)
- About 33 MB
- Guest configuration
- 1 GiB, 1 vCPU
- Host memory for the whole virtual machine with the model loaded, after 120 s idle
- About 213 MiB
- Of one host CPU at idle
- Under 1%
- Architectures, x86_64 and AArch64
- 2
Cost and footprint against general-purpose Linux
| Footprint and cost | CashewOS 0.3 | General-purpose Linux, cloud judge, MCP gateway |
|---|---|---|
| Cost of one decision | No API cost. Model step 5.3 ms (x86_64 KVM guest), 8.2 ms (AArch64 guest). | At 1,500 input and 50 output tokens per judgement and list prices, about 0.007 US dollars with Claude Opus 5.5 (4 and 20 US dollars per million tokens) or 0.000175 with Claude Haiku 5.5 (0.10 and 0.50). Excludes caching and batch discounts.Claude pricing |
| Added gateway hop | None. The gateway function is inside the system. | The projects measured their gateways on different rigs. Gatana reported a median of 6.6 ms per tool call over 21,900 timed calls. LeanProxy-MCP reported 0.74 ms at p95 against a mock server.GatanaLeanProxy-MCP |
| Image size | The three appliance disk images total about 33 MB. The boot disk accounts for about 12.7 MB, the model volume about 19 MiB and the operator disk under 0.2 MB. | Alpine Linux 3.24.4 virtual ISO 67M, standard ISO 353M. Ubuntu Server 24.04.5 live ISO 3.8G, cloud image 593M. General-purpose system only, without a gateway or policy engine.AlpineUbuntu ISOUbuntu cloud image |
| Memory requirements | 1 GiB of guest RAM configured. | Ubuntu documents 1 GB for the cloud image and 1.5 GB for the ISO install. Alpine documents 256 MB minimum for network boot. Neither includes a gateway or a judge.UbuntuAlpine |
Host memory includes the monitor and firmware, on a build of the same 0.3.0 source on a Linux KVM host. The boot disk was measured on 18 November 2026.
Engineering record
Rust from the first kernel boot
Orbin-owned source contains no C and no GPL code. One third-party cryptography library in the remote-access service contains C and assembly.
- 2025Orbin OSA Rust kernel booted under UEFI into a user-mode shell.
- May 2026CashewOSOne Rust workspace for x86_64 and AArch64, with no Linux inside.
The Rust workspace has 46 members in four groups
Interfaces, paths and sizes are in the technical datasheet under NDA.
Kernel14
- cashew-kernel
- cashew-abi
- cashew-arch
- cashew-mem
- cashew-sched
- cashew-dev
- cashew-net
- cashew-fs
- cashew-audit
- cashew-recovery
- cashew-nvme
- cashew-ahci
- cashew-usb
- cashew-fuzz
Decision core10
- cashew-decision-core
- cashew-os-registry
- cashew-encoder
- cashew-tokenizer
- cashew-int8
- cashew-acc-runtime
- embedding service
- decision service
- policy service
- audit service
System and services20
- rust-init
- cash
- csm
- cpk
- cashew-pkg-core
- cashewbox
- cashew-userland
- cashew-login
- adduser
- cashew-install
- cashew-edit
- cashew-io
- cashew-rt
- cashew-time
- cashew-regex
- cashew-compat
- identity service
- security response service
- remote access service
- DNS resolver service
Tools2
- paste-compat
- build and test tooling
Design partnership
Which of your workflows should run under a written operating policy?
Bring a workflow from your NOC, enclave or regulated environment. We will define an evaluation around the actions, permissions and evidence your team needs.
Request design partnershipA person at Orbin replies within two business days.