Architecture

Data and access

How accounts, sessions, tokens and isolation work, what is stored, and how to get your data out.

Architecture3 pages

Memory is personal by nature, so the access model is deliberately simple: one account owns its data, a token can only act for its owner, and sharing is an explicit per-repository act.

Accounts and sessions

  • Passwords are hashed with scrypt; the plaintext is never stored.
  • A session is a random token, stored hashed in Postgres and delivered in an httpOnly, SameSite=Lax cookie valid for 30 days.
  • Google and GitHub sign-in use the authorization-code flow. Accounts are matched by verified email, so a provider sign-in links to an existing password account instead of creating a duplicate.
  • OAuth-only accounts have no password; everything else — sessions, tokens, isolation — works the same.

MCP tokens

  • Tokens start with memo_ and are shown exactly once, at creation.
  • Only a hash is stored, so a database read cannot recover a usable token.
  • Up to 20 tokens can be active per account; revoking one takes effect on the next request.
  • A token acts as its owner for personal memory and for every repository shared with them.

Isolation

Every query filters by the owning account at the database level. A repository share adds exactly one repository's code memory to the member's reads; it does not expose the owner's other repositories, personal memory or account details.

What is stored

Account: name, email, password hash
Where
Postgres
Why
Sign-in and display
Personal memory: text, category, importance, timestamps
Where
Postgres + pgvector
Why
Recall
Code memory: text, type, key, repo, path, confidence
Where
Postgres
Why
Agent context
Sessions and MCP token hashes
Where
Postgres
Why
Authentication
Captures awaiting review
Where
Postgres
Why
Approval before recall

Infrastructure providers are a cloud hosting platform for the application, Neon for Postgres, and Anthropic only when an extraction or answer route is configured to use it. The privacy policy lists the details and the retention rules.

Getting data out

  • Settings → Data exports every memory as JSON.
  • DELETE /api/memories?confirm=all archives all personal memory for the account; memory_restore can bring a row back.
  • Deleting a repository's code memories is available from the Code page.

Rate limits

Register
Limit
12 per hour per IP
Sign in
Limit
12 per 15 minutes per IP and email
Extract / ask
Limit
30 and 40 per hour per IP
Import
Limit
12 per hour per account
Inbox actions
Limit
120 per hour; bulk 30 per hour
Capture ingest
Limit
60 per hour per account
Team invites
Limit
30 per hour per account
Legal

The full terms are in Terms of Service and Privacy Policy. They describe the hosted deployment at this address, not a self-run copy.