All products

Agent infrastructure, Version 0.7.0

Quantum

An operating system for AI agents.

Quantum mounts your application's data as folders and files, then gives a model one shell and three file tools instead of hundreds of bespoke integrations. Underneath sits a durable runtime for tasks, agents, and workflows that keeps working through crashes and restarts.

A session, as the agent sees it

$ ls /
        README.md artifacts billing crm tmp
        $ find /crm -name '*.json' | head
        /crm/contact.json
        $ jq -r .name /crm/contact.json
        Anna Weber
        $ curl https://example.com
        rqsh: curl: not available here.

Illustrative session. The file names and data are examples.

Runs as
A single service you host yourself
Connects through
.NET, TypeScript, Kotlin
Runs on
Linux, macOS, Windows
Scales from
One machine to a shared cluster

Agents need a computer, not a longer tool list

The usual way to connect a language model to a product is to write a tool for every action: find a customer, list their invoices, update a status, send a reminder. Each one needs a schema, a description, and error handling, and all of them compete for space in the model's context. By the time a product has a few hundred, the model spends a real share of its attention working out which one to call.

Quantum takes a different route. Models already know how to work with files and a shell, because they have read an enormous amount of both. So instead of describing your product as a catalog of functions, you present it as a directory tree. A customer is a folder. A status is a file. A question that would have needed a custom report becomes a pipeline of grep, jq, and awk that the model writes for itself.

The result is a very small tool surface: shell, read_file, edit_file, and write_file. Adding a new part of your product means mounting another folder, and the agent can find it by looking around, the same way a new engineer would.

Your data, mounted as a filesystem

Every session sees a virtual filesystem made of mounts. Some are simple, such as a per-session scratch directory or an in-memory set of documents. The more interesting ones are host providers: your application connects to Quantum through an SDK and serves its own data as files, on demand, over a single stream. The data stays in your application, under your rules, and Quantum calls back whenever an agent reads or writes.

Access rules are globs with a clear level of deny, read-only, or read-write, and they are enforced by the daemon rather than by the model's good behavior. A path a session cannot read simply does not exist for it: it disappears from ls, from globs, and from a recursive grep. Writes can be conditional on a revision, so a concurrent change becomes a visible conflict instead of a silently lost update.

Documents work the way an agent expects. PDF, DOCX, XLSX, images, and ZIP archives read as text through cat and grep, while the exact bytes stay available to your application. Text in images and scanned pages is recognized in the daemon itself, and models that can see images receive them prepared and resized for the purpose.

A shell that cannot touch the machine

Giving a model a real shell on a real server is a well-known way to have a bad week. Quantum's shell, rqsh, is a bash subset that only ever touches the virtual filesystem. It never starts an operating system process, so bash, node, and curl report that they are not available. Pipes, redirects, variables, command substitution, if and else, for, while, and until loops, and more than fifty familiar commands all work, including its own jq and awk interpreters. A loop over thousands of files runs inside one tool call, under the same budget as everything else.

Those interpreters are held to a high standard. The test suite runs hundreds of differential cases against the reference versions of jq and gawk, so a pipeline a model learned elsewhere behaves here the way it would there.

Every command line runs under an execution budget covering time, bytes read and written, files touched, and output produced. A runaway command stops with a clear exit code rather than taking the service down with it. When an agent really does need to compute something, JavaScript and Python are available if you switch them on, each run in a fresh sandbox with memory, fuel, and deadline limits, and with network access denied unless you allow specific origins.

Changes that wait for a person

Reading is cheap to get wrong. Writing is not. Application records can appear as folders whose files are either plain data or control files, and a write to one of them becomes a proposed action rather than an immediate change. An action gate, which you control, then decides whether to apply it, queue it for approval, or refuse it.

The approval flow is built for the awkward cases. If the record changed while an action was waiting, approving it marks the action stale and nothing is applied. Decisions are compare-and-set, so two approvers cannot both apply the same action, and expired approvals cannot be approved at all. An agent gets to do useful work at full speed, and a human stays in charge of what actually happens.

