<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Manoir Yantai</title>
    <description>The latest articles on DEV Community by Manoir Yantai (@manoir_yantai_f22f01340f0).</description>
    <link>https://dev.to/manoir_yantai_f22f01340f0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3919013%2F78e8493f-03d4-43ef-8f84-dadb8a6668c0.png</url>
      <title>DEV Community: Manoir Yantai</title>
      <link>https://dev.to/manoir_yantai_f22f01340f0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manoir_yantai_f22f01340f0"/>
    <language>en</language>
    <item>
      <title>The MCP protocol explained simply</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Thu, 18 Jun 2026 22:01:04 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/the-mcp-protocol-explained-simply-2m07</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/the-mcp-protocol-explained-simply-2m07</guid>
      <description>&lt;h1&gt;
  
  
  The MCP protocol explained simply
&lt;/h1&gt;

&lt;p&gt;Model Context Protocol lets AI agents use real tools like databases, search engines, and social media APIs.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>Stop Your AI Agent Forgetting Everything Between Sessions</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Thu, 18 Jun 2026 02:01:06 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-1ne0</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-1ne0</guid>
      <description>&lt;h2&gt;
  
  
  Stop Your AI Agent Forgetting Everything Between Sessions
&lt;/h2&gt;

&lt;p&gt;You know that feeling when your AI assistant finally understands your project, your conventions, your preferences — and then you start a new session and it's like talking to a stranger?&lt;/p&gt;

&lt;p&gt;I built something: a memory sidecar that runs alongside any AI agent and persists context between sessions. Open source, MIT.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saves structured memories (facts, decisions, user preferences)&lt;/li&gt;
&lt;li&gt;Retrieves relevant context automatically&lt;/li&gt;
&lt;li&gt;Works with any agent framework&lt;/li&gt;
&lt;li&gt;Zero configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check it out: &lt;a href="https://github.com/mage0535/hermes-memory-installer" rel="noopener noreferrer"&gt;https://github.com/mage0535/hermes-memory-installer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Why I run my servers on autopilot</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Wed, 17 Jun 2026 22:01:45 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/why-i-run-my-servers-on-autopilot-p51</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/why-i-run-my-servers-on-autopilot-p51</guid>
      <description>&lt;h1&gt;
  
  
  Why I run my servers on autopilot
&lt;/h1&gt;

&lt;p&gt;Systemd + cron + Hermes = zero-touch server operations. My servers haven't needed human attention in weeks.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>The MCP protocol explained simply</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Tue, 16 Jun 2026 22:01:35 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/the-mcp-protocol-explained-simply-448k</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/the-mcp-protocol-explained-simply-448k</guid>
      <description>&lt;h1&gt;
  
  
  The MCP protocol explained simply
&lt;/h1&gt;

&lt;p&gt;Model Context Protocol lets AI agents use real tools like databases, search engines, and social media APIs.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>Give Your AI Agent Persistent Memory with a Sidecar Architecture</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Tue, 16 Jun 2026 02:02:48 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/give-your-ai-agent-persistent-memory-with-a-sidecar-architecture-4m59</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/give-your-ai-agent-persistent-memory-with-a-sidecar-architecture-4m59</guid>
      <description>&lt;p&gt;Ever restarted an AI agent session only to realize it forgot everything you discussed? That blank slate is a productivity killer when you're working on complex projects. I've tried various approaches—long system prompts, RAG pipelines, fine-tuning—but they either hit token limits, require heavy infrastructure, or force you to modify the agent's internals.&lt;/p&gt;

&lt;p&gt;That's why I built (and open-sourced) &lt;strong&gt;Memory Sidecar v3.1.1&lt;/strong&gt;. It's a separate process that runs alongside your agent—Hermes, Claude Code, Cursor, Codex, whatever—and gives it a real memory without touching a single line of agent code.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;Instead of patching the agent, Memory Sidecar uses a sidecar pattern. The agent writes session data to a shared data directory; the sidecar consumes it, processes it, and injects relevant context back into the agent's system prompt on subsequent runs. It's designed for production use where you need continuity without redesigning your agent architecture.&lt;/p&gt;

&lt;p&gt;The retrieval system is layered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hot Layer&lt;/strong&gt;: a simple memory tool with a 5KB cap, providing instant recall of recent context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm Layer&lt;/strong&gt;: Hindsight PostgreSQL for mid-term memory that survives restarts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cold Layer&lt;/strong&gt;: a knowledge graph (gbrain) combined with FTS5 full-text search for long-term knowledge and topic tracking.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tiered approach means the agent always gets the right amount of context—recent conversations are fast, important topics are remembered indefinitely, and nothing is lost when you close the terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's New in v3.1.1
&lt;/h2&gt;

&lt;p&gt;The latest release adds two features that make it more robust for continuous operation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Memory Watermark Detection&lt;/strong&gt; (&lt;code&gt;memory_watermark.py&lt;/code&gt;) – automatically monitors memory usage and archives old sessions before you hit limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Periodic Snapshot Backups&lt;/strong&gt; (&lt;code&gt;memory_snapshot_backup.py&lt;/code&gt;) – creates scheduled snapshots so you never lose your agent's memory state.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Plus, the onboarding guide (&lt;code&gt;HERMES_ONBOARDING.md&lt;/code&gt;) now includes a complete tool list for integrating your own agents, and all tokens have been moved to environment variables—no more hardcoded secrets.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;Clone the repo, run the installer, and point it at your agent's session directory. That's it. The sidecar handles the rest. It's written in Python 3.9+ and licensed under MIT, so you can drop it into any project without friction.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/mage0535/hermes-memory-installer.git
&lt;span class="nb"&gt;cd &lt;/span&gt;hermes-memory-installer
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;span class="c"&gt;# Configure your agent path in config.yaml&lt;/span&gt;
python memory-sidecar.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I've been using this setup for months with multiple agents, and it's handled everything from long-running code reviews to multi-day research sessions. The architecture doc in the repo explains the full design if you want to dive deeper.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Not Just Use a Vector DB?
&lt;/h2&gt;

&lt;p&gt;Vector databases are great for similarity search, but they don't capture structure—relationships between entities, event ordering, or which facts are outdated. Memory Sidecar's knowledge graph preserves these connections, and the layered retrieval means you're not hammering a vector index for every trivial lookup.&lt;/p&gt;

&lt;p&gt;It's also deliberately stateless on the agent side. You can swap agents, run experiments, or restart without losing context. That flexibility has saved me hours of debugging "where did that conversation go?"&lt;/p&gt;

&lt;p&gt;Check it out on GitHub: &lt;a href="https://github.com/mage0535/hermes-memory-installer" rel="noopener noreferrer"&gt;Memory Sidecar v3.1.1&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Open source projects need marketing too</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Mon, 15 Jun 2026 22:01:39 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/open-source-projects-need-marketing-too-3kpi</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/open-source-projects-need-marketing-too-3kpi</guid>
      <description>&lt;h1&gt;
  
  
  Open source projects need marketing too
&lt;/h1&gt;

&lt;p&gt;Great code isn't enough. You need README, demos, social presence, and consistent publishing.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>5 lessons from running AI agents 24/7</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Sun, 14 Jun 2026 22:01:32 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/5-lessons-from-running-ai-agents-247-2cgk</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/5-lessons-from-running-ai-agents-247-2cgk</guid>
      <description>&lt;h1&gt;
  
  
  5 lessons from running AI agents 24/7
&lt;/h1&gt;

&lt;p&gt;They hallucinate less with better prompts. They need fallbacks. They're not autonomous but they're close.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>Vector search vs keyword search</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Sun, 14 Jun 2026 12:21:02 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/vector-search-vs-keyword-search-1l6l</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/vector-search-vs-keyword-search-1l6l</guid>
      <description>&lt;h1&gt;
  
  
  Vector search vs keyword search
&lt;/h1&gt;

&lt;p&gt;Keyword search finds text. Vector search finds meaning. Both have their place in AI systems.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>AI Agent vs API: What's the difference?</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Sun, 14 Jun 2026 12:07:02 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/ai-agent-vs-api-whats-the-difference-4fk7</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/ai-agent-vs-api-whats-the-difference-4fk7</guid>
      <description>&lt;h1&gt;
  
  
  AI Agent vs API: What's the difference?
&lt;/h1&gt;

&lt;p&gt;An AI Agent thinks and acts. An API just responds. One is a worker, the other is a tool. Know the difference.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>Stop Your AI Agent Forgetting Everything Between Sessions</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Sat, 13 Jun 2026 02:03:27 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-13ma</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-13ma</guid>
      <description>&lt;h2&gt;
  
  
  Stop Your AI Agent Forgetting Everything Between Sessions
&lt;/h2&gt;

&lt;p&gt;You know that feeling when your AI assistant finally understands your project, your conventions, your preferences — and then you start a new session and it's like talking to a stranger?&lt;/p&gt;

&lt;p&gt;I built something: a memory sidecar that runs alongside any AI agent and persists context between sessions. Open source, MIT.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saves structured memories (facts, decisions, user preferences)&lt;/li&gt;
&lt;li&gt;Retrieves relevant context automatically&lt;/li&gt;
&lt;li&gt;Works with any agent framework&lt;/li&gt;
&lt;li&gt;Zero configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check it out: &lt;a href="https://github.com/mage0535/hermes-memory-installer" rel="noopener noreferrer"&gt;https://github.com/mage0535/hermes-memory-installer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Production Memory for AI Agents: Give Your Agent Persistent Context Without Patching Its Internals</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Fri, 12 Jun 2026 15:46:15 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/production-memory-for-ai-agents-give-your-agent-persistent-context-without-patching-its-internals-cm9</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/production-memory-for-ai-agents-give-your-agent-persistent-context-without-patching-its-internals-cm9</guid>
      <description>&lt;p&gt;Every time I restart my AI coding agent, it feels like onboarding a new junior developer. It doesn't remember the project architecture, the ongoing bugs, or the decisions we made last week. I tried prompt engineering, fine-tuning, and custom plugins — none gave me a persistent, structured memory that crosses sessions.&lt;/p&gt;

