Free forever, no credit card.Get Started for Free →
← All posts
November 26, 2026 · 6 min read

Does Buildkite Remember Between Runs? Meta-Data Carries One Build. The Next Build Starts in a Fresh Workspace.

Does Buildkite Remember Between Runs? Meta-Data Carries One Build. The Next Build Starts in a Fresh Workspace. A scheduled Buildkite pipeline runs every night, checks a set of services, and uses an AI step to sort the findings into new problems and known noise. On the second night, the same findings appear again. What does tonight's build know about last night's sorting? Only what a step saved into meta-data, an artifact, a cache, or an external system on purpose. Buildkite is precise about mov

Does Buildkite Remember Between Runs? Meta-Data Carries One Build. The Next Build Starts in a Fresh Workspace.

A scheduled Buildkite pipeline runs every night, checks a set of services, and uses an AI step to sort the findings into new problems and known noise. On the second night, the same findings appear again. What does tonight's build know about last night's sorting? Only what a step saved into meta-data, an artifact, a cache, or an external system on purpose. Buildkite is precise about moving small values and files inside one build, and it keeps a detailed record of every build it runs. Between builds, learned conclusions do not carry forward on their own.

A step is one job, and it starts in a fresh workspace

When a trigger fires, Buildkite runs a pipeline made of steps. Each step gets its own agent and its own workspace, potentially on a different machine from the step before it. Steps run in parallel by default, and there is no shared filesystem between them. A step begins with the code checked out and the values its configuration supplies: pipeline settings, environment variables, and secrets made available to that agent.

That scoping is the central fact. A conclusion produced inside Monday's step belongs to Monday's build. Tuesday's step is a separate unit in a fresh workspace, started from the same pipeline definition. There is no step-level notebook each new build opens before it starts. The pipeline definition is shared across every run. The reasoning inside each run is partitioned by build.

Meta-data is real memory, with the build as the border

Inside a build, Buildkite passes small values between steps properly. A step can run buildkite-agent meta-data set to store a key-value pair, and a later step can run buildkite-agent meta-data get to read it back. That is how a version step hands a release number to a deploy step, or how a setup step hands a commit hash or a feature flag to everything after it.

Meta-data is deliberately small and deliberately scoped. It holds values such as a version string, not a history of decisions. Buildkite documentation is explicit about the border: to pass data to a build in a different pipeline, use environment variables on a trigger step, since meta-data and artifacts are scoped to a single build. When tonight's build ends, its meta-data ends as a live input. Tomorrow's build can read the record of yesterday's build through the interface or the API, but nothing in the new build's workspace arrives preloaded with yesterday's conclusions.

Artifacts move files, not understanding

Files move by a second mechanism. A step can upload artifacts with artifact_paths or buildkite-agent artifact upload, and a later step can download them with buildkite-agent artifact download. Artifacts keep a file's contents, its original path, a verification hash, and details of the build that uploaded it, and they are retained according to the artifact storage policy a team sets.

An artifact is a handoff, not a memory. If an AI step writes its sorted findings to a report file and uploads that file, a later step in the same build can download and use it. If nobody writes the reasoning into a file, there is nothing to download. The next build does not open last night's report unless a step is built to fetch and read it. Storage preserves the file exactly as saved. It does not turn saved output into working context for the next run.

Caches speed up the next build without teaching it anything

Buildkite also offers caching, and its scope is worth stating plainly because it looks most like memory across builds. With Buildkite Cache, a step saves data with buildkite-agent cache save under a cache key, and a later job restores it with buildkite-agent cache restore. Entries live in a cluster cache registry with pipeline, branch, and build scopes, and they expire three days after they are created or last restored by an exact key match. On hosted agents, cache volumes take a different shape: paths listed in the pipeline YAML, scoped to a pipeline, shared between its steps, and retained for up to 14 days from last use. Plugins and external caches, such as an S3 bucket, put storage and lifecycle in the team's hands.

Every one of those mechanisms answers a speed question: do not rebuild the same dependencies again. None answers a knowledge question. A restored cache gives tonight's step the same dependency files yesterday's step used. It does not give tonight's step yesterday's triage decisions or the reason a finding was marked as known noise. Speed carries across builds by design. Understanding does not.

What a scheduled AI step actually needs between builds

Picture the nightly checker again, now with an AI step doing the sorting. On night one, the step reviews forty findings, marks twelve as known noise with reasons, escalates three, and notes that one service always fails after a deploy and recovers on its own. On night two, a useful run would start from that state, already in context before the first new finding is read.

None of Buildkite's built-in state does that job. Meta-data expires with the build as a live input. Artifacts hold files nobody automatically reads. Caches hold dependencies, not decisions. A team can bridge the gap by hand, writing state files, uploading them, downloading them at the start of the next build, and parsing them back into the prompt. That pattern works until the state needs to be shared with a second pipeline, a different tool, or a person reviewing the same history, at which point the hand-built file becomes one more system to maintain, version, and debug.

One memory the next build can actually read

That gap is the job of a memory layer built for agents. Vilix AI is cloud-hosted memory that agents reach over MCP, the Model Context Protocol, so a scheduled step can save what it learned at the end of a run and pull the relevant context back at the start of the next one. There is no infrastructure to run: Vilix AI is hosted, so connecting a tool is a configuration step, not a deployment project.

The difference from a state file is what gets kept. Vilix AI keeps full conversation history, not just extracted facts, so the reasoning behind a decision stays available alongside the decision itself. The same memory is reachable from every connected tool, so the nightly pipeline, a second pipeline, and a chat session where the findings get reviewed all read one shared record instead of separate copies. When the model or the automation platform changes, the memory stays where it was, because it lives outside any single build.

Starting is low-risk. Vilix AI has a free plan that stays free forever, and Pro starts with a 7-day trial with no card required. Memory can be exported or deleted at any time. For a Buildkite pipeline, the change is small: the AI step starts from the pipeline definition plus everything previous builds learned. The fresh workspace stays. The blank start does not.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Your CLAUDE.md Keeps Growing, and the Next Tool Still Starts From Zero

Your CLAUDE.md Keeps Growing, and the Next Tool Still Starts From Zero Every coding agent setup I see lately starts the same way. One file. A few honest lines about the project, how to run the tests, what not to touch. It works beautifully for about a week. Then the agent does something dumb that it should have known not to do. So you add a line. Then it argues with a fact you already wrote down somewhere else. Another line. Then a new project starts, and you copy the file and start editing ou

Does Harness Remember Between Runs? Cache Intelligence Carries Your Dependencies. The Next Pipeline Starts in an Ephemeral Environment.

Does Harness Remember Between Runs? Cache Intelligence Carries Your Dependencies. The Next Pipeline Starts in an Ephemeral Environment. A Harness pipeline that runs on every commit can feel like it knows the project well. Dependencies restore in seconds, the right secrets arrive in the right stage, and the execution list shows every earlier run in order. Underneath, each execution runs in an ephemeral environment provisioned for that execution and not reused by the next one, and nothing from it

Does Bitbucket Pipelines Remember Between Runs? A Cache Carries Your Dependencies. The Next Pipeline Starts in a Fresh Container.

Does Bitbucket Pipelines Remember Between Runs? A Cache Carries Your Dependencies. The Next Pipeline Starts in a Fresh Container. A Bitbucket pipeline that runs on every push can feel like a worker who knows the project. The dependencies restore in seconds, the variables are already in place, and the build list shows every earlier run in order. Underneath, each step runs in its own fresh Docker container, and nothing from that container reaches the next pipeline unless it was placed in a cache,