Self-hosted agent orchestration

Open source · self-hosted · experimental

Agents work.
You decide.

Turn a Work Item into a pull request with AI agents, explicit budgets and evidence you can inspect. You decide what gets merged.

Recorded demo One Work Item. Unfolded into evidence.
01Work Item

Fix order total rounding

1.0051.01

Order service
02Implementer

1 file changed

-  return Math.round(amount * 100);
+  return Math.round((amount + Number.EPSILON) * 100);
3 checks passAfter the fix
src/order.js
03Human review

The handoff is yours.

Code, checks and a review. Nothing merged.

Reviewer: ApprovedMerged: No

Deterministic demo · no model calls · no spend

  • Apache-2.0 licensed
  • Self-hosted on Kubernetes
  • Your models via LiteLLM
  • Experimental · 0.x

01 / THE WORK, MADE VISIBLE

One Shift. Every step in view.

A rounding bug. An implementer. An independent reviewer. Explore the recorded evidence from the deterministic demo that ships with Unfold.

Deterministic demo · no model calls · no spend

Start with a clear piece of work.

The order service rounds 1.005 to 1.00 instead of 1.01. The Work Item asks for a minimal fix and independent verification.

Work Item objective

Fix order total rounding

Reproduce the rounding regression. Apply a minimal fix, preserve the tests, and independently verify the patch.

Authorized demo budget
US$ 5,00
Demo spend
US$ 0,00

Reproduce. Change. Check.

The implementer reproduces the failing tests, changes one line, then runs the checks again. The outputs stay with the Shift.

Before the fix1 passed, 2 failed
After the fix3 passed

Recorded change · src/order.js

-  return Math.round(amount * 100);
+  return Math.round((amount + Number.EPSILON) * 100);

A second Run checks the work.

The reviewer independently runs the checks and approves the change. That approval is evidence for a person to assess.

Independent review

independent node --test
  • rounds a half cent upward for the reported 1.005 fixture
  • rounds ordinary prices and sums item quantities in integer cents
  • rejects invalid input rather than inventing totals
Reviewer verdict
Approved

The agents stop. You decide.

When you run the local demo, the change stays on your machine. Ploeg’s unattended worker workflow can open a pull request on your forge. Human review, merging and release stay with you.

The handoff is yours.

Code, checks and a review. Nothing merged.

Reviewer verdict
Approved
Merged
No
Demo spend
US$ 0,00

Inspect the complete recording

Step by step

Simulation of the deterministic demo — no model calls, no spend

Each line is an event the demo recorded when it ran, with its original timing alongside.

  1. 0.0 s Work Item created
  2. 0.0 s Shift started
  3. 0.1 s Implementer Run started
  4. 1.1 s Implementer Checks run before the fix, and fail as expected: 1 pass, 2 fail
  5. 2.1 s Implementer Edits src/order.js
  6. 3.2 s Implementer Checks run after the fix: 3 pass
  7. 4.2 s Implementer Run finished
  8. 4.2 s Reviewer Run started
  9. 5.3 s Reviewer The reviewer runs the checks again on its own: 3 pass
  10. 6.3 s Reviewer Reviewer approves the change
  11. 6.4 s Change ready for review
  12. 6.4 s Shift finished. Nothing is merged.

Ready for your review

The change the demo made

