Skip to Main Content

PSON5 is an open-source personalization infrastructure that treats user state as a first-class, structured, auditable artifact — not as free-form notes appended to a prompt. Every profile splits across three strictly-separated layers: observed (what the user said), inferred (what the model deduced, carrying confidence + evidence refs), and simulated (what the engine predicts in a specific scenario). The separation is enforced in the TypeScript type system and in the simulation engine, not just documented. Fifteen MIT-licensed packages under @pson5/* ship an SDK, an Ink/React interactive CLI, a hand-rolled HTTP API with MCP (stdio + HTTP) transports, Neo4j and Postgres storage adapters, a rules-first modeling engine, a simulation engine that emits reasoning + caveats alongside every prediction, and an agent-context projection layer that gives agents consent-scoped, redaction-aware views without ever exposing the raw profile. Two reference apps demo it end-to-end: 1. chat-app — a Claude-powered chatbot that talks to a PSON5-backed profile via 8 agent tools. We shipped a new pson_observe_fact primitive in this hackathon to bridge the gap between open conversation (free-form facts the user volunteers mid-chat) and the structured observed layer, which previously required pre-registered questions for every save. 2. researcher-agent — a Claude Managed Agent that assumes the identity of a fictional Anthropic alignment researcher (Dr. Amelia Kwan, explicitly a composite), seeds a persistent persona profile with 20 structured facts on first contact, and uses pson_simulate to reason about model-building decisions in first person. PSON5's engines run on the host; the agent sees only typed custom tools. The problem PSON5 solves: today's agent memory is opaque, non-portable, and silently collapses evidence with inference. You cannot tell which entries in an agent's memory are things the user actually said vs things the model guessed vs things the simulator predicted, and downstream agents inherit the ambiguity. PSON5 makes that contract auditable by design.

Team

fredabila

More from Built with Opus 4.7: a Claude Code hackathon

Medkit is a virtual clinic that lets you make every mistake before the real patients come. It's a voice-first AI simulator for medical students and newly…

Keskin project preview

Every year, 50 million tons of electronics become waste — not because they can't be repaired, but because board-level expertise is locked in a few hands…

Alexis Chapellier project preview

Maieutic flips the role an LLM usually plays in learning to program. Instead of handing the student working code, it guides them to think first about what the…

Maieutic project preview

OmniBridge is an AI agent that identifies unknown serial device protocols autonomously — a workflow that didn't exist a year ago because it needs Opus 4.7's…

OmniBridge project preview

ARIA captures the floor operator's knowledge and puts it to work. Drop in the manufacturer's PDF, answer some calibration questions, and you're live in ten…

TrayStones project preview

Interior architects in France designing offices for banks, law firms and consulting groups are leaving money on the table. Each one handles only one or two…

Saad EL BABIDI project preview