Introducing Berlingot, our experimental operating system for agents
The Berlingot team · · 3 min read
Imagine asking a research agent to find contradictions in a collection of papers. It spends the morning reading them and building a searchable index. By lunch you have two ideas. One is to look for claims that changed over time. The other is to look for authors who disagree about the same experiment. You’d like to try both while the index is still warm.
That’s the kind of work we’re building Berlingot for. We want each attempt to start with the prepared workspace and keep its own edits. You give the job one set of permissions and one budget. If it has $6 left when the paths split, that’s $6 between them. You can inspect what each attempt found and choose which report to publish. Warm branching is a research milestone we’re working toward.

What a checkpoint leaves out
Suppose the publishing service accepted your report, then its reply got lost. The worker restarts from a checkpoint with “publish the report” still on its list. Only the publishing service can say whether it committed that request. You might also have withdrawn permission to publish while the worker was down.
We wrote the Restore Contract to say what a fresh attempt can do here. In our draft, the service checks the current permission and keeps a receipt under a stable operation ID. An authorized worker can ask what happened. If the service confirms publication, the worker can use that receipt. If the outcome is unknown, work that depends on publication waits. The same rule matters when two branches inherit a to-do list with a request still in flight.
Why we’re experimenting with a kernel
In Berlingot a worker is a process. A capability is a handle giving that process permission to perform specific operations on a resource. We wrote a small Rust kernel to test how far we can take that division of responsibility. The kernel limits which services the worker can reach. In our design, those services hold the current grants, the shared budget and the record of what they did, outside the worker’s checkpoint. A Linux runtime can implement the same contract with services outside its snapshot boundary.
We’ve qualified boot and kernel isolation on a pinned, single-virtual-CPU QEMU setup. One isolation test faults a worker and checks that its peer keeps running. Our next milestone is smaller than a fork. We’re building native job services so an interrupted archive job can resume from saved application progress during the same boot. We want to see it honor a revocation and account for earlier work before we try branching a live process.
What happens in your service?
When a job restarts in your system, who can tell it whether a request actually took effect? We’d like to hear about one service you operate, the record it keeps, and what a worker can do when that record is inconclusive. Join the GitHub discussion.
Read the Restore Contract draft · Cite the release on Zenodo