--- title: "Memory for operations agents" description: "Memory for operations agents on past.dev: every run starts with the rules you gave, the state the last run left and the lessons your agents already learned." canonical: https://past.dev/use-cases/operations-agents last-updated: 2026-11-25 --- # Memory for operations agents Source: https://past.dev/use-cases/operations-agents past.dev is a memory API. You use it to give memory to your operations agents, the agents that run your daily work: reports, client accounts, scheduled jobs. Each agent saves its log of the day, the rules you gave it and what it learned. Before the next run, it gets the rules that apply, the state it left and the mistakes to avoid, with dates and sources. So a correction you make once stays applied, and your night agent starts from what happened the night before. ## What you build An agent, or a team of agents, that runs part of your company every day. It builds the morning report. It checks the data jobs. It works on each client account. It answers the team's questions about a payment or a shipment. Most of this runs on a schedule, with nobody watching. Your agents save a log at the end of each run, the rules you give them and every lesson from a mistake. The next run, tomorrow or in 3 months, starts from there. Give each function its own agent if you want: finance, sales, operations, customer service. They all save to and recall from the same memory, so each one can check what the others did. ## The same agent without memory - **Every run starts from zero.** Your night agent starts with nothing from the night before. It checks everything again, or it does a step twice. - **You make the same correction again.** You tell the agent who owns a task or which table it must not use. A week later, a new session has lost it. - **Your rules are in files.** Each agent has to load the right file itself. When it loads the wrong one, it works to the wrong standard. - **One agent can't see what another did.** 2 agents take the same task, or one chases a client about an invoice that another agent already settled. - **Client accounts get mixed up.** An agent that works for 20 clients can bring a fact from one account into another. ## What past.dev changes - **Each run starts where the last one stopped.** Your agent saves a log at the end of each run. The next run gets the state it left and what is still open. - **A correction stays applied.** Save the rule once, under a fixed id. Every agent gets it before the task it applies to. Change the rule, and the new one replaces the old one. - **Every agent works to the same rules.** The rules are in 1 place. An agent asks for the rule of its task in plain words and gets it with its date and its source. - **1 record of who did what.** Agents save what they took, what they finished and what they decided. The others find it by the task or by the client. - **1 memory per client.** Give each client its own audience and its own reader identity. When your agent works on a client, it recalls as that client's reader and gets only that client's history. ## Accuracy and cost - **12.0 points more accurate**: On BEAM, a public memory benchmark, past.dev scores 85.03% on histories of 10M tokens. The next published score at that size is 73.0%, from Graphon (no published method). Scored on the complete BEAM split at this size. [See the benchmarks](/benchmarks) - **98% fewer tokens**: 1 recall brings back 1,985 tokens, as a median. With a text search over the team's session transcripts: 121,074 tokens. 20 questions with a known answer, measured by the Invariant team. [Read the Invariant page](/blog/projects/invariant) - **19% fewer tool calls**: A research swarm made 742 tool calls in a run with a shared memory on past.dev. Without it: 913. 5 runs with past.dev and 5 without, on 1 task of the BixBench3 biology benchmark, measured by team Hanabi. [Read the Hanabi page](/blog/projects/hanabi) The accuracy is our score on BEAM, a public benchmark of long histories. The Invariant team and team Hanabi measured the 2 others on their own agents. ## Set it up with 1 prompt ```prompt Add past.dev memory to my operations agent. Read the full instructions at https://past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them. Set it up for an agent that runs daily operations: 1 project for the company and 1 identity per agent. For client work, 1 audience per client and 1 reader identity that reaches only that audience. At the end of each run, the agent saves its log, its decisions and what it learned, with the date and a fixed id. Save each rule I give under a fixed id, so a new version replaces the old one. Before each task, the agent recalls with its own identity, set in my code, and gets the rules, the last state and the lessons that apply. ``` Paste it into Claude Code, Codex, Cursor or another coding agent. It follows our setup instructions and creates a project. You sign in once to keep it. ![Diagram of memory for operations agents. At the end of a run, an operations agent sends an ingest call to one past.dev project with its log of the day, its decisions and its lessons. The rules that a person gives go to the same project. The project holds the rules, the logs and the lessons, with one audience per client. Before the next run, the agent sends a recall call with its own identity and receives the rules that apply, the state the last run left and the lessons, with dates.](https://past.dev/images/guides/use-case-operations-agents.svg) *Every run saves its log and its lessons. The next run starts with the rules, the last state and those lessons.* > **In production** > > A logistics company runs a team of agents on past.dev, 1 for each function: finance, sales, operations and customer service. A new agent reads the history of its function before it starts, and every agent writes its log of the day and what it learned. A marketing agency runs 1 operations agent the same way, with 1 memory per client. An online retailer has a Slack bot for its team's questions about payments and shipments. It starts each investigation from the ones it did before. The [quickstart](/docs/memory-api/quickstart) has the 2 calls. For accuracy on long histories, see the [benchmarks](/benchmarks). ## Examples - Post: [Agent memory for email, meetings and Slack](/blog/internal-agent-memory-email-meetings-slack). How to connect the 3 sources an internal agent needs, with dates, sources and permissions. - Guide: [How to build a company brain](/guides/build-a-company-brain). How to build the memory your team asks questions to. - Docs: [Access control](/docs/memory-api/access-control). Projects or audiences: how to keep each client's history apart. - Docs: [Sending data](/docs/memory-api/sending-data). How a new save replaces an old one, for a rule or a status that changes. ## Frequently asked questions ### How is this different from a company brain? A company brain answers people from what the company wrote and said. The memory of an operations agent is the agent's own record: its rules, its logs and its lessons. You can keep both in 1 project. ### Which agents does it work with? Any agent that can call an API. There are plugins for Claude Code, Codex, Cursor and Hermes, and you can turn on an MCP server for each project. The [plugins page](/docs/plugins/overview) lists them. ### Can a scheduled job save and recall with nobody there? Yes. The job calls the API with a project key. Your code sets the identity of the agent, so each agent only gets what it is allowed to see. ## Related - [Company brain](https://past.dev/use-cases/company-brain) - [Agent swarms](https://past.dev/use-cases/agent-swarms) - [Quickstart](https://past.dev/docs/memory-api/quickstart) - [Benchmarks](https://past.dev/benchmarks) - [Pricing](https://past.dev/pricing)