Every write meets a gate

The agent writes

A change to a record becomes a proposed action, tied to the revision it was based on.

The gate decides

Your rule applies it, queues it for a person, or refuses it.

A person approves

Only one approver can win, and a change to the record in the meantime makes the action stale.

Work that survives a crash

Long agent runs are fragile when they live in application memory. In Quantum, the task is the durable unit of work, with its own lifecycle, attempts, retries, deadlines, and cancellation, all held in the database. Agent runs and workflow steps are built on the same layer, so they inherit the same guarantees rather than reinventing them.

A model conversation is checkpointed after every model response and tool result, so retrying a turn repeats neither a paid model call nor a side effect. A conversation that grows past its limit is compacted into a summary and carries on instead of failing. If a daemon dies, tasks whose leases expired are picked up and retried. If it shuts down cleanly, running work goes back in the queue without being charged against its retry budget. Workflows are versioned step graphs with approvals, delays, parallel branches, and conditions, and each instance keeps running the version it started with.

Start with a single daemon on one machine. When you need more, run several against a shared database, and any of them can serve any session.

The life of a task

Every state is a row in the database, so a restart picks up exactly where work stopped.

01

Pending

Stored the moment it is created, waiting until it is due.

02

Ready

Due, and free for any daemon on the database to lease.

03

Running

Held under a lease. If its daemon dies, the lease expires and another takes over.

04

Completed

The result is stored with the task, together with every attempt.

Off the straight path

Waiting

Parked on a timer or an event, and still parked after a restart.

Waiting for approval

Holds no worker while a person decides.

Failed

Retried with backoff until its attempts run out; a clean shutdown costs no attempt.
Cancelled Recorded in the database, so it stays cancelled.

Test agents the way you test software

Changing a prompt or a model usually means hoping for the best. Quantum can record a run as a redacted transcript alongside a snapshot of the session, then replay it. An exact replay serves the recorded model answers and reports the first point where behavior diverges. A counterfactual replay calls a different model, prompt, or definition live and lines the two runs up side by side.

Evaluation suites build on this. Cases are graded by exact matches, regular expressions, jq over the output, file checks, tool-call assertions, cost and duration bounds, or an LLM judge, and they run across a matrix of agent configurations. What comes back is pass rates, cost, token counts, and latency for each configuration, so moving to a cheaper model becomes a decision with numbers behind it.

Measured, not promised

We gave the same agent the same 24 jobs on a fictional company's customers, orders, products, and support tickets, then changed only what it worked through: Quantum, a set of bespoke function tools, the official MCP filesystem server, just-bash, a Docker container per agent, and the hosted sandboxes from E2B and Vercel. A job passed only if the exact answer was right.

15×

Lower model cost than bespoke tools

$0.014 per job against $0.22, with every job passed. The MCP filesystem server cost $0.81 per job and passed 8 of 10.

9 of 9

Hard jobs on a company 15 times larger

A shell barely notices a hundred thousand order lines. Bespoke tools and the MCP server passed 0 of 6, and two runs hit the $1.50 cost limit.

140 MiB

For 1,000 open workspaces

Each with the company's data loaded, on one machine. The same 1,000 workspaces as Docker containers held 4.5 GiB.

7.5 ms

Median tool call

Against 46 ms in a local Docker container and over 200 ms in the hosted sandboxes, where every call crosses the internet.

EnvironmentJobs passedModel cost per jobPrompt tokens per jobTool call
Quantum24/24$0.0149,6617.5 ms
Docker container24/24$0.01811,54946 ms
E2B sandbox24/24$0.01811,659221 ms
Vercel Sandbox24/24$0.01711,716212 ms
just-bash23/24$0.01812,029142 ms
Bespoke function tools22/24$0.22153,902in process
MCP filesystem server8/10$0.81418,4252.5 ms

