# Pairz > Pairz is the open-source runtime that makes your app usable by people, your own agents and their assistants. Learn it, build with it, use Compass, or have it built. Open source (MIT), in TypeScript, for Node and Deno. Every docs page below is plain markdown. The whole set, in one file: https://pairz.ai/llms-full.txt ## Start here - [AGENTS.md](https://pairz.ai/AGENTS.md): how to build an app with Pairz, for coding agents: how it works, a project's setup, testing offline, the rules, and recipes. Read it first. ## Getting Started - [Getting Started: one app, for people and for AI](https://pairz.ai/docs/getting-started.md): Build a salon's booking app on Pairz 1.0, then open the same app to its own agent, to ChatGPT, Claude and Gemini over MCP, to a chat on its site and to WhatsApp, under the same Actions, rules and record. - [Ch 1: One booking](https://pairz.ai/docs/getting-started/01-one-booking.md): A salon's bookings as a Pairz plugin: a collection, an Action, a View and a resource. Sam books a slot, and the record says he did. - [Ch 2: Who sees what](https://pairz.ai/docs/getting-started/02-who-sees-what.md): Staff and customers: people and contacts, a space for the desk, and one rule at the data that filters every read and checks every write, whoever calls. Then the first tests. - [Ch 3: Its own web page](https://pairz.ai/docs/getting-started/03-its-own-web-page.md): The desk on the web: Pairz's web shell with a Bookings tab, drawn by a React View that reads two named queries, as the reader, live. Its buttons are the same Actions. - [Ch 4: Its own agent](https://pairz.ai/docs/getting-started/04-its-own-agent.md): The concierge: the salon's agent, with four tools that call the same Actions, a text View for each that the model reads, acting for whoever it talks with. Tested with a scripted model, and talked to in the terminal. - [Ch 5: ChatGPT, Claude and Gemini, over MCP](https://pairz.ai/docs/getting-started/05-chatgpt-claude-and-gemini-over-mcp.md): The concierge's tools, opened to assistants outside at /mcp/salon. Each conversation is a contact with a chat of its own at the desk, under the same rules, and Sam's tab shows what they book. - [Ch 6: The same bookings, every way in](https://pairz.ai/docs/getting-started/06-the-same-bookings-every-way-in.md): The payoff: one test drives the desk's page, the salon's agent and an assistant over MCP at once, reads the record of who acted for whom, and proves the rules held at each. Then a tour with a real model. - [Ch 7: A widget in the assistant](https://pairz.ai/docs/getting-started/07-a-widget-in-the-assistant.md): The desk's Bookings View, drawn inside ChatGPT and Claude under the tool's answer, with what it reads answered ahead as the conversation's contact. Its buttons are the same Actions, and only the widget may press them. - [Ch 8: A chat on your site](https://pairz.ai/docs/getting-started/08-a-chat-on-your-site.md): Anyone who opens the salon's site can chat with the concierge: their first message makes them a customer, with a chat of their own, and a panel beside it books into that chat. - [Ch 9: WhatsApp](https://pairz.ai/docs/getting-started/09-whatsapp.md): A WhatsApp number open to anyone: Meta's webhook comes in signed, the concierge answers through the Graph API, and each customer is a contact with a chat of their own. Offline, the Graph API is a fake. - [Ch 10: Shipping the salon](https://pairz.ai/docs/getting-started/10-shipping-the-salon.md): The salon, kept and online: SQLite on your machine, PostgreSQL with a lease for deploys, a secret that keeps conversations themselves, a public origin without dev sign-in, staff invited by email, and the desk made once. ## Build Compass - [Build Compass: a workspace for people and agents](https://pairz.ai/docs/build-compass.md): The deep track: build Compass, a workspace where people and agents share chats, a board and documents, and learn the runtime's contract by building each part of it, one primitive at a time. - [Ch 1: One agent, one message](https://pairz.ai/docs/build-compass/part-1-an-agent-of-your-own/01-one-agent-one-message.md): Compose a runtime from two of Pairz's plugins and one of your own, send an agent a message, and read the events it leaves. - [Ch 2: North, in your terminal](https://pairz.ai/docs/build-compass/part-1-an-agent-of-your-own/02-north-in-your-terminal.md): Move North into a plugin of your own, laid out by primitive; give the team a charter as a View in North's prompt; talk to North in Pairz's terminal and see exactly what it's sent. - [Ch 3: Compass in the browser](https://pairz.ai/docs/build-compass/part-1-an-agent-of-your-own/03-compass-in-the-browser.md): Rebuild Pairz's identity plugin for one person on their own machine (a collection, an Action, a who, a route and a rule), then serve Compass's web page in its own look. - [Ch 4: Today, every turn](https://pairz.ai/docs/build-compass/part-2-your-own-plugins/04-today-every-turn.md): Tell every agent today's date with a turn context, and see why a prompt has a stable part and a part that changes: the provider's prompt cache. - [Ch 5: One store](https://pairz.ai/docs/build-compass/part-2-your-own-plugins/05-one-store.md): Keep Compass in one SQLite file: what the store's tables hold, each collection as a SQL view, and why the store has one writer at a time. - [Ch 6: Chats that name themselves](https://pairz.ai/docs/build-compass/part-2-your-own-plugins/06-chats-that-name-themselves.md): Write a Processor: it hears chat's message.created events and names new chats with a small model. Then test it with a scripted model, swapped in through resources and an adapter. - [Ch 7: Spaces](https://pairz.ai/docs/build-compass/part-2-your-own-plugins/07-spaces.md): Rebuild Pairz's spaces plugin for one person by its contract: what chat and other plugins ask of it, a rule that keeps shared documents in real spaces, and a parity test against Pairz's own. - [Ch 8: Spaces on the web](https://pairz.ai/docs/build-compass/part-2-your-own-plugins/08-spaces-on-the-web.md): Give spaces a web front end: React Views the web shell places by name, a page for each space, and resource kinds that let other plugins add tabs without knowing your code. - [Ch 9: The board's data and Actions](https://pairz.ai/docs/build-compass/part-3-the-board/09-the-boards-data-and-actions.md): Rebuild Pairz's boards: two collections that must always agree, seven Actions that are the only way to change them, and transactions that commit what several documents must agree on together. - [Ch 10: The board on screen](https://pairz.ai/docs/build-compass/part-3-the-board/10-the-board-on-screen.md): Show the same board in two places with Views: a Board tab on every space's page, plugged in through a resource kind, and a terminal View printed by a command. Both stay live. - [Ch 11: The board for North](https://pairz.ai/docs/build-compass/part-3-the-board/11-the-board-for-north.md): The third place the board shows is the model's prompt: six tools, offered wherever a conversation is in a space, that call the same Actions people use, and read back as plain text. - [Ch 12: Documents and their versions](https://pairz.ai/docs/build-compass/part-4-documents/12-documents-and-their-versions.md): Rebuild Pairz's documents plugin for one person by its contract: Markdown in a space, every save a version that says who, what and when, an old version brought back as a new one, and a stale save refused. - [Ch 13: Saves that merge, or refuse](https://pairz.ai/docs/build-compass/part-4-documents/13-saves-that-merge-or-refuse.md): Two saves from the same version merge line by line, a three-way merge against the version both started from, and are refused only where they touch the same lines; and who has a document open is live, in a collection kept in memory. - [Ch 14: Documents on the web and in the terminal](https://pairz.ai/docs/build-compass/part-4-documents/14-documents-on-the-web-and-in-the-terminal.md): The same documents shown by Views in two places: a Documents tab on every space, a page to write and save each version, live as others save, and /doc in the terminal. - [Ch 15: Documents for North](https://pairz.ai/docs/build-compass/part-4-documents/15-documents-for-north.md): Documents' third reader is the model: five tools, offered wherever a conversation is in a space, that read and write through the same commit as your saves, each change a version by the agent, for you. - [Ch 16: A line for every message](https://pairz.ai/docs/build-compass/part-5-long-conversations/16-a-line-for-every-message.md): Rebuild Pairz's history plugin, starting with its Processor: as messages leave the recent tail, each gets a line, and pairs of lines merge up a binary tree, with a cheap model only for what's long. - [Ch 17: The outline in North's prompt](https://pairz.ai/docs/build-compass/part-5-long-conversations/17-the-outline-in-norths-prompt.md): Replace chat's history View: an agent is sent the summary lines first, then the recent messages whole, and chat reads only those, from where the history plugin says they start. - [Ch 18: Zoom](https://pairz.ai/docs/build-compass/part-5-long-conversations/18-zoom.md): A summary line never replaces its messages: the zoom tool, offered once a thread is summarized, opens a line into the two it was made from, down to the message itself, whole. - [Ch 19: Memories found by meaning](https://pairz.ai/docs/build-compass/part-6-memory/19-memories-found-by-meaning.md): Rebuild the store half of Pairz's memory plugin: statements about a person, an agent, a conversation or everyone, kept with an embedding, found by meaning and by words, and updated instead of repeated. - [Ch 20: Recall in the prompt](https://pairz.ai/docs/build-compass/part-6-memory/20-recall-in-the-prompt.md): Memory reaches agents as three of chat's contexts: how to use it in the cached system part, the core memories when a conversation begins, and each turn the memories relevant to what was last said. - [Ch 21: Remember, recall, forget](https://pairz.ai/docs/build-compass/part-6-memory/21-remember-recall-forget.md): Three tools with Pairz's names and inputs let agents keep, search and drop memories; the charter says what's worth keeping, and the terminal and the web show what's kept. - [Ch 22: Memories on their own](https://pairz.ai/docs/build-compass/part-6-memory/22-memories-on-their-own.md): Rebuild Pairz's memoryExtraction: a Processor counts each conversation's shared messages and, every few, asks a cheap model to write down what's worth keeping, through the same keep as remember. - [Ch 23: East, South and West](https://pairz.ai/docs/build-compass/part-7-the-team/23-east-south-and-west.md): North gets a team: three more of the app's own agents, each with its own way of working and its own model alias, in every space, with the charter in each one's prompt. - [Ch 24: Asking in parallel](https://pairz.ai/docs/build-compass/part-7-the-team/24-asking-in-parallel.md): North brings teammates in with chat's send_message: questions that don't depend on each other go out in one step, the teammates work at the same time, and North resumes once, with every reply. - [Ch 25: Reading other conversations](https://pairz.ai/docs/build-compass/part-7-the-team/25-reading-other-conversations.md): Compass's coordination plugin, rebuilt for one person: two tools that let an agent list and read the other conversations of its space, through chat's own queries, storing nothing. - [Ch 26: Skills](https://pairz.ai/docs/build-compass/part-8-skills-and-routines/26-skills.md): Rebuild Pairz's skills plugin for one person: know-how an agent reads only when a task calls for it, listed by name in the cached part of its prompt and read with one tool. - [Ch 27: Routines on a schedule](https://pairz.ai/docs/build-compass/part-8-skills-and-routines/27-routines-on-a-schedule.md): Rebuild Pairz's routines for one person: a message sent to an agent on a schedule, with time as one more caller of Actions, every run recorded, and tests that move time with a manual clock. - [Ch 28: Agents that schedule](https://pairz.ai/docs/build-compass/part-8-skills-and-routines/28-agents-that-schedule.md): "Remind me every Monday" from a chat: four tools that make, list and cancel routines as the person the agent works for, post back where they were asked, and let an agent name a run's chat for what it found. - [Ch 29: Search, an adapter port](https://pairz.ai/docs/build-compass/part-9-the-web-for-agents/29-search-an-adapter-port.md): Rebuild Pairz's web tools for one person, starting with web_search: a tool that knows no search engine and asks an adapter port, so DuckDuckGo, Serper or an offline fake answers, all through the runtime's fetch. - [Ch 30: Reading a page safely](https://pairz.ai/docs/build-compass/part-9-the-web-for-agents/30-reading-a-page-safely.md): read_page fetches a page an agent chose and hands back its main text, marked as data: http(s) only, private and metadata addresses refused on every redirect, within a time, a size and a kind of content, and a few pages per turn. - [Ch 31: Fakes at the edges](https://pairz.ai/docs/build-compass/part-10-testing/31-fakes-at-the-edges.md): Test Compass as a person uses it, offline and in milliseconds: the app as app.ts makes it, run for real, with fakes only where it meets the world: a scripted model, a manual clock, and a model provider served on your machine. - [Ch 32: Parity](https://pairz.ai/docs/build-compass/part-10-testing/32-parity.md): What every rebuilt plugin's parity test does, in one small helper: the same scenario on Pairz's plugin and on yours, with ids and times taken out; and the parity test identity was missing, with testWho saying who each request is. - [Ch 33: The REST API](https://pairz.ai/docs/build-compass/part-11-other-ways-in/33-the-rest-api.md): Other programs reach Compass: the runtime answers /api/ itself, as whoever identity's who says a request is, so a script on your machine reads your board and moves a card through the same Actions and rules as a click. - [Ch 34: The client](https://pairz.ai/docs/build-compass/part-11-other-ways-in/34-the-client.md): Pairz's client, connect, reaches the running server as plugin code reaches the store, over the socket or over HTTP; its watch hears every commit, so a script prints your board again whenever a card moves. - [Ch 35: Your board over MCP](https://pairz.ai/docs/build-compass/part-11-other-ways-in/35-your-board-over-mcp.md): An assistant on your machine (Claude Code, any MCP client) calls the board's tools, the same ones North uses: Compass's own mcp plugin, with Pairz's contract, for one person, each call written in a chat of yours. - [Ch 36: PostgreSQL and blobs](https://pairz.ai/docs/build-compass/part-12-shipping/36-postgresql-and-blobs.md): Run the same Compass on PostgreSQL when DATABASE_URL says so, and keep large values once, as files in a folder of their own, with Pairz's postgresStore and fileBlobs. - [Ch 37: Watching it run](https://pairz.ai/docs/build-compass/part-12-shipping/37-watching-it-run.md): Pairz measures itself: the runtime's jobs and commits, and every model call by OpenTelemetry's GenAI conventions. Give it a meter, read the numbers at /metrics as Prometheus text or in the terminal, and send them to an OpenTelemetry collector. - [Ch 38: A computer for your agents](https://pairz.ai/docs/build-compass/part-12-shipping/38-a-computer-for-your-agents.md): Run Pairz's computers plugin, unchanged, on Compass's spaces: a machine you connect with a one-time code, where North gets a terminal, jobs, files, a browser and web search, and asks before it runs anything. One change to spaces makes it fit: you are a member of your spaces, the way Pairz's keep it. - [Ch 39: Swapping in Pairz's plugins](https://pairz.ai/docs/build-compass/part-13-from-one-person-to-many/39-swapping-in-pairzs-plugins.md): Every plugin you rebuilt kept Pairz's contract, so one setting runs Compass on Pairz's own plugins instead, the real Compass's. A test runs the same end-to-end scenario on both lists, and shows where they differ on purpose. - [Ch 40: Sign-in and people](https://pairz.ai/docs/build-compass/part-13-from-one-person-to-many/40-sign-in-and-people.md): On Pairz's identity, a request is whoever its session proves, so people sign in: by email and a password, with codes written to the log on this machine, or by name. Then a space gets members: Ana invites Bruno to Launch, he accepts, and he reads its board. - [Ch 41: Many orgs and billing](https://pairz.ai/docs/build-compass/part-13-from-one-person-to-many/41-many-orgs-and-billing.md): One address, many orgs: a directory runtime signs people in and knows their orgs, and each org is a Compass of its own, opened when used and closed when idle. With Pairz's usage ledger, what each org's agents use is recorded and priced in that org alone. ## Guides - [Serving on the web](https://pairz.ai/docs/guides/serving-on-the-web.md): The runtime answers HTTP itself: runtime.fetch, plugins' routes and who, the page on Node and in the browser, sign-in and its page's words, and apps with no page at all. - [Many orgs behind one address](https://pairz.ai/docs/guides/many-orgs.md): One app, many orgs: a directory runtime signs people in and knows their orgs, and each org is a runtime of its own, opened when used and closed when idle. - [Visitors: a chat on your site](https://pairz.ai/docs/guides/visitors.md): A public site where anyone chats with the app's agent, signed in or not: site chats, what a visitor reaches, and the limits that keep it safe to open. - [The REST API and the client](https://pairz.ai/docs/guides/rest-and-the-client.md): Every app answers a REST API at /api/, checked as the socket is, and connect is its client for scripts: the endpoint list, developer keys, and the client's collections. - [Installing a computer](https://pairz.ai/docs/guides/installing-a-computer.md): People connect their own machines for their agents to work on: where the computer program comes from, the one line that installs it, and what it does on the machine. - [Agents on people's own plans](https://pairz.ai/docs/guides/agents-on-peoples-plans.md): An agent's model calls can run on the plan of the person it works for (Claude, ChatGPT, Google AI through Antigravity, Grok, Cursor), through the plan's CLI on a computer of theirs: the providers, plans first in one order, Cursor's names for models, choosing a tier's models by how each is paid for, connecting plans in one flow (a computer readied, a missing CLI installed, signed in, tested), Your AI, signing out, which computer a call runs on, a plan at its limit, what a cloud computer keeps, what runs where, waking a computer that sleeps, and what a plan costs. - [A public MCP server: docs and data for anyone](https://pairz.ai/docs/guides/public-mcp-server.md): A read-only MCP server anyone can call, that keeps nothing: what runs as the public, what it may read, what it lists, its limits, and the one rule for its tools. - [The web toolkit](https://pairz.ai/docs/guides/the-web-toolkit.md): The pieces web front ends are made of, laid out and themed without CSS: layout, forms, confirmations, records in dialogs and refused fields, table exports and totals, dates (ranges to the second, typed day-times read back), bars, toasts, shortcuts, printing, PDF logos, Code 39, Code 128 and EAN barcodes, a route's own page and a sign-in (`Screen`), and every token a theme sets. - [A business app's screens](https://pairz.ai/docs/guides/a-business-apps-screens.md): The screens back-office apps are made of, the Pairz way: one View per file, the app's own shared components in lib/, Views that read and handlers that save, an app's own frame and home, lists with search, filters, paging and exports, deletes that ask first, records in dialogs, dates, sign-in, printed documents, shortcuts and files, all from the toolkit with no CSS. - [The compiler: plugins from folders](https://pairz.ai/docs/guides/the-compiler.md): Start an app with pairz init. Generate plugin entry points, Action inputs and collection schemas from TypeScript. Get checked names, watch for changes, check the build or take over a plugin by hand. - [Chats: their lists and archive](https://pairz.ai/docs/guides/chats.md): The chats a person sees, listed with thread.recent; archiving one for everyone who sees it, and restoring it; what brings it back; and where archived chats are still found, by people and by agents. ## Operations - [Stores](https://pairz.ai/docs/operations/stores.md): Where an app keeps what it keeps: memory, SQLite or PostgreSQL, with the same MongoDB semantics in all three; the record of every change, and how to read it back; and large values, kept once, in the store, in files or in a bucket. - [Maintenance](https://pairz.ai/docs/operations/maintenance.md): SQL over HTTP for an app's operators when they can't reach its database: the endpoints, the key, the record, the limits, and the PostgreSQL role it runs as. - [Metrics](https://pairz.ai/docs/operations/metrics.md): What the runtime and its plugins measure, the OpenTelemetry way: the meter, OTLP and Prometheus, and every metric recorded, pairz.transaction.duration included. - [Memory](https://pairz.ai/docs/operations/memory.md): Running an app in a container of 512 MiB or less: Deno 2.9 or later, V8's young generation capped, SQLite's cache, each plugin from its own entry point, and the read cache, with what each saves. ## Reference - [Reference](https://pairz.ai/docs/reference.md): What you import and what you declare, exactly. The entry points, the primitives a plugin is made of, who calls what for whom and where, the events the log keeps, schedules, and a page for every plugin. - [Plugins](https://pairz.ai/docs/reference/plugins.md): Every plugin Pairz exports: what it keeps, who may call what, where it shows, what it needs. - [accounts](https://pairz.ai/docs/reference/plugins/accounts.md): Connected accounts: a person connects an outside account once, and agents working for them use it. - [accounts-web](https://pairz.ai/docs/reference/plugins/accounts-web.md): Connected accounts' web front end, for the browser. - [api](https://pairz.ai/docs/reference/plugins/api.md): Developer keys: what code calls the app with, as someone, over the runtime's REST API (`/api/`) or its socket (see runtime/api.ts and runtime/client.ts): `Authorization: Bearer `. - [api-web](https://pairz.ai/docs/reference/plugins/api-web.md): The developer API's web front end, for the browser. - [boards](https://pairz.ai/docs/reference/plugins/boards.md): Boards: kanban boards in a space, for people and agents, the team's operational source of truth: one real outcome per card, with its owner, what done looks like, an honest column, and any blocker. - [boards-web](https://pairz.ai/docs/reference/plugins/boards-web.md): Boards' web front end, for the browser. - [chat](https://pairz.ai/docs/reference/plugins/chat.md): Chat: threads where people and agents talk. - [chat-channels](https://pairz.ai/docs/reference/plugins/chat-channels.md): Channels, ready made: a page's plugin that shows a space's threads as channels (Slack-like) instead of chats (ChatGPT-like). - [chat-channels-pt-br](https://pairz.ai/docs/reference/plugins/chat-channels-pt-br.md): The same, in Brazilian Portuguese: after `ptBR` and `chatChannels`, so it has the last word. - [chat-terminal](https://pairz.ai/docs/reference/plugins/chat-terminal.md): Chat's terminal front end, for the process that draws the terminal. - [chat-web](https://pairz.ai/docs/reference/plugins/chat-web.md): Chat's web front end, for the browser: home (a new chat), how a chat looks with what agents are writing right now, a message and its files, where you type, and at the top of the sidebar, starting one. - [computers](https://pairz.ai/docs/reference/plugins/computers.md): Computers: people connect a machine (the computer program, run once, with a one-time code) to a space, and the agents of that space's conversations work on it. - [computers-terminal](https://pairz.ai/docs/reference/plugins/computers-terminal.md): Computers' terminal front end: `/computers` and `/computer`. - [computers-web](https://pairz.ai/docs/reference/plugins/computers-web.md): Computers' web front end, for the browser. - [contacts](https://pairz.ai/docs/reference/plugins/contacts.md): Contacts: people outside the org who talk to its agents, such as a WhatsApp customer writing to a business's number. - [contacts-web](https://pairz.ai/docs/reference/plugins/contacts-web.md): Contacts on the web: their names, wherever a page shows who wrote (spaces' `names` resource, for the browser): "Ana", not "someone". - [credits](https://pairz.ai/docs/reference/plugins/credits.md): Credits: what an org has to spend, and the check that stops it at its limit. - [credits-web](https://pairz.ai/docs/reference/plugins/credits-web.md): Credits' web front end: the org page's Billing section (the web shell's `orgSettings`). - [dev-sign-in](https://pairz.ai/docs/reference/plugins/dev-sign-in.md): Dev sign-in: people sign in by the name they type, from this machine only, for trying an app out (with the identity plugin). - [directory](https://pairz.ai/docs/reference/plugins/directory.md): The directory plugin, and what each org's runtime gets of it: `directory.member(dir, org)` (see shared/member.ts), with the org as `org.info` says it. - [directory-member](https://pairz.ai/docs/reference/plugins/directory-member.md): `member(dir, org)`: the plugin each org's runtime gets from the directory (`dir`, its runtime) that serves it, beside the app's own plugins. - [directory-web](https://pairz.ai/docs/reference/plugins/directory-web.md): The directory's web front end, for apps that serve many orgs behind one address: it fills the web shell's `orgs` slot, and draws the org's pages. - [documents](https://pairz.ai/docs/reference/plugins/documents.md): Documents: shared Markdown in a space, for people and agents — the canonical artifact of the thing being made, and its working memory. - [documents-web](https://pairz.ai/docs/reference/plugins/documents-web.md): Documents' web front end, for the browser. - [email](https://pairz.ai/docs/reference/plugins/email.md): Email: sending it, and signing in with it. - [email-sign-in](https://pairz.ai/docs/reference/plugins/email-sign-in.md): Email: sending it, and signing in with it. - [google-sign-in](https://pairz.ai/docs/reference/plugins/google-sign-in.md): Google sign-in: `google.sign-in` turns a Google ID token into a person and a session (with the identity plugin). - [history](https://pairz.ai/docs/reference/plugins/history.md): Summarizes each thread's older messages as they leave its tail, and sends agents the outline and the recent messages whole (it replaces chat's `history` View). - [identity](https://pairz.ai/docs/reference/plugins/identity.md): Identity: who people are and what proves it. - [maintenance](https://pairz.ai/docs/reference/plugins/maintenance.md): Maintenance: HTTP endpoints for an app's operators, for when they can't reach its database themselves (a client's network that keeps their database user out). - [mcp](https://pairz.ai/docs/reference/plugins/mcp.md): MCP: models outside the app (ChatGPT, Claude, any MCP client) call the app's tools. - [memory](https://pairz.ai/docs/reference/plugins/memory.md): Memory: what agents know across conversations. - [memory-extraction](https://pairz.ai/docs/reference/plugins/memory-extraction.md): Memories that arrive on their own: the extractor model reads every few messages, and what a conversation said before going quiet. - [memory-terminal](https://pairz.ai/docs/reference/plugins/memory-terminal.md): Memory's terminal front end: how a memory looks there, and `/memories`. - [memory-web](https://pairz.ai/docs/reference/plugins/memory-web.md): Memory's web front end, for the browser: what agents remember (the `memories` View, as the terminal's `/memories` lists it: ★ for core memories, always in mind). - [models](https://pairz.ai/docs/reference/plugins/models.md): Models: talking to models, one way for every kind. - [openapi](https://pairz.ai/docs/reference/plugins/openapi.md): OpenAPI: an HTTP API's operations as Actions and as tools for agents, made from its OpenAPI 3 spec. - [password-sign-in](https://pairz.ai/docs/reference/plugins/password-sign-in.md): Password sign-in: people sign in by an identifier (a username, a badge number, a CPF) and a password, with the identity plugin. - [push](https://pairz.ai/docs/reference/plugins/push.md): Push notifications (Web Push): the app reaches a person on their devices when something waits on them, the app closed or out of sight. - [push-web](https://pairz.ai/docs/reference/plugins/push-web.md): Push notifications' web front end, for the browser: Notifications (`/notifications`), in the person's menu, where they turn them on for this device and off for any of theirs. - [routines](https://pairz.ai/docs/reference/plugins/routines.md): Routines: a message sent to an agent on a schedule, in a space ("every weekday at 9:00, ask @researcher for the news on X"). - [routines-web](https://pairz.ai/docs/reference/plugins/routines-web.md): Routines' web front end, for the browser. - [skills](https://pairz.ai/docs/reference/plugins/skills.md): Skills: know-how an agent reads only when it needs it. - [skills-web](https://pairz.ai/docs/reference/plugins/skills-web.md): Skills' web front end, for the browser. - [spaces](https://pairz.ai/docs/reference/plugins/spaces.md): Spaces: who reaches what, for every collection that shares its documents. - [spaces-terminal](https://pairz.ai/docs/reference/plugins/spaces-terminal.md): Access's terminal front end: how spaces look there, and `/spaces`, `/space`, `/work`, `/invite`, `/invitations`, `/accept`, `/decline`, and requests to join. - [spaces-web](https://pairz.ai/docs/reference/plugins/spaces-web.md): Spaces' web front end. - [stripe](https://pairz.ai/docs/reference/plugins/stripe.md): Stripe: one way an org pays, for `credits`, which never asks it anything. - [stripe-webhook](https://pairz.ai/docs/reference/plugins/stripe-webhook.md): Stripe's webhook, `POST /__stripe/`, where the app's accounts send their events (see routes/webhook.ts). - [team](https://pairz.ai/docs/reference/plugins/team.md): Team: agents people make, beside those the app declares in code. - [team-web](https://pairz.ai/docs/reference/plugins/team-web.md): Team's web front end, for the browser: making and changing agents. - [terminal](https://pairz.ai/docs/reference/plugins/terminal.md): The terminal plugin: a command line's data, built from the same primitives as everything else, which every process has. - [terminal-shell](https://pairz.ai/docs/reference/plugins/terminal-shell.md): The terminal's front end, for the process that draws: the `shell` View (what's open, the scrollback, where you type), where you type's prompt, and the View any kind without its own falls back to. - [tiers](https://pairz.ai/docs/reference/plugins/tiers.md): Tiers: how hard an app's agents think, chosen by budget rather than model by model. - [tiers-web](https://pairz.ai/docs/reference/plugins/tiers-web.md): Tiers' web front end, for the browser. - [usage](https://pairz.ai/docs/reference/plugins/usage.md): Usage: what was used, what it cost, and what to charge for it, as a ledger. - [usage-terminal](https://pairz.ai/docs/reference/plugins/usage-terminal.md): Usage's terminal front end: how totals look there, and `/usage`. - [usage-web](https://pairz.ai/docs/reference/plugins/usage-web.md): Usage's web front end: where the app serves many orgs, the org page's Usage section (the web shell's `orgSettings`). - [voice](https://pairz.ai/docs/reference/plugins/voice.md): Voice: people call the app's phone number and talk to its agents, through Twilio's ConversationRelay (Twilio hears them and speaks for the agent; the app gets and sends text). - [web-lines](https://pairz.ai/docs/reference/plugins/web-lines.md): Web sites (`resources.web.`, declared in the app's settings, with the app's secret, `links`). - [web-page](https://pairz.ai/docs/reference/plugins/web-page.md): The page: the app's code, its files, its manifest and worker, and the page itself. - [web-shell](https://pairz.ai/docs/reference/plugins/web-shell.md): The web shell: the web's root View, which the web host observes for the address it's at (`hosts/web`). - [webTools](https://pairz.ai/docs/reference/plugins/webTools.md): Web tools: agents that search the web and read a page, without a computer. - [whatsapp](https://pairz.ai/docs/reference/plugins/whatsapp.md): WhatsApp: people talk to their agents from WhatsApp, through Meta's Cloud API. - [whatsapp-web](https://pairz.ai/docs/reference/plugins/whatsapp-web.md): WhatsApp's web front end, for the browser. ## Architecture - [Architecture](https://pairz.ai/docs/architecture.md): How Pairz works underneath: one contract for every caller, one owner that writes, and the promises the runtime keeps whichever way a call comes in. - [The owner](https://pairz.ai/docs/architecture/the-owner.md): One owner holds the store and commits every write; executors run plugin code; the rules apply at every op; and 2 caches keep reads cheap without ever going stale. - [Events, Processors and schedules](https://pairz.ai/docs/architecture/events.md): Every change is an event written in the commit that made it; Processors react to events from durable cursors; and time is one more caller of Actions. - [Views](https://pairz.ai/docs/architecture/views.md): A View turns data into what one place shows; the runtime renders it once or observes it, running again only the parts a commit changed, for whoever is looking, where they are. - [The ways in](https://pairz.ai/docs/architecture/transports.md): Every way into an app says who the caller is and where they work, then reaches the same Actions, Views and rules: the browser's socket, the REST API and its client, MCP, and the other doors. - [Topology and runtimes](https://pairz.ai/docs/architecture/topology.md): Where the owner, its executors, plugins' workers and browsers run, one instance per store and what a second one does, what a turn costs, many runtimes behind one address, and the JavaScript runtimes Pairz runs on. ## Optional - [About Pairz](https://pairz.ai/about): why Pairz exists - [Pricing](https://pairz.ai/pricing): the runtime is free; what Pairz charges for - [The course](https://pairz.ai/learn): 41 video lessons that build Compass, a whole app, on Pairz - [Pairz compared](https://pairz.ai/compare): Pairz beside Mastra, the Vercel AI SDK and LangChain.js, with a source for every claim - [Pairz vs Mastra](https://pairz.ai/compare/mastra): Mastra and Pairz side by side, as of November 2026: agents, MCP, access rules, memory, testing, license and maturity, with a source for every claim. - [Pairz vs the Vercel AI SDK](https://pairz.ai/compare/vercel-ai-sdk): The Vercel AI SDK and Pairz side by side, as of November 2026: what each one is for, MCP, access rules, persistence, testing and maturity, with a source for every claim. - [Pairz vs LangChain.js](https://pairz.ai/compare/langchain-js): LangChain.js and Pairz side by side, as of November 2026: agents, LangGraph, MCP, access rules, memory, testing, license and maturity, with a source for every claim. - [Blog](https://pairz.ai/blog): notes from the team building Pairz