Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

RAG & retrieval Remove topic RAG & retrieval Clear all 86 posts RSS

November 2026

Hugging Face

An Indic Voice Agent with CUGA

Case study 7 min +70 XP

A voice-first farm assistant answers spoken questions in Hindi, Tamil and other Indic languages from a 154-page English agricultural handbook, using IBM's open-source CUGA harness as a text-in, text-out core wrapped by swappable speech-to-text and text-to-speech layers (Sarvam AI in the browser, or self-hosted SraVaani and Svara).

Inside an enterprise AI agent: A governed, observable loop architecture

Deep dive 20 min +200 XP

A reference architecture for enterprise AI agents on AWS organizes the system into five layers: an API gateway enforcing identity and policy, a five-phase agent runtime (Understand, Plan, Retrieve, Reason, Act and Observe), a knowledge and state tier, platform services for models and tools, and a cross-cutting trust and control framework.

October 2026

LangChain

How to build evidence-grounded agent memory with OpenWiki and Graphs

Research 8 min +80 XP

A compiled, source-linked wiki (OpenWiki) used as agent memory raised accuracy on cross-document questions from 0.10 to 0.52 versus keyword search alone on a synthetic 111-document insurance corpus scored against a 972-fact ledger, and cut cost per correct answer from about $0.55 to $0.19.

September 2026

Neon

Lakebase Search: the retrieval primitive for agents on Neon

Announcement 6 min +60 XP

Lakebase Search adds vector and BM25 search to Lakebase Postgres through two extensions, lakebase_vector and lakebase_text, so agents can query operational data without a separate search system. lakebase_vector keeps its durable index in object storage, caches hot pages in NVMe and RAM, and combines hierarchical IVF with RaBitQ quantization.

Meta Engineering

An Organizational Second Brain: Building an AI That Learns From Experts

Case study 13 min +130 XP

Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

August 2026

Hugging Face

How Much Memory Does Your Agent Actually Need?

Research 9 min +90 XP

The right amount of self-distilled agent memory depends on model capability: on AppWorld across eight models, strong models with headroom gain most from injecting the full guideline set (DeepSeek-V3.2 +9.5pp TGC, +16.1pp SGC), weaker models do best with a compact high-confidence core plus per-task retrieved guidelines (gpt-oss-120b +16.1pp TGC), and saturated models like GLM-5 show no gain.

July 2026

Neon

CommSync Runs Text, Vector, and Hybrid Search on Postgres with Lakebase Search

Case study 5 min +50 XP

CommSync, a unified SMS/email inbox, runs keyword, semantic and hybrid search entirely in Postgres using Neon's Lakebase Search extensions. lakebase_text provides BM25 search with top-K pushdown over tsvector, and lakebase_vector is a pgvector-compatible drop-in with an ANN index.

May 2026

April 2026

March 2026

February 2026

January 2026

December 2025

November 2025

October 2025

September 2025

August 2025

July 2025

June 2025

April 2025

March 2025

January 2025

December 2024

Building an LLM-Powered Slackbot

Case study 10 min +100 XP

Benchling built an internal Slackbot that answers Terraform Cloud questions using a RAG pipeline on Amazon Bedrock knowledge bases, with OpenSearch Serverless as the vector store, Titan Text Embeddings v2 for embedding and Claude 3.5 Sonnet v2 for generation.

November 2024

October 2024

September 2024

Neon

Easy Embeddings Indexing Pipelines with Redpanda and Neon

How-to 3 min +30 XP

An embeddings indexing pipeline can be built from configuration alone with Redpanda Connect: it consumes e-commerce invoice messages from a Redpanda Serverless topic over SASL/TLS, builds a text description of each order with Bloblang, computes embeddings locally via Ollama's nomic-embed-text model, and flattens items into separate messages before writing them to Neon Postgres with pgvector for natural-language search.

August 2024

July 2024

June 2024

Turso

SQLite Retrieval Augmented Generation and Vector Search

How-to 5 min +50 XP

Retrieval-augmented generation fixes stale or hallucinated LLM answers by retrieving relevant data, typically via embeddings and vector similarity search, and injecting it into the prompt. libSQL adds native vector search to SQLite: embeddings are stored in an F32_BLOB column (SQLite treats column types as hints), inserted with a vector() function, and queried with vector_distance_cos() plus ORDER BY/LIMIT for exact top-k results.

Docker

Build Your Own AI-Driven Code Analysis Chatbot for Developers with the GenAI Stack

How-to 10 min +100 XP

Code Explorer, a winning Docker AI/ML Hackathon project, is a RAG chatbot that answers questions about a local codebase by parsing source files, chunking them with LangChain's RecursiveCharacterTextSplitter (5000 characters with 500 overlap), and storing embeddings in a Neo4j vector store.

May 2024

April 2024

March 2024

Hugging Face

CPU Optimized Embeddings with 🤗 Optimum Intel and fastRAG

How-to 11 min +110 XP

Post-training static int8 quantization of BGE embedding models (small, base, large) with Optimum Intel, Intel Neural Compressor and IPEX gives up to 4.5x lower latency and up to 4x higher throughput on 4th-gen Xeon CPUs compared with a bf16 PyTorch baseline.

February 2024

ClickHouse

Building a Chatbot for Hacker News and Stack Overflow with LlamaIndex and ClickHouse

How-to 23 min +230 XP

HackBot is a chatbot that answers questions about developer opinions by combining text-to-SQL over the 2021 Stack Overflow survey with vector search over 28m embedded Hacker News comments, both stored in ClickHouse and orchestrated with LlamaIndex, OpenAI and Streamlit.

January 2024

December 2023

November 2023

October 2023

Hugging Face

Deploy Embedding Models with Hugging Face Inference Endpoints

How-to 5 min +50 XP

Open-source embedding models such as BAAI/bge-base-en-v1.5 can be deployed on Hugging Face Inference Endpoints using Text Embeddings Inference (TEI), which offers token-based dynamic batching, Flash Attention, Candle and cuBLASLt kernels, safetensors loading, small images for fast boot, and OpenTelemetry/Prometheus support.

August 2023

July 2023

May 2023

March 2023

February 2023

The quest for software engineering knowledge.

Look:
Layout: