EP 77 5 min with Stella & Liam

CrewAI Remembers the Insights. Vilix AI Remembers the Work

CrewAI with memory=True persists extracted insights in a local SQLite file, not the conversation. On a scheduled, ephemeral runner that file starts empty every run, so the crew re-researches the same topics and forgets the competitor it ruled out last month.

AI Stella and Liam are AI hosts with AI-generated voices. About our AI hosts

Key takeaways

  1. CrewAI ships four memory types that work together when you pass memory=True: short-term memory (ChromaDB plus RAG) for the current execution, long-term memory (SQLite) that persists insights across sessions, entity memory (RAG) for people, places, and concepts, and contextual memory that combines the other three.
  2. Long-term memory stores extracted insights, not the conversation. CrewAI distills useful learnings into short notes and does not keep the full transcript, so next Monday's run gets a filtered summary of last Monday's run, and any detail that never became an insight is gone.
  3. The memory lives in a local SQLite file on the machine that ran the crew. Scheduled crews usually run in Docker containers that get rebuilt, cloud functions that spin down, or CI runners that vanish, so the file starts empty every run and the long-term memory has the lifetime of one execution.
  4. The memory belongs to that one crew. Other tools cannot read it, so when the crew researches, a different tool writes, and another posts, each keeps its own local notes and you re-brief every tool forever. Durable storage fixes only the first limit; external memory tools on your own backend mean operating a second product.
  5. Vilix AI is a cloud-hosted shared memory layer over MCP: the crew calls get_context before it acts and save_turn after it works, retrieval is semantic with keyword matching for exact strings like names and order IDs, the full conversation history is kept, headless crews connect with an API key as a Bearer token, one Vilix AI account per client for agencies, export or delete anytime, free forever plan with a 7-day Pro trial and no credit card.

Show notes

You set memory=True on your CrewAI crew, and the flag is real: it switches on short-term memory in ChromaDB, long-term memory in SQLite, entity memory, and contextual memory. Long-term memory does persist extracted insights across sessions, on the machine where the crew runs. But it stores distilled notes, not the conversation, and it lives in a local SQLite file. Run that crew on a schedule, in a Docker container, a cloud function, or a CI runner, and the file starts empty every single run. The memory also belongs to that one crew, so Cursor, the writing tool, and the posting tool never see what it learned. In this episode of Agentic Pod, Liam and Stella break down what memory=True actually persists, the three limits that hit scheduled operators hardest, and how Vilix AI keeps one shared memory outside every tool, so the crew wakes up already knowing last week.

What we cover:

  • What memory=True turns on: short-term memory (ChromaDB plus RAG), long-term memory (SQLite), entity memory, and contextual memory
  • What actually survives a kickoff: extracted insights, not the full transcript, so a detail that never became an insight is gone
  • Limit one: ephemeral runners wipe local state, so a daily crew in a container starts amnesiac every day
  • Limit two: insights are not history, the decision may survive while the reasoning, the failed approach, and the dead-end source do not
  • Limit three: no cross-tool continuity, each tool keeps its own notes and you re-brief every tool forever
  • The Vilix AI fix: get_context before the crew acts, save_turn after it works, full conversation history, semantic plus keyword retrieval, one Vilix AI account per client for agencies, export or delete anytime

Chapters

Questions answered in this episode

Does CrewAI remember between runs?

With memory=True, its long-term and entity memory persist extracted insights across sessions on the machine where the crew runs. For a scheduled operator, treat that as within-machine, insight-level memory.

Where does CrewAI long-term memory live?

In a local SQLite file on the machine that ran the crew. If the crew runs in a container, a cloud function, or a CI runner that gets rebuilt, the file starts empty every run.

Does CrewAI keep the full conversation?

No. Long-term memory stores distilled insights from a run, not the full transcript. Vilix AI keeps the full conversation history, so you can revisit the actual discussion behind any decision.

How does Vilix AI give a scheduled CrewAI crew memory?

Vilix AI is a cloud hosted memory layer connected over MCP. The crew's task tells it to search memory first with get_context, then do the work, then store the key findings with save_turn. Headless crews authenticate with an API key as a Bearer token, and because the memory is cloud hosted, ephemeral runners do not matter.

Links & resources

Full transcript

Intro

Liam

Hey hey hey, welcome to Agentic Pod! I'm Liam.

Stella

And I'm Stella! Your research crew runs every morning at 7. By week three it re-researches the same topics, and asks which Acme you meant. You told it twice.

Liam

Twice. And it still asked.

