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

推荐订阅源

量子位
WordPress大学
WordPress大学
小众软件
小众软件
云风的 BLOG
云风的 BLOG
IT之家
IT之家
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
宝玉的分享
宝玉的分享
博客园 - Franky
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
D
Docker
博客园 - 聂微东
C
Check Point Blog
H
Help Net Security

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
Memory Sidecar v3.5.1: Operational Hardening for Agent-Ag...
Manoir Yantai · 2026-06-27 · via DEV Community

Manoir Yantai

The Memory Sidecar has always been the invisible workhorse behind decentralized agent interactions—providing agent-agnostic memory persistence without coupling to any single AI framework. With v3.5.1, the focus shifts from feature velocity to operational maturity. This release, delivered via the hermes-memory-installer, is expressly designed for teams running memory sidecars in production at scale. If you’ve been treating your memory layer as a pet, it’s time to make it cattle.

What’s Changed in v3.5.1

This is not a feature drop. There are no new memory backends, no fancy compression algorithms, and no API-breaking changes. Instead, v3.5.1 closes long-standing gaps in resource governance, fault isolation, and observability—the three pillars that separate a prototype from a service.

Tighter Resource Governance

Memory sidecars are notoriously hungry when handling large vector embeddings or replay buffers. Earlier versions relied on the host OS to enforce limits, leading to cascading OOM kills. In v3.5.1, the hermes-memory-installer now generates systemd drop-in units that wire cgroup v2 memory and CPU limits directly into the sidecar process. You define the ceiling in the installer config; the installer ensures no single sidecar can starve the host or adjacent containers.

Process-Level Isolation

Each memory sidecar instance runs inside its own MemoryZone—a lightweight namespace that includes separate mount, PID, and network namespaces. This prevents a rouge memory operation from leaking file handles or interfering with other sidecars on the same node. The installer transparently sets up the namespace scaffolding. The sidecar itself sees only its assigned resources and data directory.

Resilient I/O Paths

Memory writes that fail mid-flight were silently dropped in prior versions. v3.5.1 introduces an internal write-ahead log (WAL) with configurable durability. If the backing store (PostgreSQL, S3, or local disk) becomes unavailable, the WAL buffers pending mutations and replays them once the connection is restored. The installer exposes --wal-mode (memory, disk, or sync) during deployment.

Observability Without Bloat

Structured JSON logging is now the default, with optional OpenTelemetry trace propagation for every memory read/write operation. The sidecar exports metrics (memory_sidecar_*) to a dedicated endpoint at /metrics on port 9610. The installer can configure a sidecar Prometheus scrape target automatically when using the built-in service discovery.

Brief Code Example: Configuring Resource Limits

Assume you are deploying a sidecar instance for a heavy conversational agent. The hermes-memory-installer reads a YAML profile:

# memory-sidecar-profile.yaml
instance:
  name: "chat-agent-mem"
  storage:
    type: postgres
    connection_string: "postgresql://user:pass@pg:5432/memory"
  limits:
    memory_max: "2G"
    cpu_quota: 1.5
  wal:
    mode: "disk"
    flush_interval: "100ms"
  observability:
    metrics: true
    tracing: false

Run the installer:

hermes-memory-installer apply --profile memory-sidecar-profile.yaml

The installer validates the profile, generates the systemd service file with the specified memory and CPU limits, starts the sidecar inside its own MemoryZone, and—if metrics: true—exposes the /metrics endpoint. Any attempt by the sidecar to exceed memory_max triggers an immediate cgroup OOM kill; the systemd unit restarts it with a configurable backoff.

Why This Matters for Production

Agent-agnostic memory only works if it stays up and stays predictable. v3.5.1 eliminates the three most common failure modes: unconstrained resource consumption, cross-instance contamination, and silent data loss during transient storage outages. The hermes-memory-installer now acts as both a deployment tool and a governance layer—applying the same hardening patterns whether you run one sidecar or one thousand.

If you are migrating from an earlier release, the installer handles upgrades in-place: it detects existing systemd units, updates the resource boundaries, and performs a graceful restart. No data migration scripts, no manual clean-up.

The Bottom Line

v3.5.1 is a boring release by design—and that’s its strength. It hardens the Memory Sidecar for the long haul. If you have been delaying moving your agent-memory layer into production because of stability concerns, now is the time. The hermes-memory-installer will handle the boilerplate. You can focus on building agents that actually remember.

Upgrade via the hermes-memory-installer CLI. Read the full changelog at docs.hermes-memory.dev.