@@ -1,6 +1,6 @@
 export function moneyToCents(amount) {
   if (!Number.isFinite(amount) || amount < 0) throw new TypeError('Amount must be a finite non-negative number');
-  return Math.round(amount * 100);
+  return Math.round((amount + Number.EPSILON) * 100);
 }
 
 export function orderTotal(items) {

Running the local demo leaves the change on your machine. Ploeg’s unattended worker workflow can publish a pull request on your forge.

In the workbench

The same demo in Unfold, recorded by a script that clicks through it. Nothing was set up by hand.

Recording of the deterministic demo in Unfold: no model calls, no spend. Recorded with Unfold 0.4.0-rc.32.

The last word
is yours.

Agents propose changes. People accept, merge and release.

02 / BOUNDED BY DESIGN

Give agents work. Keep control.

Inspect the change, trace the checks and decide whether the result is ready. When a Shift cannot finish, it stops for human attention.

Which settings each claim needs
Budgets
Ploeg sets a budget before a Run starts. By default the Run’s model key carries that budget, and the gateway refuses further calls once it is spent. Raising a budget is an administrator’s decision.
Credentials
By default each managed Run gets its own model key with a budget and an expiry, reviewers get a read-only forge token, and management keys stay in Ploeg. Writers share one push token unless you give Ploeg a Forgejo bot password; then each writing Run gets a token for its own repository, revoked when the Run ends. Keeping keys and tokens out of the agent’s reach is a setting you turn on.
Evidence
A claim about a Result comes with something you can inspect: the change itself and the real output of the checks that ran.
A person decides
A reviewer Role’s approval counts as evidence, and acceptance is a human call. Merging and releasing stay with the people who own the repository.

03 / UNDER THE SURFACE

One product. Clear responsibilities.

Ploeg authorizes and budgets managed execution. Unfold is where you start, steer and inspect the work. Both ship from one repository, under one Unfold version.

MANAGED EXECUTION
The workbench

Unfold

Browser / VS Code

The engine

Ploeg

Authorization · budgets · orchestration

ImplementerReviewer
Your forge

Pull request + evidence

Unattended worker workflow

PostgreSQLShift record
LiteLLMModel gateway / Your model providers

Conceptual view. Pull request publication is available in Ploeg’s unattended worker workflow; Unfold’s managed candidate path does not publish yet.

Ploeg The engine

Ploeg authorizes and budgets managed agent Runs. With its executor enabled, it runs the Work Items it takes from trackers such as Vikunja and ClickUp. It decides who may write each branch and keeps the record of every Shift in PostgreSQL. Ploeg is Dutch for crew.

Unfold The workbench

Unfold is the front end, in the browser or in VS Code. You start work there, steer agents while they run and review what they produced. With shared execution turned on, Ploeg authorizes and budgets the Runs you start there, and Unfold still executes them itself; without it, Unfold runs sessions on its own. Planned: Ploeg executes every Run, and Unfold on its own runs only the deterministic demo. Unfold is Dutch for floor, as in shop floor.

04 / BUILD WITH YOUR EYES OPEN

Open source. On your terms.

Run Unfold on your infrastructure, inspect its source and connect your own providers through LiteLLM. It is experimental software, used on its owner’s backlog.

Read the licence

What exists. What comes next.

Experimental
Versions are 0.x release candidates. Each qualification covers a specific tested path, not every provider or deployment.
In use
Unfold runs self-hosted for its owner, on the owner’s own backlog.
Planned
A hosted Unfold for agencies, with the cost of each Work Item agreed before work starts. None of it exists yet.

Planned, not built yet: a preview environment for every pull request, and size limits that keep each pull request small enough to understand in one sitting.

Planned · not on sale yet

A clear model for hosted work.

Hosted Unfold does not exist yet. This is the price model we have decided on. We will publish prices after the pilot’s first validation milestone.

Join the list
  • Pay for accepted work

    The planned delivery fee follows accepted work and ticket size. Acceptance can be explicit or deemed after 10 working days; the full terms will accompany the price list.

  • Model usage is charged per attempt

    Model tokens are charged at cost plus a published fixed markup, including for rejected work. Attempts that fail because of Unfold’s infrastructure or bugs are exempt.

  • The Budget comes first

    Each Work Item gets a Budget before work starts, and it is never raised silently. A Shift that reaches it stops and offers to split the work.

  • You set your own prices

    An agency decides what it charges its own clients. Unfold does not set those prices.

  • No Unfold licence fee

    Run Unfold on your own cluster and Unfold charges you nothing. You pay your own model provider and your own infrastructure.

A ticket is a Work Item with a size and a price that your client approved.