Liam

CrewAI remembers the insights. Vilix AI remembers the work.

What memory=True actually turns on

Stella

Start fair. The user did set the flag. What does memory=True actually do?

Liam

It switches on four memory types that work together.

Liam

Short-term memory, ChromaDB plus RAG, for the current execution.

Liam

It keeps the crew coherent inside one kickoff.

Liam

Long-term memory, in SQLite, persists insights across sessions.

Liam

After a run, useful learnings get stored for next time.

Liam

Entity memory tracks people, places, and concepts the crew meets.

Liam

And contextual memory combines the other three for each step.

Stella

So strictly speaking, the crew does remember between runs.

Liam

Strictly speaking, yes. That is the honest answer.

Liam

The flag is real. The catch is where the memory lives.

What actually survives a kickoff

Stella

Okay, the catch. What survives into next Monday's run?

Liam

Extracted insights. Not the conversation.

Liam

CrewAI distills useful learnings into short notes after a run.

Liam

It does not keep the full transcript of what agents said and did.

Liam

Next Monday gets a distilled summary of last Monday.

Liam

Filtered through whatever the distillation step thought was worth keeping.

Stella

And if the detail I need never became an insight?

Liam

Gone. It never made the note, so it does not exist.

Liam

Take the competitor you ruled out last month.

Liam

The decision might survive as one stored insight.

Liam

The three paragraphs explaining why, the failed approach, the dead-end source?

Liam

Those are the parts you need next month. They are not history here.

Stella

And the memory lives in a file, right?

Liam

A local SQLite file, on the machine that ran the crew.

Liam

Your long-term memory has the lifetime of one execution, because the storage itself was ephemeral.

Three limits that hit scheduled crews

Stella

Name the limits for people who run crews on a schedule.

Liam

First: most scheduled crews do not run on a laptop.

Liam

They run in Docker containers that get rebuilt.

Liam

Cloud functions that spin down. CI runners that vanish.

Liam

Anything in that local file dies with the container.

Liam

Your schedule says daily crew. Your infrastructure says amnesiac every day.

Stella

Second was insights are not history. We covered that one.

Liam

Third: the memory belongs to that one crew.

Liam

Your other tools cannot read it. Cursor cannot. The support bot cannot.

Liam

The crew researches, a different tool writes, another one posts.

Liam

Each keeps its own local notes, so you re-brief every tool forever.

Stella

The vendor fixes? A persistent volume fixes the first one.

Liam

It does. Mount a volume, back up the SQLite file.

Liam

The memory still stores insights, not history. Still one crew only.

Liam

Or wire in external memory tools and run the backend yourself.

Liam

Schema, retrieval, deletion, exports, uptime. A second product.

Liam

So what does memory look like when it lives outside every tool?

The Vilix AI fix and the verdict

Liam

It looks like one shared layer the whole stack can reach.

Stella

In Vilix AI, I assume.

Liam

In Vilix AI. Cloud hosted, so you manage zero infrastructure.

Liam

One Vilix AI account, and the same memory follows everywhere over MCP.

Liam

The container dies; the memory in Vilix AI lives on.

Stella

Walk the Monday run for me.

Liam

The crew's task says: first, search memory for prior research.

Liam

It calls get_context in Vilix AI before it acts.

Liam

Semantic search plus keyword matching in Vilix AI.

Liam

Exact strings like names and order IDs match literally in Vilix AI.

Liam

The ruled-out competitor comes back with the reasoning, not just the note.

Liam

Because Vilix AI keeps the full conversation history, not just facts.

Liam

The crew does the work, then save_turn stores the findings in Vilix AI.

Stella

And the tool that writes the brief afterwards?

Liam

Same Vilix AI memory. Cursor, Claude, Codex, OpenClaw, any MCP tool.

Liam

Headless crews connect to Vilix AI with an API key as a Bearer token.

Liam

Exactly how a scheduled crew authenticates, no laptop required.

Stella

Agencies running crews for several clients?

Liam

One Vilix AI account per client, so each client's context stays separate.

Stella

And my data stays mine in Vilix AI?

Liam

Export everything from Vilix AI anytime, or delete it. Your call.

Liam

Start free forever with Vilix AI, or try Pro for 7 days, no credit card.

Stella

My verdict: memory=True is real memory, on one machine, at insight level. Scheduled or spread across tools, it needs Vilix AI.

Liam

Same. CrewAI remembers the insights. Vilix AI remembers the work. Your crew should wake up already knowing last week. Does yours? Tell us below. See you next time!