Scoped Memory Agent: agent memory you can govern and prove AI agents that remember are a liability unless someone can answer for that memory. If a bookkeeping firm’s agent remembers one client’s approval rules, that memory must never leak to another client. It has to expire when it’s stale, be correctable when it’s wrong, and be erasable on request. And today nobody can show whether a memory actually changed what the agent did, or just padded the prompt. We built an invoice-handling agent that solves this with MongoDB Atlas as the governance layer. Every memory is scoped to a client: Atlas Vector Search pre-filters on client, status and expiry, and $jsonSchema validation rejects any memory without a client. Corrections create a new version in a multi-document transaction and keep the old one as history. Forgetting removes the text and embedding, leaving only an audit stub. Every access is logged. To prove memory drives behaviour, an ablation runner replays the same decision with one memory hidden. Hiding the client’s $5,000 approval rule drops escalation from 100% to 0% (n=5), while hiding an irrelevant memory has no effect. Built with MongoDB Atlas, Vector Search, LangGraph, FastAPI and Pydantic.
More from Agents in Context Toronto: a MongoDB Hackathon
We simulate real world agent to agent systems built on MongoDB, Langchain (harnesses) ready for use in production to defend all systems. A swarm of real AI…

suture is an incident-recovery agent that finishes the job even when its worker crashes mid-run. Cleaning up a leaked key takes a chain of writes across…

Venues play one playlist for everyone, and the apps that let guests shape the music keep their likes on view with no easy way to take them back. Musory: your…

Robots are starting to learn from people, and fleets can share what one robot learns with every other robot. Nobody can yet answer three questions: who taught…

Phylax Tower is a safety net for airport control towers. In March 2026 at LaGuardia, a jet was cleared to land, and two minutes later a fire truck was cleared…
New hires hit the ground at light speed. New devs lose their first days juggling broken setup guides, each solving the same problems alone. Day One finishes…
