惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
Cloudbric
Cloudbric
The Register - Security
The Register - Security
小众软件
小众软件
PCI Perspectives
PCI Perspectives
G
Google Developers Blog
AI
AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
TaoSecurity Blog
TaoSecurity Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
F
Full Disclosure
N
Netflix TechBlog - Medium
博客园_首页
Last Week in AI
Last Week in AI
A
Arctic Wolf
B
Blog RSS Feed
J
Java Code Geeks
C
Cybersecurity and Infrastructure Security Agency CISA
I
InfoQ
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Jina AI
Jina AI
有赞技术团队
有赞技术团队
S
Schneier on Security
L
Lohrmann on Cybersecurity
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
P
Palo Alto Networks Blog
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Security Latest
Security Latest
Vercel News
Vercel News
博客园 - 司徒正美
Webroot Blog
Webroot Blog
Hacker News: Ask HN
Hacker News: Ask HN
A
About on SuperTechFans

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 Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Hermes Memory Providers: A Complete Breakdown for New Users
Shane Castile · 2026-05-28 · via DEV Community

Hermes has a lot of memory options. If you're new, the choices can be overwhelming — built-in memory, 8 external providers, different costs, different architectures. This guide breaks it all down so you can make the right call for your setup.


First: Built-In Memory (Always Active)

Before we talk providers, understand that built-in memory is always on. It doesn't cost anything, requires no setup, and works out of the box.

Two files in ~/.hermes/memories/:

File Purpose Char Limit
MEMORY.md Agent's notes — environment facts, project conventions, lessons learned 2,200 chars (~800 tokens)
USER.md User profile — your name, preferences, communication style 1,375 chars (~500 tokens)

Both are injected into the system prompt at the start of every session. The agent manages them automatically — it saves preferences you correct, environment facts it discovers, and conventions it learns.

Key details:

  • Entries are separated by § delimiters
  • The header shows usage % (e.g. MEMORY [67% — 1,474/2,200 chars])
  • Above 80% capacity, the agent should consolidate before adding
  • Duplicate entries are auto-rejected
  • Entries are scanned for injection/exfiltration patterns for security
  • Changes persist to disk immediately but appear in the system prompt at the next session (frozen snapshot — preserves LLM prefix cache)

For most new users, built-in memory is enough. It handles preferences, project facts, and daily workflow notes. You don't need an external provider for a personal assistant setup.

But you'll want one when:

  • You have multiple Hermes profiles that should share knowledge
  • You want the agent to learn and synthesize across sessions automatically
  • You're running long conversations that exceed context limits
  • You need structured knowledge retrieval (entities, relationships, not just text blobs)

The 8 External Memory Providers

All external providers are installed via:

hermes memory setup      # interactive picker
hermes memory status     # check what's active
hermes memory off        # disable

Or set manually in ~/.hermes/config.yaml:

memory:
  provider: hindsight    # or any of the 8

Important: Only one external provider can be active at a time. All of them layer on top of built-in memory — they don't replace it.


Quick Comparison

Provider Storage Cost Unique Angle Best For
Hindsight Local/Cloud Free (local) Knowledge graph + reflect synthesis Highest accuracy, privacy
Holographic Local SQLite Free HRR algebra + trust scoring, zero deps Air-gapped, zero-install
OpenViking Self-hosted Free (AGPL) Tiered L0/L1/L2 loading, 80-90% token savings Self-hosted teams, cost optimization
Mem0 Cloud Freemium Server-side LLM extraction, dual memory scope Fastest setup
Honcho Cloud/Self Paid (cloud) / Free (self-hosted) Dialectic user modeling Multi-agent, deep user understanding
ByteRover Local/Cloud Freemium Knowledge tree in human-readable Markdown Pre-compression knowledge capture
RetainDB Cloud Paid Hybrid search: vector + BM25 + reranking Production search quality
SuperMemory Cloud Web-focused memory with browser integration Web research workflows

Benchmark Snapshot

Only two providers have published LongMemEval scores:

Provider Score Model
Hindsight 91.4% Gemini-3
Hindsight 89.0% Open-source 120B
Mem0 67.6% GPT-4o (LongMemEval-S variant)

Hindsight is the clear retrieval accuracy leader. Others haven't published comparable benchmarks.


Provider Deep Dives

🥇 Hindsight

The best all-around choice for most users who want local + accurate.

Stores structured knowledge — discrete facts, named entities, and relationships — not raw text chunks. Its unique hindsight_reflect tool periodically synthesizes higher-level insights across all memories. Think of it as the agent building a personal knowledge graph over time.

Setup:  hermes memory setup → select Hindsight
        Leave blank for local daemon, or set HINDSIGHT_API_KEY for cloud
Tools:  hindsight_recall, hindsight_retain, hindsight_reflect
Cost:   Free (local PostgreSQL daemon) / Cloud available for teams

Best if: You want the highest retrieval accuracy, need structured knowledge, or handle privacy-sensitive data.


Holographic

Zero dependencies. Nothing leaves your machine. Literally two tools and done.

Uses Holographic Reduced Representations (HRR) — memories stored as superposed complex-valued vectors. Recall is algebraic, not similarity-based. A trust-scoring mechanism causes confirmed memories to gain weight and contradicted ones to decay over time.

