COMPANIONS THAT REMEMBER

She remembers.
She stays herself.

Lares is an agent-native companion engine. It gives a character the three things most chat products cannot keep at once: 1. Memory with a causal shape. Facts, events, promises, and corrections are stored with provenance, decay, and branch isolation. 2. A life of its own. A persistent runtime tracks mood, energy, and affinity, and a proactive policy decides when a message is worth the interruption. 3. A stable self. A character card compiles into a reviewable PersonaSpec plus a deterministic critic, so the voice survives long conversations and model swaps.

→lares.hugoxk.onlineOpen ↗
LARES AT A GLANCE
01Causal memory with provenance
02A persistent runtime and a hearth
03A persona that survives model swaps

From a message
to a self that persists.

Most companions are sessions. Lares is built around presence: a memory with a causal shape, a life between conversations, and a voice that does not drift.

01MessageA proactive message or a user message arrives.
02RetrieveBranch-aware, budgeted memory retrieval.
03AssembleThe compiled persona and the current state.
04ReplyThe first token never waits on extraction.
05ExtractAsync memory extraction and relationship update.
06DecideThe next proactive decision, with quiet hours.

Pick a path
into the lararium.

Edit this page on GitHub ↗

Why the name

In ancient Rome, every household had its Lares — guardian spirits of the hearth, the family, and its memory. They were not gods of war or commerce. They were the small, local presence that made a house a home.

That is the product thesis. Most AI companions are sessions: you open a chat, the character forgets, you close it. Lares is built around presence.

Term Meaning
Lar one character
Lares your collection of characters
Lararium the home or shelf where your Lares live
Keeper the user whose story is being kept
Relic a memory with provenance
Canon the fixed facts of a character
Hearth the proactive scheduler and its quiet hours

The core loop

proactive message or user message
  -> retrieval (branch-aware, budgeted)
  -> persona assembly
  -> streamed reply
  -> async memory extraction
  -> relationship update
  -> next proactive decision

The loop is designed so the first token never waits on memory extraction, moderation, or proactive scheduling.

Correctness invariants

  1. Every model-visible memory has provenance.
  2. A memory belongs to exactly one branch.
  3. Rollback tombstones, never deletes, memories after the rollback turn.
  4. A user correction supersedes the old relic; the old one remains auditable.
  5. Proactive messages are opt-in, rate-limited, and quiet-hour aware.
  6. Safety gates run before generation and after generation.
  7. The chat path never blocks on the agent path.

What it is not

  • Not a session-based chat product with a memory feature bolted on.
  • Not an open character marketplace at launch.
  • Not a model. It is a companion engine with adapters.
  • Not a clinical or crisis service.

Status

v0.1.0 is in development. The engine, HTTP service, and reference adapters are implemented and tested: 289 tests, 87% coverage, CompanionBench v0 and v1 passing, ruff clean. The DeepSeek Harness plugin, mobile client, and model-backed critic are next.

Read next

Three more rooms.

The four projects share an identity, a timeline and a reference scheme, but keep their own interaction models. The docs share one template; only the palette changes.

Meet one Lar.

Run the deterministic demo, then start the service.

Open the quickstart ↗