Halofy is an open-source governance layer between organizational knowledge and AI agents. It resolves actor identity, roles, namespaces, and source scope on the server; enforces access policies; and records provenance, supersedence, append-only audit history, policy decisions, and signed erasure certificates for reads and writes.
The repository exposes governed memory and context operations over MCP and HTTP, including writing, reading, searching, assembling, faulting, statistics, forgetting, policy, sharing, pinning, export, and manifest operations. Postgres with pgvector is the operational authority, while retrieval engines connect through an ACL-scoped read-only driver interface; encrypted, Git-versioned knowledge provides a cold tier, and embedded PGlite is the zero-setup local default. It includes connectors for filesystem, Postgres, Obsidian, and manual CSV import, plus an offline demo and hermetic test lane using deterministic stub components.