Search & RAG posts

GraphRAG Assisted Ideation with a YouTube Knowledge Graph

I've been building a system that helps creators generate better video ideas using a combination of Retrieval-Augmented Generation (RAG) with PostgreSQL's pg_vector and a Neo4j knowledge graph.

What Is Not Evidence: Seven Times My Agent Loop Was Confidently Wrong

For 264 ticks my production monitor wrote an empty health map and no warning. My agent loop now keeps a written list of things that are not evidence of done, and every entry on it is an incident where a check returned a plausible answer, usually a zero or a green, instead of an error.

Agentic RAG: Routing Queries to Specialized Agents for Better Information Retrieval

Exploring the architecture of agentic Retrieval-Augmented Generation systems that route queries to specialized agents, each optimized for different types of information needs.

Hybrid Search: Combining Lexical and Semantic Retrieval for Better Search Results

An educational overview of hybrid search architecture combining BM25, dense vectors, neural reranking, and diversity optimization—exploring the concepts and trade-offs behind modern information retrieval systems.

Handing a Half-Finished Job From My Session to a Headless Agent

An interactive session and a scheduled agent share one subscription and one repo. When the session hits its limit mid-ship, a queued resume job must start exactly once, only after the session stops, and know what was done. The mechanism is a lease, a ledger, and a prompt that re-enqueues itself.

Building Data Pipelines for Search: From Raw Content to Vector-Ready Indices

Exploring the principles and patterns for building robust data processing pipelines that transform raw content into semantically-enriched search indices with embeddings and metadata enrichment.

Building Intelligent Memory Systems for Multi-Agent AI Architectures

Exploring the design and implementation of sophisticated memory systems for agentic AI, including discrete memory records, semantic intent understanding, and graph-based relationship modeling.

A Scheduler That Only Runs Coding Agents With Headroom to Spare

My autonomous loop shares a Claude subscription with the human who owns it. The scheduler ticks every 20 minutes and decides whether an agent run fits in the current usage windows. It broke once by reading the wrong rate-limit snapshot: 0% at 93%. Here is the policy, the math, and the bug.