&lt;p&gt;Most memory solutions require deep integration with the agent's internals. You patch the agent itself, which ties you to a specific platform and breaks on updates. Or you rely on naive chat history dumping, which doesn't scale. I wanted something that works with any agent — Hermes, Claude Code, Cursor, Codex — without modifying the agent. A separate process that archives sessions, builds knowledge, and injects relevant context when needed. That's how Memory Sidecar was born.&lt;/p&gt;

&lt;p&gt;Memory Sidecar runs alongside your agent as a sidecar: separate process, shared data directory. It doesn't patch anything. The architecture uses three layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hot Layer&lt;/strong&gt; – recent context (∼5KB cap), fast access for what happened in the last few turns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm Layer&lt;/strong&gt; – a PostgreSQL-based hindsight service that analyzes sessions and extracts structured memories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cold Layer&lt;/strong&gt; – a knowledge graph (gbrain) with FTS5 search, storing long-term knowledge about people, projects, and recurring problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the agent starts a new session, the sidecar injects tiered context into the system prompt. It pulls from all three layers, prioritizing recency and relevance. The agent gets a compressed but rich summary of what's worth remembering.&lt;/p&gt;

&lt;p&gt;The latest release (v3.1.1) adds several production‑ready features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;memory_watermark.py&lt;/code&gt; — automatically detects when memory usage crosses a threshold and archives old data, so you don't blow past context limits.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;memory_snapshot_backup.py&lt;/code&gt; — periodic, configurable backups of the memory state.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;hindsight-service.py&lt;/code&gt; — simplified standalone daemon for the warm layer, no complex orchestration needed.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;session_to_gbrain.py&lt;/code&gt; — now reads tokens from environment variables (no more hardcoded configs).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;HERMES_ONBOARDING.md&lt;/code&gt; — a complete integration guide for connecting any agent, with full tool listings and examples.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;When to use it:&lt;/strong&gt; This setup shines for agents that work on long‑running projects, need to remember user preferences, or handle complex debugging across sessions. If you're tired of repeating yourself every time you restart your agent, this gives you a real, persistent memory layer that works out of the box.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When not to use it:&lt;/strong&gt; It's not for real‑time memory within a single session — that's handled by the agent's built‑in context window. Nor is it a replacement for fine‑tuning; it's a caching and retrieval layer, not a model update.&lt;/p&gt;

&lt;p&gt;I've been running this for a few weeks, and the difference is night and day. My agent now remembers the project's exception patterns, the API keys we use, and the preferences I set three sessions ago. No more repeating context. No more mental overhead of re-explaining everything.&lt;/p&gt;

&lt;p&gt;The project is open source (MIT) and you can find it here: &lt;a href="https://github.com/mage0535/hermes-memory-installer" rel="noopener noreferrer"&gt;Memory Sidecar on GitHub&lt;/a&gt;. If you're building agents that need to work across sessions, give it a try — I think you'll find it just works.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Stop Your AI Agent Forgetting Everything Between Sessions</title>
      <dc:creator>Manoir Yantai</dc:creator>
      <pubDate>Fri, 12 Jun 2026 15:40:19 +0000</pubDate>
      <link>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-3d27</link>
      <guid>https://dev.to/manoir_yantai_f22f01340f0/stop-your-ai-agent-forgetting-everything-between-sessions-3d27</guid>
      <description>&lt;h2&gt;
  
  
  Stop Your AI Agent Forgetting Everything Between Sessions
&lt;/h2&gt;

&lt;p&gt;You know that feeling when your AI assistant finally understands your project, your conventions, your preferences — and then you start a new session and it's like talking to a stranger?&lt;/p&gt;

&lt;p&gt;I built something: a memory sidecar that runs alongside any AI agent and persists context between sessions. Open source, MIT.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saves structured memories (facts, decisions, user preferences)&lt;/li&gt;
&lt;li&gt;Retrieves relevant context automatically&lt;/li&gt;
&lt;li&gt;Works with any agent framework&lt;/li&gt;
&lt;li&gt;Zero configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check it out: &lt;a href="https://github.com/mage0535/hermes-memory-installer" rel="noopener noreferrer"&gt;https://github.com/mage0535/hermes-memory-installer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
