Skip to content
Thakorn S.

Personal OS

A self-hosted data store for your life that any AI can read and write over MCP, and every answer traces back to its evidence.

TSThakorn Swaengkit·Nov 14, 2026·3 min read
What did I promise Mai this week?
personal-os · read tier/api/mcp
  1. SOURCEcalendar · Tue standup, 10:00
  2. EVIDENCE“I’ll send Mai the draft by Friday.”
  3. CLAIMcommitment · proposed → accepted by arbiter
  4. STATEopen · due Fri
One open commitment: the draft for Mai, due Friday. It comes from Tuesday’s standup.
email · this weekoutside_coverage, not “nothing found”
39MCP tools, 21 read and 18 write
4database roles, nested
12invariants in the design contract
0writes back to any source
ROLESolo builder
TIMELINENov 2026
LINKS—

Most AI memory is a pile of notes. Personal OS is a small, strict knowledge base instead. It keeps what you decided apart from what it observed, and every observed fact points back to the evidence it came from.

Why another memory

An assistant that remembers things is only useful if you can check what it remembers. When it tells you a commitment is overdue, you should be able to ask where that came from and get an answer.

Personal OS is built around that question. It holds the people, groups, areas, goals, commitments, decisions and risks in your life in one Postgres store, and any AI can reach it over MCP.

The trust chain

Every answer follows the same path, and each step can be traced back to the one before it.

SOURCEChat, mail, calendar
EVIDENCEEvidence index
CLAIMKnowledge claim
STATECurrent state
MCPAnswer
Fig. 1 · An answer is only as good as the evidence it points to.

The store keeps two kinds of record apart. The registry holds what you decided: your goals, your commitments, the people you work with. Observations hold what an agent noticed in a source. An observation only changes a record after it's proposed as a claim, with evidence attached, and accepted.

Absence is not emptiness

If a source was never checked, the store says so. A question about a week nobody swept comes back as outside_coverage, not as an empty list. An empty list would read as "nothing happened", which is a different and often wrong answer.SIDENOTEThe same rule covers every read tool, so an agent can't turn missing coverage into a confident "no".

A write path that can't be skipped

The database does the enforcing, not the application:

  • Four nested roles: reader, ingestor, arbiter and admin
  • No role can insert, update or delete table rows directly. Every write goes through a SECURITY DEFINER SQL function
  • Evidence, claims and state events are append-only, and every mutable table keeps a history table
  • Row-level security is on everywhere

An agent that ingests from a source can propose claims, but it can't accept its own. That takes the arbiter role.

How you use it

There are three ways in, and all three expose the same tools:

  1. MCP, a Next.js route at /api/mcp with per-agent bearer tokens or OIDC, in full, contributor and read tiers
  2. The pos CLI, either in-process against the database or remotely over MCP
  3. A Claude Code plugin with commands such as a daily brief, a day-end review, a weekly review and meeting prep, plus 7 skills and 3 agents

The ingest command doesn't have a fixed list of sources. It works from whichever MCP connectors the session has, and its claims land as proposed.

Made to be adopted

Personal OS is distilled from a larger private system I use to run my own work. This version ships shape, never content: the templates/ folder is a complete, valid store built around an invented person, which you copy and replace with your own.

It runs on plain Postgres 16+ or Supabase, deploys to Vercel or Docker, and comes with a make quickstart sandbox. It's MIT licensed.

Where it stands

Version 0.2.0 added the pos CLI and a write path hardened after an adversarial review. The repository is private for now and will be public soon.

BUILT WITH
TypeScriptNext.jsPostgreSQLSupabaseMCPPythonDockerClaude Code plugin
TSThakorn SwaengkitRobotics & AI engineer in Bangkok. I lead software engineering at AltoTech and write about building for the physical world.
Next project · 03Smart IoT room on VolttronAll projects