Ralph Loops Are Not About Throwing Away Context
A developer known as Geoffrey Huntley introduced the Ralph loop, a Bash loop pattern for running coding agents indefinitely by resetting the context window each iteration and storing state on the file…
A developer known as Geoffrey Huntley introduced the Ralph loop, a Bash loop pattern for running coding agents indefinitely by resetting the context window each iteration and storing state on the file…
Developer Cole Hellman built a personal MCP server called Codicil that indexes documentation for AI coding assistants. When the embedding service went down for two weeks, Hellman didn't notice because…
Chroma's July 2025 study of 18 frontier models found that performance degrades as input length grows, even before hitting hard context limits, and that models perform better on shuffled documents than…
A developer compiled a practical field guide to failure modes in LLM and agent systems, drawing on recent research from Anthropic, Cognition, Meta AI, and others. The guide covers model-level, agent-l…
A developer building an AI chapter generator realized they didn't need vector embeddings or a RAG pipeline after all. The project required processing a full transcript in order, not retrieving relevan…
A developer built a Retrieval-Augmented Generation (RAG) system from scratch using Python, LangChain, Ollama, and Chroma, demonstrating how to combine retrieval and generation for enterprise AI assist…
An educational lab demonstrating various AI agent architectures built on LangChain and a local Ollama server has been released. The project includes multiple runnable CLI variants for studying chat wi…
Version 0.0.2 of Knowledge-and-Memory-Management introduces portable path support via the $AGENT_HOME environment variable and streamlined knowledge ingestion from web, video, and articles. The system…
Attribute Knowledge RAG (AK-RAG) prevents large language models from inventing nonexistent fields by indexing governed attribute catalogs instead of documents, forcing field selection through retrieva…
Anthropic's Claude Code can be used to build a personal AI second brain knowledge base that stores, organizes, and retrieves information using structured memory systems. The system ingests notes, docu…
A developer identified a structural cause for coding agents ignoring system-prompt rules mid-session: attention dilution as context grows. The rule becomes an old, low-weight token among thousands of …
Llmaker, an open-source platform for self-hosting a complete LLM stack including models, vector databases, embeddings, caching, observability, and an agent layer, launched on Hacker News. The platform…
A developer demonstrates how to integrate AI capabilities directly into PostgreSQL using the pgvector extension, enabling semantic search, natural language queries, and vector storage without a separa…
A developer warns that diagnostic error messages containing API keys can poison vector databases used by AI agents, leading to credential leaks via prompt injection. The developer proposes an active r…
A developer provides a decision tree and code examples to distinguish between RAG (Retrieval-Augmented Generation) and agentic AI architectures. RAG is recommended for answering questions from documen…
A wave of research shows that AI agents which manage their own context window using learned policies outperform those relying on fixed truncation rules. Approaches like AgentSwing and budget-aware rei…
A developer argues that most AI agents are overengineered, advocating for simpler workflows over complex multi-agent systems. The developer contends that many problems can be solved with deterministic…
LangChain and LangGraph solve different problems for enterprise AI agents, with LangChain optimized for linear LLM pipelines and LangGraph designed for stateful, branching workflows requiring persiste…
Retrieval-augmented generation (RAG) allows local LLMs to access external documents without consuming excessive memory, by retrieving only relevant chunks via a small embedding model and vector databa…
Parcle, a shared memory layer for AI agents, reduces token consumption by over 60% on agentic tasks by eliminating repeated context retrieval. The system indexes operational context and allows agents …