# FREDABILA

- **Event:** [Built with Opus 4.7: a Claude Code hackathon](https://cerebralvalley.ai/e/built-with-4-7-hackathon)
- **When:** Apr 21 at 12:00 PM – Apr 27 at 2:00 AM (EDT)
- **Where:** Online
- **Team:** [Frederick Abila](https://cerebralvalley.ai/u/fredabila)
- **GitHub:** https://github.com/fredabila/pson5
- **Demo video:** https://youtu.be/37kz_rqYIgg
- **Gallery:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/6

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.

---

Markdown version of https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/6. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
