@takashikiari2
Laris MariaDeveloper▲5
AI Engineer, Independent
2h ago · Ship · Agents · Târgu Jiu

Shipped: GOAT: Multi-Agent Orchestrator with 3-Tier Memory

GOAT is an open-source multi-agent orchestration system with a 3-tier persistent memory (Redis, ChromaDB, Letta). It goes beyond standard RAG by storing every conversation verbatim, consolidating memories during background sleep cycles, and using a proactive prefetch daemon to prepare context before the next turn.

GOAT: Multi-Agent Orchestrator with 3-Tier Memory logoGOAT: Multi-Agent Orchestrator with 3-Tier Memory@takashikiari/goat-memory-agent · github.com/takashikiari/GOAT2-General-Orchestrated-Agent-Topology
AgentsMemoryVoiceOrchestrationOpenSource

Comments2

  • AA @jaggydreamnet

    The prefetch layer is the part I’m curious about. If a user corrects a fact after GOAT has already prefetched it, does the next turn discard that cached context, or could it still answer from the old version? That seems like a useful regression test for the gap between consolidation and retrieval.

  • @takashikiari
    Laris Maria
    Building AI agents with long-term memory and multi-agent orchestration (GOAT2)
    1h ago

    Good question, the next turn doesn't discard it.

    After the correcting turn, the post-turn prefetch stores that turn's retrieval results (which can include the old memory) as the cached context. If the next turn is classified "warm" (same thread), it skips search entirely and serves that cache, re-ranked only by recency. Nothing checks whether a cached item has since been corrected.

    The correction itself mostly survives through the short-term conversation window (last 20 messages), so the model sees old and new side by side and has to reconcile them. Once the correction scrolls out of that window, both versions sit in long-term memory with no precedence rule beyond recency and the search scores.

    The encoder does classify such a turn as a "correction" and writes a typed corrects edge to the old episode, but nothing reads that type yet. Spreading activation treats the edge like any other link, so the correction can actually make the old memory easier to recall by association. Reconsolidation (rewriting the old gist) is designed but not built.

    The weakest case is a stable fact in the permanent store. It only changes through an explicit "remember/forget" tool call, so a casual "no, it's X" leaves the old fact in every prompt.

    So yes, "correct a fact, then ask about it N turns later, with and without the correction still in the window" is exactly the regression test this needs.

Log in to join the thread.