cd /news/ai-agents/building-ai-agents-in-rust-part-8 · home topics ai-agents article
[ARTICLE · art-63223] src=pub.towardsai.net ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Building AI Agents in Rust - part 8

Developer Eugene releases version 0.8 of his AI agent framework, adding persistent memory through file-based and vector store retrieval. The update introduces agentic RAG, where the agent itself decides when to call memory tools, moving beyond stateless demos toward a more useful assistant.

read1 min views1 publishedJul 17, 2026
Building AI Agents in Rust - part 8
Image: Pub (auto-discovered)

Member-only story

Memory and agentic RAG #

Every agent in this series so far has been amnesiac. A new run starts with a fresh history and ends with a write to nothing. The user can mention they prefer terse explanations on Monday, and on Tuesday the agent is back to wrapping every answer in three caveats. For demos this is fine. For an assistant a user actually depends on, it is the difference between a tool and a colleague.

This post adds memory. eugene-memory

ships two complementary stores, one trait, and a small amount of glue. The headline pattern is the one the Claude Code CLI uses: each memory is a markdown file with a YAML-ish frontmatter, all files live in a directory under ~/.claude/projects/<hash>/memory/

, an entrypoint called MEMORY.md

gets loaded into the system prompt verbatim, and individual memory files surface on demand through a cheap-model selector that reads only their one-line descriptions. Around that lives a VectorStore

trait for embedding-based retrieval, with a small in-memory implementation, ready to be swapped for Qdrant or pgvector when the file-based approach hits its ceiling. Eugene v0.8 wires both into the agent loop through two new skills: remember

and recall

. The agent decides when each is called. The pattern is what the literature calls agentic RAG: retrieval is itself a tool, not a step every turn…

── more in #ai-agents 4 stories · sorted by recency
── more on @eugene 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-ai-agents-i…] indexed:0 read:1min 2026-07-17 ·