Glossary
This page defines each term that the codeband docs use. The terms are grouped by the part of codeband they belong to, from pipelines and agents to the daemon and the code server that run them. Architecture shows how those parts fit together.
The site builds this page from GLOSSARY.md, the file in the codeband repository that holds the terms the code and the docs share.
Factories, pipelines and agents
- Factory
- A named set of pipelines, agents and function steps that is loaded as one from a location in a repository, under a name that whoever runs the daemon gives it. In code, "factory" never names a function or a type that makes objects.
- Pipeline
- A program of a factory that turns a run request into a run result by calling agents, function steps, shell steps and human steps. It is identified by the name of its factory and its own name, such as
factory/implement. - Agent
- A reusable role defined by a prompt template and a typed input and output contract, run on a harness and model.
- Harness
- An existing agent runtime that codeband drives to run an agent, such as Claude Code or Codex.
- Stage
- A named part of a pipeline that its code declares, such as build or review; a run is in at most one stage at a time and stays in it until it enters another, and a step that starts inside a stage belongs to it.
- Budget
- A limit on agent steps or cost for a run or an agent; exceeding it starts a human step.
Steps
- Step
- One unit of work that pipeline code asks for: an agent step, a function step, a shell step or a human step. It is identified by its name and a counter, such as
implementer#3. - Agent step
- A step in which an agent works, recorded from its step request to its step output.
- Agent step attempt
- One time that a harness runs an agent step, in its own workspace and sandbox. After a failed one the engine can retry, which starts a new one, and the step output comes from the last. Only agent steps have attempts; the short form is "attempt".
- Parallel agent step
- An agent step that pipeline code starts without waiting for its step output, so that it runs at the same time as other steps. It begins at the run head and never moves it, also when its agent may write.
- Function step
- A step that runs a function of the factory's code and records what it returns, used for side effects that don't touch a workspace.
- Shell step
- A step that runs a program with an argument list inside a workspace and records its output; it uses no LLM and never commits.
- Human step
- A step that asks a person a typed question and waits; the run continues after the answer.
- Answer
- A person's typed response to the question of a human step.
- Step request
- Everything a step starts from, as pipeline code asked for it and the engine completed it. For an agent step it holds the rendered prompt, the typed input, the attached step artifacts, the start commit and the sandbox.
- Step output
- The typed value that a step returns to pipeline code. For an agent step it is a value of the agent's output contract.
- Step artifact
- A content-addressed file that a step produces and that later steps can use, such as a spec, a log or a report; code changes are commits, not step artifacts.
- Agent question
- A question that an agent returns in place of a step output when it cannot continue without a person; it ends the agent step.
- Attempt failure
- Why an agent step attempt failed, such as a rate limit, a timeout or an invalid step output; its kind decides whether the engine retries.
Runs
- Run
- One immutable execution of a pipeline for one run request.
- Run request
- A normalized description of a run to start: pipeline, target repositories, start commits and start branches, input, notification channel, run result destination and an optional title for people.
- Run status
- Where a run is: running, waiting for an answer, finished, stopped by its pipeline on purpose, failed or cancelled.
- Code change
- The commit, title and description that a run ends with, which the engine delivers as a pull request or a patch file.
- Run result
- What a run ends with: a code change, new tickets or both.
- Run failure
- Why a run ended failed, such as an error that pipeline code did not catch, or recorded steps that no longer match the code.
- Cancellation
- A person's request to stop a run, after which the run stops its running agent steps and shell steps, closes its open human steps and ends cancelled.
Records and replay
- Run journal
- The ordered list of journal entries that records everything a run has produced so far, from which the run is resumed, replayed and forked.
- Journal entry
- One record in a run journal, such as a step that started, a step that finished with its step output, an answer or the end of the run.
- Agent transcript
- The complete record of what an agent did in one agent step attempt: its text, its tool calls and their tool results. It is kept as the harness wrote it and read in a normalized form.
- Run replay
- Running a pipeline from the start against a run journal, where each recorded step returns its recorded step output and does no work again.
- Invocation
- One run replay that a factory code server does for the engine, which ends at the first step without a record that the pipeline waits for, or when the pipeline ends; a run moves forward one invocation at a time.
- Run fork
- A new run that branches off an existing run at a chosen agent step, with optional changes to harness, model, prompt or input.
Scores
- Scorer
- A function of a factory that judges one finished run and returns its scores.
- Score
- A named judgement of one run by a scorer: a number, a pass or a fail, or a label from a fixed set, with an explanation. A run without the evidence for a score has no score, which is not a score of zero.
- Scoring run
- The run of a scorer for one finished run, whose run journal records the agent steps that the scorer calls.
- Dashboard
- The screen of the web interface that shows the scores of a factory's runs over time.
- Run update
- Something a daemon client is told about a run while it watches it: a journal entry, or the live output of a running agent step or shell step.
Clients, triggers and destinations
- Daemon client
- A program through which a person starts, watches, answers and cancels runs by calling the daemon, such as the CLI or the web interface.
- Trigger
- What started a run, such as a
codeband runcommand, the web interface or a ticket; it is the source of the run's run request. - Ticket
- A unit of work that a ticket system holds; a trigger can start a run from it. GitHub's tickets keep GitHub's name, GitHub issues.
- Ticket system
- A system outside codeband that holds tickets, such as GitHub issues or Beads.
- Notification channel
- Where a run posts the questions of its human steps and the notice of how it ended, such as a terminal, the web interface or a GitHub thread. A run request names one.
- Run result destination
- Where a part of a run result goes: a patch file or a pull request for its code change, ticket files, one Markdown file per ticket, or a ticket system for its new tickets. The run request names it, and the engine delivers to it when the run ends.
- Branch label
- The part of the name of a pull request's branch that pipeline code sets with the code change, such as a ticket ID.
Code and repositories
- Target repository
- A repository a run works on and opens pull requests against.
- Workspace
- The files that one agent step attempt or one shell step works on: one commit of a target repository as files in a folder, which is discarded afterwards.
- Sandbox
- The isolation around one agent step attempt or one shell step: the place, such as a container, in which it runs together with its workspace and which limits what it can reach. It is new for each one and is removed after it.
- Sandbox definition
- A named description in the installation's config from which sandboxes are made: its kind, such as a plain process or a container, and its settings. A pipeline names one.
- Repository cache
- A read-only copy of a target repository's history that a sandbox uses, so that only the commits it lacks are sent to it.
- Start commit
- The commit that a run, an agent step or a shell step starts from.
- Start branch
- The branch that named a run's start commit, if any; a pull request targets it.
- End commit
- The commit at which an agent step attempt leaves its workspace: its own commits plus its uncommitted changes, unless its agent discards those; for an agent step that may not write, it is its start commit.
- Run head
- The commit where the next agent step or shell step of a run starts unless another commit is named: the end commit of the run's last agent step that may write, or else the run's start commit. A parallel agent step does not move it.
System
- Engine
- The part of codeband that executes runs: it runs agent steps and shell steps, owns workspaces and run journals, and is the only writer of run data.
- Daemon
- The long-running process that a person starts with
codeband daemon, or together with a factory code server withcodeband dev; it hosts the engine, and daemon clients reach runs only through it. - Factory code server
- The process that loads one factory and executes its pipeline code and function steps on the engine's behalf; it never runs agents or touches workspaces. The short form is "code server".
- Factory manifest
- The description of everything a factory defines, such as its pipelines, agents, function steps and preview graphs, written by its factory code server.
- Factory reload
- Loading a factory again after one of its files changed, so that the next invocation of each run uses the changed code.
- Run store
- Where run journals, agent transcripts and step artifacts are kept.
- Preview graph
- The shape of a pipeline inferred from its code before any run.
- Opaque node
- A place in a preview graph that stands for code the analysis could not follow.
- Observed graph
- The path one or more runs actually took, built from their run journals.
Next steps
Section titled “Next steps”QuickstartRun the example pipeline intake and see a run, its function steps, the daemon and the code server at work.
ArchitectureSee which process runs your pipeline code, which one records the run, and where each file of a run lives.
codeband CLILook up the commands that start a run, answer a human step and cancel a run.