<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jeremiah Ojo on Medium]]></title>
        <description><![CDATA[Stories by Jeremiah Ojo on Medium]]></description>
        <link>https://medium.com/@jeremiah.ojo?source=rss-8315353e0994------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*s3UJ9TjgMYDLlMp6Znlr4Q@2x.jpeg</url>
            <title>Stories by Jeremiah Ojo on Medium</title>
            <link>https://medium.com/@jeremiah.ojo?source=rss-8315353e0994------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:20:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeremiah.ojo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Technology’s Impact on the Cybersecurity Profession]]></title>
            <link>https://medium.com/@jeremiah.ojo/technologys-impact-on-the-cybersecurity-profession-cfda0fe5f373?source=rss-8315353e0994------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfda0fe5f373</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jeremiah Ojo]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 00:07:04 GMT</pubDate>
            <atom:updated>2026-03-05T00:07:04.482Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ISXMkTP7MrzLauK1.jpeg" /></figure><p>The cybersecurity landscape evolves faster than any other field in technology, with new threats emerging daily and defensive strategies constantly adapting to meet them. As organizations worldwide face increasing attacks ranging from ransomware to AI-powered phishing, the demand for skilled cybersecurity professionals has never been higher. Technology has revolutionized the cybersecurity profession by expanding required skill sets beyond pure technical expertise, transforming the role into a deeply collaborative discipline, and demanding continuous adaptation from everyone who works in the field.</p><p>Modern cybersecurity positions require command of technical skills that did not exist even a decade ago. Cloud security, Internet of Things (IoT) protection, AI-driven threat detection, and DevSecOps integration have become standard expectations. Sachs et al. (2018) argue that “cybersecurity professionals must understand not only the technical aspects of their field but also possess an in-depth knowledge of human interactions” (Defining the Cyber Domain section, para. 3). This observation highlights how technology has widened the definition of technical competence itself: attackers increasingly exploit human behavior, so defenders must understand psychology alongside programming. For someone with a working background in cybersecurity, this expanding scope is energizing every new technology and presents both a new challenge and a new opportunity to grow.</p><p>Technology has also transformed cybersecurity from a solitary technical function into a team-oriented, communication-intensive profession. Modern Security Operations Centers (SOCs) operate around the clock, bringing together specialists in incident response, threat intelligence, forensics, and compliance. When a breach occurs, a cybersecurity analyst must simultaneously investigate the attack, brief executive leadership, coordinate with legal counsel, and communicate with affected stakeholders, all in real time. Sachs et al. (2018) identify the ability to work effectively within cross-functional teams as one of six core attributes required of the future cyber workforce. This shift means that professionals who pair technical skills with strong communication and emotional intelligence hold a significant career advantage.</p><p>The most lasting impact of technology on cybersecurity careers is the premium it places on adaptability. Artificial intelligence serves as a clear example: the same technology that powers automated threat detection also enables AI-generated phishing attacks and deep-fake social engineering, creating an arms race that shows no sign of slowing. Sachs et al. (2018) note that successful cybersecurity professionals are distinguished by a genuine love for continued learning and the willingness to update their mental models and skills as the threat landscape shifts. In this environment, treating education as a career-long commitment rather than a one-time credential is not optional; it is the defining trait of professionals who last.</p><p>Technology has fundamentally redefined what it means to work in cybersecurity, transforming it from a narrow technical discipline into a multi-career requiring expanded knowledge, collaborative intelligence, and relentless adaptability. The research by Sachs et al. (2018) confirms what practitioners experience daily: technical mastery alone is no longer sufficient. As threats grow more sophisticated and the pace of technological change accelerates, those who embrace the complexity of this field and commit to continuous learning will remain at the forefront of one of the most important and rewarding professions of the twenty-first century.</p><p><strong>Reference</strong></p><p>Sachs, S., Siegal, M., Adams, T., Peele, J., &amp; Green, G. (2018). The future cybersecurity workforce: Going beyond technical skills for successful cyber performance. <em>Frontiers in Psychology</em>, 9, Article 744. <a href="https://doi.org/10.3389/fpsyg.2018.00744">https://doi.org/10.3389/fpsyg.2018.00744</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfda0fe5f373" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A practical guide to building persistent, self-linking memory for LLM agents using open-source…]]></title>
            <link>https://medium.com/@jeremiah.ojo/a-practical-guide-to-building-persistent-self-linking-memory-for-llm-agents-using-open-source-8e8fb1710172?source=rss-8315353e0994------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e8fb1710172</guid>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[memory-improvement]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Jeremiah Ojo]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 00:46:58 GMT</pubDate>
            <atom:updated>2026-02-17T00:46:58.603Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6IdJhqFywtRi3affSChew.png" /></figure><h3><em>A practical guide to building persistent, self-linking memory for LLM agents using open-source tools and zero additional cost</em></h3><h3>TL;DR</h3><p>LLMs are stateless. Every new session = amnesia. <strong>I built a 7-layer memory architecture</strong> for a multi-agent AI system that gives each agent persistent, searchable, self-linking memory across sessions — <strong>at zero additional infrastructure cost.</strong> Here’s exactly how, with code you can adapt.</p><h3>The Problem: AI Amnesia Is Real</h3><p>If you’ve worked with LLM-based agents (ChatGPT, Claude, custom builds), you’ve hit this wall: every new conversation starts from scratch. Your agent doesn’t remember what you discussed yesterday, what decisions were made, or what it learned last week.</p><p>This isn’t a bug, it’s architecture. LLMs are fundamentally stateless. They process the current context window and produce output. There is no persistent state, no long-term memory, no continuity between sessions.</p><p>For casual chatbot use, this is fine. For production agent systems where agents manage infrastructure, conduct security assessments, or coordinate with other agents it’s a dealbreaker.</p><h3>What Research Says (Feb 2026)</h3><p>Before building anything, I surveyed the state of the art. The field of LLM memory is exploding — here’s what’s out there:</p><p><strong>Approach</strong></p><p><strong>Core Idea</strong></p><p><strong>Strengths</strong></p><p><strong>Weaknesses</strong></p><p><strong>MemGPT/Letta</strong></p><p>Treat context as RAM, external DB as disk. Agent pages memory in/out.</p><p>Elegant infinite-context illusion</p><p>Memory management consumes reasoning tokens</p><p><strong>A-MEM (NeurIPS 2025)</strong></p><p>Zettelkasten-style linked notes. Memories connect and evolve.</p><p>Self-organizing knowledge network</p><p>Expensive per-memory (multiple LLM calls)</p><p><strong>SimpleMem (Jan 2026)</strong></p><p>Semantic lossless compression + intent-aware retrieval.</p><p>Token-efficient, beats Claude-Mem by 64%</p><p>Newer, less battle-tested</p><p><strong>Mem0</strong></p><p>Universal memory layer with auto-filtering and decay.</p><p>Production-ready, 90% token savings</p><p>Defaults to OpenAI, needs config for alternatives</p><p><strong>Vendor Native</strong></p><p>OpenAI/Claude built-in memory.</p><p>Zero setup</p><p>Vendor-locked, no customization</p><p><strong>The key insight</strong>: no single approach solves everything. The best architecture is a layered one, multiple memory mechanisms working together, each covering different failure modes.</p><h3>The 7-Layer Memory Architecture</h3><p>Here’s what I built, from lowest to highest level. Each layer catches what the layers above might miss.</p><h3>Layer 1: Semantic Memory Search (OpenClaw Built-in)</h3><p>OpenClaw has a built-in memory system that indexes workspace Markdown files into a vector database with hybrid BM25 + semantic search. The catch? Mine was broken for weeks because the NVIDIA embedding model required an input_type parameter that wasn’t being passed.</p><p><strong>The fix: </strong>Switched from nvidia/nv-embedqa-e5-v5 to baai/bge-m3 — same NVIDIA NIM free tier, same 1024 dimensions, no special parameters needed. One config change, all 5 agents immediately indexed: 58 files, 296 chunks, fully searchable.</p><p><strong>Cost: $0 </strong>(NVIDIA NIM free tier, 10K calls/month)</p><h3>Layer 2: Session Transcript Indexing</h3><p>Even with workspace files indexed, conversations themselves were invisible. If I had a 2-hour session and forgot to write notes, that knowledge vanished.</p><p><strong>The fix: </strong>Enabled OpenClaw’s experimental sessionMemory feature. It auto-exports session transcripts to disk and indexes them with the same vector search engine. Every conversation becomes searchable, even ones nobody wrote notes about.</p><p>Triggers every 25 messages or 50KB of new content. Fully automatic, zero effort.</p><h3><strong>Layer 3: A-MEM Style Memory Linking (Zettelkasten)</strong></h3><p>This is where it gets interesting. Inspired by the A-MEM paper (NeurIPS 2025) and the Zettelkasten method, I built a memory engine where every new memory automatically finds related existing memories and creates bidirectional links.</p><p>How it works:</p><p>1. New memory arrives (e.g., “XMLRPC vulnerability found on target.com”)</p><p>2. System embeds it using NVIDIA NIM (free)</p><p>3. Cosine similarity computed against all existing memories</p><p>4. Memories with similarity &gt; 0.5 get bidirectional links</p><p>5. Top 5 most related memories linked, with similarity scores</p><p>6. Existing memories update their link lists (memory evolution)</p><p><strong>Result: </strong>After ingesting one agent’s knowledge base: 122 memories, 750 links, 6.1 average connections per memory. Knowledge forms a web, not a flat list. When I search “Supabase security,” I get 10 linked results spanning findings, decisions, events, and facts, all connected.</p><h3>Layer 4: Cross-Agent Memory Graph</h3><p>With 5 agents running different domains (offensive security, development, DevOps, mentoring, infrastructure), cross-pollination matters. A vulnerability finding should inform the developer. An infrastructure change should be visible to the security auditor.</p><p><strong>The fix: </strong>The memory engine stores agent identity with each memory. The search-all command queries across all agents simultaneously. Links form across agent boundaries, 18 cross-agent links formed automatically from the initial knowledge base.</p><h3>Layer 5: Structured Fact Extraction</h3><p>Raw conversation text is messy. “We decided to use port 443 and also the Supabase thing needs fixing” contains two facts, one decision, and one task. Humans can parse this; flat text search can’t.</p><p><strong>The fix: </strong>Feed raw text through Anthropic Haiku (cheapest Claude model) with a structured extraction prompt. Output: discrete atomic facts, each with category (fact/finding/decision/event/task/insight/preference), importance score (0–1), and keyword tags. These structured facts then flow into the A-MEM linking system.</p><p><strong>Example: </strong>One paragraph about a security engagement → 8 discrete facts extracted, categorized, tagged, and linked. “XMLRPC brute-force vulnerability” links at 86.4% similarity to the original finding. “6 high severity threats” links at 87.3% to “2 critical severity threats.”</p><h3>Layer 6: Context Auto-Rebuild</h3><p>A CONTEXT.md file serves as the “executive summary” injected at session start. A Node.js script runs every heartbeat cycle (every 5 minutes), reading the last 3 days of memory files and generating a fresh summary. Every new session starts with current state, not stale data.</p><h3>Layer 7: Aggressive Pre-Compaction Memory Flush</h3><p>When a session’s context window fills up, OpenClaw compacts it, essentially summarizing and dropping older context. Before this happens, a “memory flush” fires: a system prompt that demands the agent write all important context to persistent files immediately.</p><p>I rewrote these prompts from generic (“write notes if needed”) to aggressive (“You MUST store ALL important facts, decisions, user preferences, task status, and conversation highlights NOW. Include specific details, not vague summaries. This is your last chance before context is lost.”).</p><h3>Results</h3><p><strong>Metric</strong></p><p><strong>Value</strong></p><p><strong>Workspace files indexed</strong></p><p>58 files / 296 chunks across 5 agents</p><p><strong>Memory graph entries</strong></p><p>158 memories (2 agents ingested)</p><p><strong>Automatic links</strong></p><p>1,038 bidirectional connections</p><p><strong>Avg links per memory</strong></p><p>6.6</p><p><strong>Cross-agent links</strong></p><p>242</p><p><strong>Fact categories</strong></p><p>7 (fact, finding, decision, event, insight, preference, task)</p><p><strong>Additional cost</strong></p><p><strong>$0 (NVIDIA NIM free tier + existing Anthropic subscription)</strong></p><p><strong>Before: </strong>Agent wakes up blind every session. 5-day-old context files. No semantic search. No memory of conversations. No connection between related knowledge.</p><p><strong>After: </strong>Agent wakes up with fresh context, can semantically search all workspace files and past conversations, has a self-organizing knowledge graph with 750 links, and aggressively preserves context before compaction. Cross-agent knowledge sharing works out of the box.</p><h3>Key Implementation Details</h3><h3>Embedding Model Selection</h3><p>I tested multiple NVIDIA NIM embedding models. nvidia/nv-embedqa-e5-v5 is excellent but requires an input_type parameter that many OpenAI-compatible clients don’t pass. baai/bge-m3 delivers the same 1024-dimension embeddings without special parameters. Both are free on NVIDIA’s cloud tier (10K calls/month).</p><h3>Local vs Cloud Trade-offs</h3><p>I tested Mem0 with a self-hosted Ollama instance (CPU-only ARM server). Result: ~5 minutes per memory add. Completely impractical for real-time use. Cloud embeddings (NVIDIA NIM) return in milliseconds. For the LLM extraction step, Anthropic Haiku via API is fast and cheap. Don’t over-invest in self-hosting when free cloud tiers exist.</p><h3>Similarity Threshold Tuning</h3><p>Started with 0.6 threshold for automatic linking. Too high related memories about the same infrastructure topic were scoring 0.55–0.59 and missing links. Lowered to 0.5. The sweet spot depends on your domain, security findings cluster tighter than general knowledge.</p><h3>Memory Evolution</h3><p>A-MEM’s key insight: memories aren’t static. When a new memory links to an existing one, the existing memory’s updated_at timestamp changes. This enables future features like “show me memories that have been reinforced multiple times” or “find isolated memories that might be outdated.”</p><h3>Memory Decay: Forgetting Is a Feature</h3><p>Human memory fades. So should AI memory. Without decay, you get bloat, thousands of low-value facts clogging search results and burning context tokens. The solution: a strength-based decay system inspired by Ebbinghaus’s forgetting curve.</p><h3>The Strength Formula</h3><p>Every memory has a calculated strength from 0.0 (dead) to 1.0 (strong), based on:</p><p>· Base importance (from extraction: 0.0 to 1.0)</p><p>· Age decay: exponential with 30-day half-life (memory loses half its age-strength monthly)</p><p>· Link reinforcement: each connection adds +0.05 strength (max +0.3 bonus)</p><p>· Access recency: recently accessed memories resist decay</p><p>· Category weight: decisions (1.3x) and preferences (1.4x) are stickier than raw facts</p><h3>The Decay Cycle</h3><p>Run periodically (daily or weekly). Memories below 0.15 strength get archived (soft delete, moved to a separate file, recoverable). Below 0.05 get hard deleted. Dead links pointing to removed memories are cleaned up automatically.</p><p><strong>The reinforce command: </strong>When a memory proves useful (gets accessed, referenced in a new finding, or manually validated), you boost it. This mimics spaced repetition, useful memories survive, trivia fades.<br>Graph Queries: Thinking in Networks</p><p>With 158 memories and 1,038 links, the knowledge graph is rich enough for structural queries that flat search can’t do.</p><h3>Multi-Hop Traversal</h3><p>Start from any memory and walk N hops through the link graph. Example: starting from “XMLRPC vulnerability on aegisbiomedical.org” with 2 hops:</p><p>· Hop 0: The XMLRPC finding itself</p><p>· Hop 1: 8 related findings (no rate limiting, exposed login, WordPress CMS, risk rating, threat counts)</p><p>· Hop 2: 7 more memories (ALMA red team analysis, credential audit, ecosystem research) including cross-agent links to an agent&#39;s knowledge</p><p>16 memories reached in 2 hops from a single finding. This is associative reasoning, the graph surfaces connections a keyword search would miss entirely.</p><h3>Cluster Detection</h3><p>Connected component analysis finds natural groupings. Our graph has one massive cluster of 156 memories (the core knowledge base) and 2 orphans. Theme detection via tag frequency analysis tells you what each cluster is about.</p><h3>Path Finding</h3><p>BFS shortest path between any two memories. “How is the NVIDIA NIM rate limit connected to the [website] recon?” the path shows the conceptual chain.</p><h3>Orphan Detection</h3><p>Memories with zero links are isolated — either too unique to match anything, or candidates for pruning.</p><h4><strong>Additional:</strong></h4><p><strong>Auto-ingest on session end: </strong>Automatically extract and store facts when a conversation ends, not just on compaction.</p><p><strong>Memory-informed prompting: </strong>At session start, query the memory graph for context relevant to the incoming message, not just inject everything.</p><p><strong>Conflict resolution: </strong>When new facts contradict existing memories, detect and resolve (A-MEM calls this “memory evolution”).</p><p><strong>Decay scheduling: </strong>Automated weekly decay runs via cron, with health reports.</p><h3>Bottom Line</h3><p>LLM amnesia is a solved problem — not by one silver bullet, but by layered defense-in-depth (fittingly, a security concept). Each layer catches what others miss. The result: agents that actually remember, learn, and build on past knowledge.</p><p><em>“Defenders think in terms of what they built. Attackers think in terms of what you forgot.”</em></p><p>The irony? Fixing my AI’s memory was about making sure it never forgets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e8fb1710172" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>