# localmem > localmem is the private memory layer for your agents. It reads documents, meetings and conversations where they already live and turns them into one memory that every AI agent works from: every version kept, what was true on any date, and each fact pointing back to its source. Each customer's memory is encrypted under its own keys, and deleting a customer destroys them. localmem comes two ways. The **Memory API** gives a product memory of each of its own customers, through TypeScript and Python SDKs (`@localmem/memory` on npm, `localmem-memory` on PyPI). **localmem Workspace** is the app on the same memory for a team's meetings: it reads Granola and Read AI notes, finds the commitments and decisions, and keeps them in the team's Notion. - Home: https://localmem.org/ - How the memory works: https://localmem.org/#how - localmem Workspace: https://localmem.org/workspace - Pricing: https://localmem.org/pricing (as Markdown: https://localmem.org/pricing.md) - Public evaluations: https://localmem.org/#evals (LongMemEval 78% and LoCoMo 75% on part of each data set; an earlier run on 422 of the 500 LongMemEval questions scored 69%; the full run is coming) - Contact: support@localmem.org (Workspace: workspace@localmem.org) ## Memory API Start with the quickstart. A coding agent adding localmem to a product pairs the developer's terminal with `npx @localmem/memory login` (or `localmem-memory login`), installs the SDK, and asks the developer which of their users is one customer, what data is sent, and whether any of it is health data. ### For coding agents Read [Use it well](https://localmem.org/docs/memory-api/use-it-well.md) before writing code: what localmem already does (duplicates, retries, history, conflicts, sources), so your code does not do it again, and how to read and write within the plan. - Use the SDKs from the backend only. Never print, log or commit `LOCALMEM_KEY_SECRET`; `login` writes it to `.env` and keeps that file out of git. - Pairing gives test keys, which reach only test customers. Live keys are made by an admin in the app once the account is approved; going live changes the three variables, not the code. - One localmem customer is one of the product's users or companies, made with the product's own id (`customers.create(id)`, safe to repeat). Never put a name or other content in that id. - If any data may be health data, stop and ask the developer: such a customer waits for a business associate agreement. - After the first memory works, propose the quickstart's "Wire it into your product" steps for this codebase: one module that holds the client, writes where the product learns something (`documents.send` for prose, `facts` for structured data), reads where it needs context (`search`, `recall`, `profile`), errors handled once. Ask what the app is and what one customer is before writing more code. ### Docs - [Quickstart](https://localmem.org/docs/memory-api/quickstart.md): Add localmem memory to your product: paste one prompt into Claude Code, Cursor or Codex, or pair a terminal, install the SDK and write and recall your first memory by hand; then wire it into your product. - [Use it well](https://localmem.org/docs/memory-api/use-it-well.md): For coding agents and developers: what localmem already does so your code does not do it again, what it does not do, and how to write and read memory efficiently within your plan. - [API reference](https://localmem.org/docs/memory-api/index.md): The localmem Memory API for partners: signing requests, creating and deleting your customers, writing documents and facts, asking what was true on a date, usage, limits and errors. - [SDKs](https://localmem.org/docs/memory-api/sdks.md): The localmem Memory API's TypeScript and Python SDKs: configuration, every call, how they sign and retry, and the errors they raise. - [Data contract](https://localmem.org/docs/memory-api/data-contract.md): What the localmem Memory API keeps for each of your customers, where, for how long, who can read it, which model provider sees text, and what deleting a customer does. - [What's new](https://localmem.org/docs/memory-api/whats-new.md): Changes to the localmem Memory API, newest first: what each release fixes and adds, and whether you need to change anything. - [Pricing](https://localmem.org/pricing.md): test keys free, then one flat monthly or yearly plan (3 months free on a year) with customers free, packs, and what happens at a limit. ## localmem Workspace docs - [Overview](https://localmem.org/docs/): The localmem Workspace documentation: how meetings in Granola become commitments and decisions in your team's Notion, what you can and cannot do, and what happens to your data. - [Getting started](https://localmem.org/docs/getting-started): Create your team in localmem Workspace with a sign-up code, invite your colleagues, and what admins, members and the owner can each do. - [Granola](https://localmem.org/docs/granola): How localmem Workspace reads your team's meetings from Granola: the Granola workspace key, choosing folders, how quickly meetings arrive, edits and deleted notes. - [Read AI](https://localmem.org/docs/read-ai): How localmem Workspace reads each person's own Read AI meeting reports: connecting your own Read AI, choosing folders, what is read and never read, and Read AI's own Notion integration. - [Analysis](https://localmem.org/docs/analysis): What localmem Workspace finds in a meeting, how it matches the same commitment across meetings, choosing which meetings are analysed, and what every state in the app means. - [Notion](https://localmem.org/docs/notion): Your team's Meeting Hub in Notion: where it goes, its three databases and every column, what your team's edits do, and moving, repairing, removing and disconnecting. - [Your data](https://localmem.org/docs/your-data): What localmem Workspace keeps, how it is protected, what it never deletes in your Notion, how your team's work can be rebuilt, and what happens when a meeting or a team is deleted. - [Plans](https://localmem.org/docs/plans): Where your team's plan and usage are shown in localmem Workspace, and what happens to your data whatever plan you are on. - [Connectors](https://localmem.org/docs/connectors): The tools localmem Workspace connects to today, the ones teams can ask for next, and how every connector behaves the same way. ## Use cases - [Use cases](https://localmem.org/use-cases): what products send and read back, by kind of product, and what changes for their customers. - [Every caregiver known, from the first interview](https://localmem.org/use-cases/caregiving-agencies): How a home care agency can use the localmem Memory API so its AI agents that interview and call caregivers know each caregiver's skills, availability, preferences and history, as they stand and as they stood. - [A coach that remembers every game](https://localmem.org/use-cases/chess-coaching): How personalchess.club uses the localmem Memory API to remember each player's progress month by month, so its coach knows how a player has changed, not just how they played today. - [Trial design agents that know the protocol as it stands](https://localmem.org/use-cases/clinical-trials): How a clinical trial design product can use the localmem Memory API so every AI agent works from the current protocol, and a sponsor can show what the design was on any date and why it changed. - [A care agent that knows what each customer was told](https://localmem.org/use-cases/customer-care): How a customer care product can use the localmem Memory API so its AI and human agents know each customer's setup, history and open promises, as they stand and as they stood. - [Every proposal starts from what the funder already said](https://localmem.org/use-cases/grant-writing): How a grant-writing product can use the localmem Memory API so its drafting assistant knows each organisation as it is this year and what each funder said last cycle. - [Know each member's family at every life event](https://localmem.org/use-cases/life-events): How a platform that banks and credit unions offer their members can use the localmem Memory API so its assistant keeps each family's situation current across years, and the institution can show what was known when. - [Every hospital account, remembered](https://localmem.org/use-cases/medical-devices): How a medical-device company can use the localmem Memory API so its field and support teams know each hospital's devices, service history, training and open issues, as they stand and as they stood. - [Nothing promised in a meeting gets lost](https://localmem.org/use-cases/meeting-follow-ups): How a small events and executive-education team uses localmem Workspace to turn its meeting notes into one list of commitments and decisions, kept in Notion and briefed before each meeting. - [Every deal remembered, call after call](https://localmem.org/use-cases/sales-agents): How a sales product can use the localmem Memory API so its AI and human sales agents know each account's people, needs, objections and promises, as they stand and as they stood. - [Every advisor knows the whole student, not the last note](https://localmem.org/use-cases/student-advising): How a student advising product can use the localmem Memory API so every advisor, and its AI assistant, knows each student's goals, what was agreed and by when, and what has changed since. ## Optional - [What's new in Workspace](https://localmem.org/updates/): Workspace releases, newest first. - [Privacy](https://localmem.org/privacy) and [Terms](https://localmem.org/terms).