Vibeleaderboard
← All Intel
Intel / article

Under The River

Source
shopify.engineering
Author
Shopify Engineering
Date

Context

Shopify's engineering account describes an platform built to preserve conversations when the processes doing the work disappear. River, its Slack-based AI agent, runs on Aquifer, which stores history in a database (Postgres) separately from the agent's execution and code workspace. When a session becomes active again, a fresh process can read that history and continue the conversation. This separates the lifetime of a task's recorded from the lifetime of a particular machine, which Shopify presents as what lets long-running, shared work continue without keeping every execution process alive.

Terms in this piece · Glossary
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • Session — One conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.
  • Process — A running instance of a program, with its own working memory, open files and identity.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source shopify.engineering
More from Shopify Engineering
Recommended reads