Skip to Main Content

Inspiration Every autonomous AI agent wakes up stateless. A year of conversations later, it still does not know who you are, what stack you enforce, or what bugs you fixed yesterday. Long context windows (1M to 2M tokens) are an expensive, lossy scratchpad. As tokens grow, costs soar, latency spikes, and accuracy degrades due to the "Lost in the Middle" effect. While building this project with Muse Code, our agent repeatedly forgot decisions made 10 turns earlier after context compaction. We turned that exact pain into our thesis: "Agents do not have a reasoning problem. They have a state persistence problem." Tottie solves this by inverting the paradigm: applying intelligence at Write Time, not Read Time. What It Does Tottie is a self-curating agent memory layer over the Model Context Protocol (MCP) that any AI agent can mount in one configuration line. Curates at Ingestion: Evaluates turns in real time, filtering chitchat, scoring surprise, and extracting typed knowledge triples. Reconciles Contradictions: Saying "I am vegetarian now" creates a SUPERSEDE edge with temporal provenance, retiring the old preference while keeping history intact. 3-Leg Associative Recall: Combines Temporal Decay + Vector Similarity (pgvector HNSW) + Lexical Matching via Reciprocal Rank Fusion (RRF), then expands via Breadth-First Spreading Activation into a 400-token Context Card. Sleep Consolidation: Fades episodic noise and distills repeated patterns into permanent semantic rules. Living 3D Constellation Brain: A real-time WebGL visualizer (localhost:3055/?tab=graph) with living 60fps breathing pulses, electric cyan node births, and activation rays. How We Built It Meta Model API: Meta Muse Spark (muse-spark-1.3-contributor): The Observer, evaluating conversational turns in under 350ms to classify relevance and surprise. Meta Muse Spark Thinker (muse-spark-1.3-thinker): The Scribe, extracting schema-validated Subject-Predicate-Object triples, and the Consolidator during Sleep. Dogfooded with Muse Code: Continuous session watcher (dev-ref/session_watch.py) tails live Muse Code JSONL turns directly into Tottie. Storage: PostgreSQL 16 + pgvector (384-d HNSW) + FastEmbed bge-small-en-v1.5. Open Standard: Full MCP stdio server with 9 tools, 2 resources, and 1 prompt. UI: Next.js 14, React Three Fiber, Three-Forcegraph with dynamic charge repulsion. Accomplishments & Impact 22/22 Pass Rate on W5 benchmark harness with 0.0% false leakage when disabled. 91.2% Token Reduction: Serves 1,087-token cards vs 12,000+ raw history dumps. 124 Automated Tests Passing (83 backend + 41 UI tests). 100% Hackathon-Authored: All code created between Oct 27 and Nov 4, 2026.

Team

Absynth

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview