Does Snowflake Remember Between Runs? A Stream Offset Moves. The Reasoning Does Not.
Does Snowflake Remember Between Runs? A Stream Offset Moves. The Reasoning Does Not. Ask whether Snowflake remembers between runs and the answer splits in two. Snowflake remembers data movement very well: which rows changed, where a stream offset sits, and whether a task ran. It does not remember what an AI step inside that pipeline concluded, decided, or learned while it worked. Those are different kinds of memory, and the gap between them is exactly where scheduled AI workflows start repeatin
Does Snowflake Remember Between Runs? A Stream Offset Moves. The Reasoning Does Not.
Ask whether Snowflake remembers between runs and the answer splits in two. Snowflake remembers data movement very well: which rows changed, where a stream offset sits, and whether a task ran. It does not remember what an AI step inside that pipeline concluded, decided, or learned while it worked. Those are different kinds of memory, and the gap between them is exactly where scheduled AI workflows start repeating themselves.
Inside the data: a stream is an offset, not a log
The mechanism most teams meet first is a stream. A stream does not copy a table. It stores a position, called an offset, in the table's change history. Query the stream and Snowflake shows the net changes since that offset: inserts, updates, and deletes, with metadata columns that say what happened to each row. An update even arrives as a pair, the delete of the old row image and the insert of the new one.
Two rules define how that memory behaves. First, looking does not consume. A plain SELECT against a stream is a peek, and the offset stays where it was. Second, consuming does move it. When a DML statement such as a MERGE or an INSERT reads the stream and commits, the offset advances to that transaction's starting point. A failed transaction that never commits leaves the offset untouched, so the retry sees the same changes again.
That design gives a pipeline clean exactly-once handling for changed rows. It also has a limit. If a stream is not consumed within the source table's retention window, it goes stale and cannot be read. The offset remembers position, not meaning. It knows rows moved. It does not know why a step flagged them, what an agent inferred from them, or what should happen differently next time.
Across runs: tasks, sessions, and tables
Tasks are Snowflake's built-in scheduler. A task runs one SQL statement, or calls a stored procedure, on a schedule or after a predecessor task finishes. Tasks are created suspended, so nothing runs until the task is resumed. A common pattern pairs the two primitives: a task checks whether a stream has data, and only then runs the merge that consumes it.
Execution memory stays narrow by design. Each task runs in its own session. Temporary tables belong to that session, so data placed in a temporary table by one task is not shared with the next task in the chain. To hand data between tasks, teams use persistent or transient tables instead, recreating or cleaning them so stale rows do not leak into the next sequence.
So across runs Snowflake keeps plenty: table contents, stream offsets, task history, and query history. What none of those layers stores is the working reasoning of an AI step. When a Cortex function or an external agent step classifies rows, drafts a summary, or decides an exception is safe to skip, the output lands as a value in a table if the pipeline was built to save it. The reasoning behind that output, the alternatives considered, and the corrections applied along the way have no home in the stream, the task, or the session.
Where the AI step starts blank
Picture a nightly task that reads changed orders from a stream, sends them to an AI step for review, and writes back a status. Monday's run flags a customer as a duplicate because the billing name differs from the shipping name. A reviewer corrects that call. Tuesday's run consumes a fresh offset and processes fresh rows, exactly as designed. The AI step, though, begins Tuesday with no record of Monday's correction. Presented with a similar name mismatch, it makes the same call again, because the correction lived in a finished session, not in any memory the step can read.
Adding more tables does not close that gap on its own. A results table stores outcomes. It does not store the full conversation that produced them: the context the agent was given, the follow-up questions it asked, the rule it settled on after being corrected. Without that history, every run re-derives judgment from scratch, and the same edge cases get decided the same wrong way, run after run.
The missing layer: shared memory outside the warehouse run
The fix is to give the AI steps a memory that lives outside any single run and outside any single tool. That is what Vilix AI provides. Vilix AI is a cloud-hosted memory layer, so there is no infrastructure to deploy or maintain. An agent connects over MCP, the Model Context Protocol, and reads and writes the same memory from wherever it runs: inside a Snowflake-driven pipeline, in a separate automation tool, or in a chat session later that day.
Two properties matter for scheduled work. First, the memory is shared. A correction recorded during Monday's review is available to Tuesday's run and to every other connected tool, because all of them read one memory instead of separate session histories. Second, Vilix AI keeps full conversation history, not just extracted facts. The next run can see what was decided and how it was decided, including the correction and the reasoning around it, rather than receiving a single flattened status value.
Getting started does not require a project. Vilix AI offers a free plan that stays free forever, and a 7-day Pro trial with no card required. Memory can be exported or deleted at any time, so the history an operation builds stays under the operator's control. Connect the AI step once, let it save each run's work as it goes, and the next run opens with that record already in front of it.
What to keep where
None of this replaces Snowflake's own primitives. Keep using streams for change capture, because the offset mechanism handles changed rows exactly once and retries cleanly. Keep using tasks for scheduling, and persistent tables for data that tasks must share. Those layers are the right home for data movement.
Add a memory layer for the other half of the work: the judgments, corrections, and context that AI steps produce while they run. Snowflake remembers that the data moved. Vilix AI remembers what your agents learned while moving it. A scheduled pipeline needs both, and once the second half has a home, runs stop starting blank.