Setup:  hermes memory setup → select Holographic. That's it. No API keys.
Tools:  2 tools (minimal by design)
Cost:   Free. Local SQLite. Period.

Best if: You're in an air-gapped environment, hate external dependencies, or want self-correcting memory that learns what's trustable.


OpenViking

The token-saver. Self-hosted context database from ByteDance.

Its filesystem-style hierarchy with tiered loading is the standout feature:

  • L0 (Abstract): ~100 tokens — loaded every turn
  • L1 (Overview): ~2k tokens — loaded when planning
  • L2 (Full): Complete content — loaded only when deep context needed

This means 80-90% token cost reduction vs. loading full context every turn. Auto-extracts memories into 6 categories: profile, preferences, entities, events, cases, patterns.

Setup:  pip install openviking
        openviking-server
        hermes memory setup → select OpenViking
        Set OPENVIKING_ENDPOINT=http://localhost:1933
Tools:  viking_search, viking_read, viking_browse, viking_remember, viking_add_resource
Cost:   Free (AGPL-3.0, self-hosted)

Best if: You're running at scale, want self-hosted infrastructure, or need to minimize token costs.


Mem0

The "just make it work" option. 30 seconds to running.

Server-side LLM extraction means Mem0's infrastructure decides what to keep. Includes a circuit breaker so memory failures don't block agent responses. Dual memory scope (session + user) means it separates short-term context from long-term facts.

Setup:  hermes memory setup → select Mem0
        Set MEM0_API_KEY=your-key
Tools:  mem0_add, mem0_search, mem0_get_all
Cost:   Freemium (free tier available)

Best if: You want the fastest setup, don't want to self-host, and are okay with cloud storage. Good starting point — you can always migrate later.


Honcho

The philosopher. Builds a model of how you think, not just what you know.

Dialectic user modeling captures reasoning patterns, communication style, and decision-making tendencies over time. Two-layer context injection with configurable cadences for refreshes. Supports multi-agent setups with separate AI peers per Hermes profile.

Setup:  hermes memory setup → select Honcho
        Set HONCHO_API_KEY=your-key
Tools:  honcho_profile, honcho_search, honcho_context, honcho_reasoning, honcho_conclude
Cost:   Paid (cloud) / Free (self-hosted, AGPL-3.0)

⚠️ Licensing note: OSS is AGPL v3.0. Self-hosting in a networked app requires releasing your source under AGPL. Using managed cloud avoids this.

Best if: You're building a personal assistant that should deepen its model of you over time, or running multi-agent systems with shared user context.


ByteRover

Your knowledge, stored as readable Markdown. No black boxes.

Hierarchical knowledge tree stored in .brv/context-tree/ as human-readable Markdown files. Unique pre-compression extraction hook fires before Hermes compresses long conversations, capturing knowledge before context gets summarized away.

Setup:  hermes memory setup → select ByteRover
Tools:  byterover_search, byterover_list, byterover_forget
Cost:   Freemium

Best if: You want full visibility into stored memory, or need to capture knowledge from long conversations before compression loses it.


RetainDB

Search nerd's pick. Hybrid vector + BM25 + reranking.

Combines multiple retrieval strategies for the highest-quality search results. Vector similarity catches semantic matches, BM25 catches exact keyword matches, and reranking puts the best results on top.

Setup:  hermes memory setup → select RetainDB
Tools:  retaindb_search, retaindb_store
Cost:   Paid

Best if: Retrieval quality is your top priority and you're willing to pay for it.


SuperMemory

Web research workflows. Browser-integrated memory.

Designed for memory that extends into the browser — captures and retrieves web content as part of your knowledge base.

Setup:  hermes memory setup → select SuperMemory
Cost:   See supermemory.ai pricing

Best if: Your workflow involves heavy web research and you want persistent memory of online content.


Cost Summary

Tier Providers Notes
Free, local Holographic, Hindsight (local), OpenViking No API keys, no cloud. Holographic is the easiest pick.
Free tier / freemium Mem0, ByteRover Start free, pay for higher limits
Paid cloud Honcho, RetainDB, SuperMemory Production features, team support
Always free (built-in) MEMORY.md + USER.md No setup, always active, 2200 + 1375 char limits

My Recommendations

Just getting started?
Stick with built-in memory. It covers 80% of use cases. Add an external provider only when you hit its limits.

Want the best free local experience?
Hindsight (local daemon). Best benchmarks, nothing leaves your machine, structured knowledge graph.

Want zero config?
Hogrpghic. Pick it in hermes memory setup and you're done. No API keys, no servers.

Want the easiest cloud setup?
Mem0. 30 seconds, free tier, hands-off extraction.

Running multi-agent or want deep user modeling?
Honcho. The dialectic reasoning is genuinely different from every other provider.

Care about token costs at scale?
OpenViking's tiered loading will save you 80-90% on tokens.


Migrating Between Providers

Switching is straightforward:

hermes memory setup      # pick new provider
hermes memory status     # confirm it's active

Your built-in memory (MEMORY.md, USER.md) stays intact regardless of which external provider you use. Note that external providers store data in their own backends — switching providers means starting fresh with the new one's knowledge base. There's no automated migration between providers yet.


Questions?

Drop them in the comments. I'm happy to help you pick the right setup for your use case.