Capsule Corp
Private beta · Agents with authority you write down

Give AI a job. Set its authority. Check the result.

A capsule is an agent in one file: its purpose, its tools, and what it may do with them. It chooses the steps, hands work to helpers within those permissions, and stops to ask wherever you said it must. Every step is recorded on your machine.

Today a capsule reads the files git tracks in a project, keeps time, posts to a board, hands a decision to a decision model or to you, and delegates to other capsules. Connections to other systems are not built yet.

~/project

A browser simulation of a scout: a capsule that may list and search a git repository on its own, and asks before each file it reads. Allow or deny the read to see both endings.

A capsule is a unit of delegated work

The approach can change. The authority stays bounded.

Define the job and its boundaries together. The model works out the steps; the runtime checks every action against the authority you wrote, and records what happened.

  1. 01 · Define

    Job and boundaries

    Purpose, tools, permissions, budgets, and the decisions reserved for you. Minting locks it as a version.

  2. 02 · Execute

    Adaptive work

    The model chooses steps and delegates. Actions pass through the runtime’s authority checks.

  3. 03 · Record

    Every step, kept

    The run records each model call, action, reply and decision of yours. A run is done when the agent says so, and the record shows what it rests on.

  4. 04 · Keep

    What the next run starts with

    A tool an agent built or a note it left waits for your ruling. What you keep is a new version, and a version rolls back.

Delegation preserves the boundaries.

Helpers inherit narrower permissions. Budgets divide. Reserved decisions still require approval. A tool an agent builds stays within the authority it already holds.

See an agent build and reuse a tool →

Nothing checks a result for you yet. The runtime holds the boundaries and keeps the record; whether the work is right is yours to read.

One runtime, from authority to record.

A capsule carries out the job. Its model proposes actions; its kernel checks each against the authority you wrote, and records what happens. Delegated work stays within the authority of its parent. Work within those bounds proceeds on its own.

These examples use a scout: a capsule that reads the files git tracks in a project, and nothing else.

It can't do what you didn't allow.

Every action is checked against the permissions you wrote, before it happens. A tool you didn't allow isn't even offered. A file, a web page or a model's reply is just text, and text can't give the agent new permissions.

its form says: forbid project/read on private.md
agent tries: read private.md
refused its form forbids it
agent tries: read a file git doesn't track
refused no file git tracks by that path

You choose what needs your OK.

Reserve a decision with "ask me first" and matching actions wait for your approval. You don't have to be watching: the run waits, and you can answer later.

$ capsule run capsule-corp/scout where is the plan
[waiting] project/read "docs/plan.md"
$ capsule run capsule-corp/scout --id … allow
[done] the plan is in docs/plan.md

Every step is recorded, on your machine.

Each model call, tool call and answer of yours is saved. A run that stops, waiting for you or cut off mid-step, goes on from its record without repeating what already happened. A step that may already have happened is put to you, not done again.

recorded project/list, project/search
recorded you allowed project/read "docs/plan.md"
recorded done: the plan is in docs/plan.md
goes on from the record, nothing repeated

It runs the version you minted.

Minting locks a capsule's file as a version, by its hash. A run is of a minted version, never of the file as it happens to stand: an edit is a draft until you mint it, a run that is waiting goes on as the version it started on, and a version rolls back.

$ capsule mint capsule-corp/scout
minted scout: version 2, sha256:1a2b3c4d5e6f
$ capsule roll-back capsule-corp/scout scout 1
rolled back: scout is at version 3, as 1 left it

Some decisions aren't the agent's to make.

A route hands a choice to a decision model, and to you when that model isn't sure. The agent names the item; it never picks or overrules the answer. The options and the pick are recorded.

options only the ones its form lists
pick a decision model's, or yours
recorded the options and the pick

Evidence behind the boundaries.

The permission kernel inside each capsule is modeled in Lean 4. Machine-checked proofs establish properties of that model across all cases covered by their assumptions. Tests and review check the implementation against the model; recorded runs show it at work.

  • A helper never gets more than the agent that started it.

    Whatever it asks for, it can only do what every agent above it can do.

  • Borrowed code can’t bring its own permissions.

    Code an agent is handed runs with that agent’s permissions, never those of whoever wrote it.

  • Taking a permission away reaches every helper.

    Each one loses it at its next step, however deep it sits.

  • Combining permissions never turns “ask me first” into “go ahead.”

    A step that waits for you at any level still waits.

  • Budgets are never created out of nothing.

    Splitting a budget between helpers never makes more of it.

  • Each product’s limit is its own.

    A price recorded for one product is held to that product’s limits, never another’s.

The proofs cover a precise description of how a capsule checks its permissions. The code itself is checked against that description with tests and review, not by proof.

How the limits hold.

Most agent "guardrails" are a line in a prompt, or a check someone remembered to write. Inside a capsule, every action goes through the same check before it happens, and that check doesn't depend on the AI model behaving.

  • Permissions come from what you write.

    You list what the agent may do, or state facts and rules that work it out, such as which team a task belongs to. Each permission keeps a note of where it came from, and the capsule re-checks that note before using it.

  • Text can't change permissions.

    An email, a web page or a model's reply is only ever data. Only sources you've approved can add facts, and withdrawing a fact removes every permission built on it, for every helper, at its next step.

    For a recorded demonstration, on a test store, see the price monitor and the tampered page.

  • Every action traces back to a person.

    Each logged step points to the steps it depended on, back to the permissions someone wrote. Anyone with the log can follow that chain and check nothing was altered, in their browser.

  • A small core does the checking.

    The check rests on a small amount of simple, predictable code. The AI models and your agents sit outside it, and everything they produce is checked. Its rules are proved, not just tested.

Helpers only ever get less.

An agent can hand part of a job to a helper. The helper gets only what it asked for and what the agent itself can do. Anything beyond that is dropped, and the drop is logged. Budgets are split, never copied: two helpers with $500 each cost $1,000.

Try it: change what the helper asks for
agent can
files in notes/ · email alice and bob
helper asks
files in
email
helper gets
files in notes/a/ · email bob
dropped, logged
email eve · web access
Private beta · Work with us

Start with one recurring job.

Bring a workflow that needs judgment, has explicit limits, and produces a result your team can accept. We’ll work with you to define its authority and build the connections it needs.

Tell us who does it today, what systems it touches, and which decisions need a person. Start with a 20-minute call with the engineer who built Capsule Corp.

Planned delivery options

Managed execution. We operate the workflow, with pricing tied to an agreed scope and useful work.

Embedded or private runtime. Run Capsule inside your product or environment under a licensing arrangement.

These are commercial directions being developed during private beta. Scope and availability are agreed for each integration.

Just want updates?