Private preview. Daggry is not publicly released.Roadmap
Skip to content

How it works ​

Names such as conductor and control plane appear in status output, settings and errors, and they mean little until you have seen a run. This page follows one run through Daggry's seven modules, so the rest of the site makes sense. Read it once you have run a workflow. Skip it if you only want to follow a how-to.

A run from start to finish ​

Whatever an agent can reach, it can misuse. So agents work in a throwaway runner, and the keys stay in the control plane.

ForgeWork itemResultYour clusterControl planechecks · seals · serves the APIStorethe trail · every recordThe keys stay herethe signing keythe forge keyConductororders the stepsa runner per jobholds no keyRunner · throwaway · one jobEnginethe agent at workValidatorson a clean copyholds a token for one workspaceand the model credentialThe signing key never enters the runnerdials out to the control planenothing dials inCLIon your machinenew workdeliversresults, as claimsstart · approve · verify123451to5The five stages of a run, in order
One run in five numbered stages. 1: work comes in from the forge. 2: the conductor picks the next step and starts a throwaway runner. 3: the runner does the work, as a script or with an agent on the engine. 4: the control plane has a validator check the claim, signs the result and adds it to the trail in the store. 5: the result goes out to the forge. The signing key never enters a runner.

A run goes through five stages. The diagram numbers them.

  1. Work comes in. You start a run with the CLI, for one work item in the forge.
  2. The conductor picks the next step. It reads the order from the workflow and the limits from the tenant config, and starts a runner for the job.
  3. The runner does the work. It runs a step in one of two ways: as a script, or with an agent. The agent runs on an engine.
  4. The control plane checks and seals. What the runner sends back is only a claim. A validator checks it, and the control plane signs the result and adds it to the evidence trail in the store.
  5. The result goes out. An effect step delivers the result to the forge, for example by opening a pull request.

A step that needs your approval releases its runner. The job continues in a new runner when you approve. If a runner stops responding, Daggry starts a new one from the last sealed change.

The seven modules ​

You meet these seven names in status output, settings and errors. Each module has one job.

ModuleIts one job
ConductorDecides which step runs next and starts runners.
Control planeHolds the keys, checks results and writes the trail.
RunnerRuns one job in a throwaway environment. It never holds the signing key.
EngineThe coding-agent program an agent runs on.
ForgeWhere work comes from and where results go. For software, GitHub.
StoreKeeps the trail.
ValidatorsCheck the work as code and return pass or fail.

You can replace any module with your own. Daggry runs on your Kubernetes cluster.

What keeps it honest ​

Four rules make a pass worth something.

  • A claim is not a record. What an agent says it did counts for nothing until a validator has checked it.
  • Only the control plane signs. The signing key never enters a runner, so no agent can sign a record.
  • Each record is linked to the one before. A record carries a fingerprint, a short code computed from every byte. Change one byte, and daggry verify shows where.
  • An agent cannot change the rules. Its validators, its instructions and its limits are protected paths.

For the details, see Why you can trust a run and What an agent cannot change.

Built on open formats ​

You are not locked in to Daggry's own tools. You write three files: the workflow, the project config and the tenant config. Daggry writes the fourth, the evidence trail. All four formats are published and versioned, and you can add your own keys. You can read and check them with your own tools. See Open formats.

Where to go from here ​

You have finished the path. To do a task, open a how-to, such as Design a workflow or Install Daggry. To look up a key, a command or a term, open the Reference.

Next: Workflow examples

Sponsored by