Medians per job with Claude Sonnet 5.5. Against the other shells the model cost is close, because a shell is the right tool for this work wherever it runs; Quantum's lead there is in latency, memory, and needing no machine per agent. We repeated the jobs with Claude Haiku 5.5, GPT-5.6 Terra, Gemini 3.8 Flash, and DeepSeek V4.1 Flash: Quantum completed the most jobs with all five, and with GPT-5.6 Terra it cost more than the other shells. Docker is a fresh container per agent on the same machine; E2B and Vercel are hosted microVMs. Measured on Quantum 0.7.0.

What is included

The daemon includes the parts most teams end up building badly around their first agent.

Model routing

The Anthropic Messages API or any OpenAI-compatible server, with named routes and ordered fallbacks. Keys never live in agent definitions.

Secrets broker

Envelope-encrypted, versioned secrets that plugins and model providers use by reference, with handed-out values redacted from output, events, and transcripts.

Triggers

Cron schedules, HMAC-signed webhooks, debounced file changes, and internal events can each start an agent or a workflow, with a full record of every fire.

Snapshots and forks

Capture a session's scratch files and shell state, try something risky, then restore it, fork it, or diff it. Snapshots share content, so they copy nothing.

Artifacts

Reports, datasets, and images stored as immutable outputs with provenance and lineage, plus declarative views and actions that are authorized again every time they run.

Sandboxed plugins

Add commands, tools, providers, and gates as isolated components with explicit grants and limits on memory, CPU, and HTTP origins.

Model Context Protocol

Works as an MCP server for Claude Code, Claude Desktop, and IDEs, and as an MCP client that brings configured servers into sessions as tools.

Operator console

An optional web console embedded in the daemon: sessions, a live shell, the approval queue, runs and their transcripts, evaluations, and the event stream.

Observability

An append-only event log with resumable subscriptions, and OpenTelemetry traces and metrics that follow a task across daemons.

Security by default

Local IPC first, plaintext TCP only on loopback, TLS and mutual TLS for anything else, and capabilities checked centrally before any work begins.

Vision and voice

Text recognition and image descriptions for agents, MCP clients, and the SDKs, with images passed back in tool results. Transcription, speech, and realtime conversations go through a provider you configure.

Who it is for

Product teams adding an agent

Expose your existing product as a filesystem and get an agent that can explore it, without writing and maintaining a large tool catalog.

Regulated or high-stakes workflows

Keep people in the loop with approvals that understand staleness, access rules the model cannot talk its way around, and a complete event trail.

Teams running agents in production

Move retries, recovery, secrets, and evaluations out of application code and into a runtime designed for them.

Good to know

Quantum is young, and it is better to say what that means up front.

  • The shell is deliberately a subset of bash. Loops and if statements work; functions, case statements, and background jobs are refused with a hint rather than half supported.
  • Quantum is not a Linux machine. There are no package installs and no pip, and Python runs in WebAssembly, so heavy number crunching is slower than native Python. Work that needs a full operating system, such as building software or running servers, belongs in a VM sandbox.
  • Browsers cannot connect directly. Your server sits between Quantum and your frontend.
  • Quantum is proprietary. The daemon can be installed and run unmodified under its binary license, and the source is not published.

Questions

Does this replace my agent framework?

It can, because Quantum includes a model-backed agent executor with tool loops, child runs, and budgets. It also works well underneath a framework you already use: ask the SDK for the tool definitions, translate them for your model vendor, and run the loop yourself.

Do I have to move my data into Quantum?

No. A host provider keeps the data in your application and serves it as files on demand. Quantum holds the runtime state, such as sessions, tasks, and events, and your records stay where they are.

Which models does it work with?

Anything that speaks the Anthropic Messages API or OpenAI-compatible chat completions, which includes OpenAI, Ollama, and vLLM. Routes let you define fallbacks across providers.

How do I run it?

Release builds are published for Linux, macOS, and Windows. Installing is one command, and it needs no other infrastructure to get started. Talk to us if you would like a walkthrough for your product.

Want to talk about Quantum?

Tell us what you are working on. We are happy to walk through it with you and answer honestly whether it fits.

Contact

Talk to Rymote.

About a product, a project, or something you have not decided on yet. Tell us what you are working on, and a person will write back.