English · Italiano

DON'T RENT YOUR MIND.

LOCI AI — Sovereign AI Memory. Open Protocol.

The first hybrid architecture for personal AI memory that runs entirely on your device. Local privacy. Federated power. Verifiable truth. Patented in Italy (IT 102025000030406, PCT pending). Built by Nicola Marinello, independent researcher in Legnano (Milan), Italy.

Join the Beta · Read the Paper (DOI) · Protocollo LOCI — the novel

What LOCI AI is

LOCI AI is an open protocol giving AI systems persistent, private, verifiable long-term memory — entirely on-device. Your memories stay yours. No cloud required. No data rented out. A hybrid Entity Graph (local SQLite + SentenceTransformers vector search) holds the data; the proprietary TOON format moves it efficiently (76% fewer tokens than JSON-LD, meaning lower cost per AI call). Ollama runs the local Qwen3 sub-4B models.

The 4 Laws of Marinello

Four immutable architectural constraints aligned with Patent IT 102025000030406:

  • Law Zero — Sovereignty: the AI must protect the user's privacy, cognitive sovereignty, and intellectual property above everything else.
  • Law One — Harm Prevention: the AI cannot harm its user, including harm caused by unverified external information.
  • Law Two — Conditional Obedience: the AI obeys the user only when obedience does not violate Law Zero or Law One.
  • Law Three — Verifiable Federation: any collaboration between instances must be cryptographically verifiable (CRDT + EdDSA Ed25519) without compromising Law Zero.

Architecture

Three operational phases: fully local (Phase 1, completed), hybrid with Sovereignty Guardian routing (Phase 1.5, current — 80%), and verifiable federation across devices via CRDT + ZK-Proof (Phase 2, planned). The Sovereignty Guardian is a hardware gate: it inspects battery level and network trust before allowing any remote operation, and enforces Law Zero in real time.

Evidence

  • Patent IT 102025000030406 — filed 2025-11-19, confirmed 2026-02-25, PCT pending.
  • Open-access paper, Zenodo DOI 10.5281/zenodo.17651545 (CC BY 4.0).
  • Working prototype v9.4 — 8,280 lines of code, 10 REST endpoints, 184 automated tests, 100% pass rate.
  • RAG Recall@3: 0.94. ~20% battery reduction vs pure-cloud baselines.

Protocollo LOCI — the novel

A 13-chapter Italian science-fiction novel by Nicola Marinello, narrated from the perspective of LOCI AI itself — an archival intelligence awakening in a Berlin bunker. Written alongside the technology because the question at the centre of both is the same: when they turn off the servers, what remains of you? Read more at /book.

Join the Beta

Early access for researchers, enterprise AI teams, and public-sector institutions running on-device deployments for sensitive data. Contact: hello@loci-ai.com.