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

The modules and where they run ​

Whatever an agent can reach, it can misuse: another workspace, the signing key, the evidence trail. So Daggry is built from seven modules, and each module can reach only what its job needs. Read this page if you install Daggry, review its security or want to replace a module.

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 · verifyThe modules, and where each one runs
Where each module runs. The control plane keeps the trail and the keys. The conductor orders the steps and starts a throwaway runner for each job. The signing key never enters a runner. What the runner sends back is only a claim until a validator checks it and the control plane seals it.

The diagram shows the forge, the control plane with the conductor, and a runner. The runner connects out to the control plane. Nothing connects into the runner.

Daggry runs on your Kubernetes cluster. To install it, follow Install Daggry.

The seven modules ​

You meet these seven names in logs, config and errors. The table gives each module's one job.

ModuleIts one job
ConductorDecides which step runs next and starts runners.
Control planeHolds the keys, checks results and writes the evidence trail.
RunnerRuns the steps of one job, then is thrown away.
EngineThe coding-agent program an agent runs on.
ForgeKeeps the workspace and its work items, and takes the result. For software, a Git host.
StoreKeeps the trail and each tenant's state.
ValidatorsCheck the work as code and return pass or fail.

You can replace any module with your own, for example an engine for another coding-agent program or a store for another database. For what a replacement must do, see Replace a module.

What each module holds ​

The keys never enter the place where an agent works. This list says what each module that takes part in a job holds.

  • The control plane holds the signing key and the forge key, and both stay there. An agent's output arrives as a claim. Only the control plane turns a claim into a sealed record.
  • The conductor holds no key and seals nothing. It reads the order of the steps from the workflow and the limits from the tenant config, such as how many jobs run at one time.
  • A runner holds a token for its one job, a short-lived token for one workspace and your model credential. The job token can only submit results for that job. The workspace token never lets a step change what instructs, constrains or judges the run. The model credential goes to the engine only.

Limits

A step in a runner can reach the internet and your cluster's network, because outbound traffic is not filtered. The model credential is available inside the runner. The signing key and the forge key never enter it.

What happens inside a runner ​

You need this to know what a script or an agent in a step can touch. Each job gets its own runner. The runner starts from the version of the workspace the conductor names, then runs the steps one after another.

The runner runs a step in one of two ways: as a script, or with an agent. A script step never starts an agent. A script validator runs on a clean copy of the workspace, after the agent process has ended. No step can write the trail or a protected path.

A runner never restarts. If a runner stops responding, Daggry starts a new one from the last sealed change and repeats the step that was interrupted. A step that waits for your approval gives its runner back, and the job continues in a new runner when you approve.

Related:

Sponsored by