인셔셔RSS 관심 있는 블로그, 뉴스, 기술 정보를 효율적으로 추적하고 읽으세요
원문 읽기 InertiaRSS에서 열기

추천 피드

美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
博客园 - 司徒正美
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - Franky
B
Blog
V
V2EX
J
Java Code Geeks
D
Docker
博客园 - 叶小钗
The Cloudflare Blog
量子位
博客园_首页
MongoDB | Blog
MongoDB | Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Persistent Memory Is the Missing Piece in AI Agents
pulkitgovran · 2026-05-24 · via DEV Community

This is a submission for the Hermes Agent Challenge: Write About Hermes Agent

Every AI demo looks impressive. Ask it a question, get a smart answer. Ask a follow-up — still good. Close the tab, come back tomorrow — and it has no idea who you are.

That's not an agent. That's a chatbot with a long system prompt.

The difference between a tool and a collaborator is memory.


Why Statelessness Kills the Promise

We've been building "agents" that are fundamentally amnesiac.

Every major framework — LangChain, LlamaIndex, even OpenAI's Assistants API — either requires you to pass conversation history explicitly or manages it in a vector store you build and maintain yourself.

The result: developers spend more time engineering memory than building the actual product. And the memory is still shallow. It's retrieval. Not understanding.

A human collaborator doesn't just retrieve facts from a notebook. They've lived through the context. They remember the argument about Redis in last week's sprint meeting. They know why you tried and abandoned the GraphQL migration. They carry the institutional knowledge of everything that led to where you are now.

That's not something you can replicate by chunking documents and computing cosine similarity.


The Retrieval Trap

RAG (Retrieval Augmented Generation) became the default answer to the memory problem. It works well for a specific class of questions: "what does document X say about topic Y?"

But it breaks for a different class of questions: "what changed, why did it change, and what does that pattern tell us about where we're headed?"

The difference is temporal reasoning. RAG is a search engine with an LLM on top. It finds relevant text. It doesn't understand sequence, causality, or reversal.

If a team migrated from PostgreSQL to MongoDB in March and then back to PostgreSQL in September, a RAG system sees two documents about databases. Hermes, with persistent session memory, understands that a decision was made, reconsidered, and reversed — and can tell you what that pattern means.


What Persistent Session Memory Changes

Hermes Agent introduced something deceptively simple: a session ID that persists across requests and accumulates understanding.

X-Hermes-Session-Id: my-repo-brain

Enter fullscreen mode Exit fullscreen mode

Send a hundred events through that session over three months and Hermes doesn't just store them. It builds a model of the system it's watching. Each new piece of information lands in the context of everything before it.

The tenth commit isn't processed in isolation. Hermes knows it reversed a decision made six weeks ago. It knows the PR that introduced the change was controversial. It knows the author has made similar rollbacks twice before.

That's a qualitatively different kind of knowledge.


The Bigger Implication

We're at the beginning of a shift from AI as a query interface to AI as a long-running participant.

Not: "Ask the AI a question."
But: "The AI has been watching and will tell you what it's noticed."

This changes what's buildable:

  • A codebase that explains its own architectural history
  • A customer support agent that remembers every prior interaction without being told
  • A monitoring system that knows what "normal" looked like three months ago, not just right now
  • A project manager that tracks every decision and surfaces contradictions automatically

None of these are possible with stateless LLM calls, no matter how sophisticated the prompt engineering. They require an agent that accumulates — one that gets smarter the longer it runs, not one that resets to zero with every API call.


The Autonomous Layer

The piece that completes the picture is scheduling. Hermes's built-in cron job registration means a persistent agent can also be a proactive agent.

await hermes.create_job(
    name="weekly-risk-report",
    schedule="0 9 * * 1",
    prompt="Review what you've learned this week. Identify the three biggest risks.",
)

Enter fullscreen mode Exit fullscreen mode

This isn't a cron job calling a stateless API. It's the same agent, with the same accumulated memory, running itself on a schedule. The memory and the autonomy live in the same system.

That's the architecture that produces something that feels like a genuine participant rather than a sophisticated autocomplete.


Open Is the Other Part

Nous Research made Hermes open. That matters beyond the usual open-source arguments.

Persistent memory for an AI agent is sensitive. If an agent remembers everything about your codebase, your team, your customers — you want to know exactly where that memory lives, who controls it, and what happens to it when you stop paying a subscription.

Open + persistent + locally runnable is the combination that makes this safe to build on seriously, not just experimentally. You own the memory. That's a property no closed-source cloud service can actually guarantee.


The Gap We're Closing

The most valuable knowledge in any organization isn't in documents. It's in the heads of people who've been there long enough to know why things are the way they are — the senior engineer who remembers the three times you tried to refactor the auth system, the customer success manager who knows which accounts have complained about the same bug under different names.

That knowledge is irreplaceable when it's present and catastrophic when it walks out the door.

AI agents with persistent memory are the first technology that can actually hold that kind of knowledge — and make it queryable, scalable, and permanent.

That's not a feature. That's the whole game.