{"slug": "building-ai-agents-in-rust-part-8", "title": "Building AI Agents in Rust - part 8", "summary": "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.", "body_md": "Member-only story\n\n# 🦀 Building AI Agents in Rust - part 8\n\n## Memory and agentic RAG\n\nEvery 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.\n\nThis post adds memory. `eugene-memory`\n\nships 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/`\n\n, an entrypoint called `MEMORY.md`\n\ngets 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`\n\ntrait 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.\n\nEugene v0.8 wires both into the agent loop through two new skills: `remember`\n\nand `recall`\n\n. 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…", "url": "https://wpnews.pro/news/building-ai-agents-in-rust-part-8", "canonical_source": "https://pub.towardsai.net/building-ai-agents-in-rust-part-8-507e00b9d49d?source=rss----98111c9905da---4", "published_at": "2026-07-17 06:09:07+00:00", "updated_at": "2026-07-17 06:25:58.042933+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-research", "large-language-models", "artificial-intelligence"], "entities": ["Eugene", "Claude Code CLI", "Qdrant", "pgvector"], "alternates": {"html": "https://wpnews.pro/news/building-ai-agents-in-rust-part-8", "markdown": "https://wpnews.pro/news/building-ai-agents-in-rust-part-8.md", "text": "https://wpnews.pro/news/building-ai-agents-in-rust-part-8.txt", "jsonld": "https://wpnews.pro/news/building-ai-agents-in-rust-part-8.jsonld"}}