Skip to content

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

Topics AI & ML

RAG & retrieval

Retrieval-augmented generation, chunking, embeddings for retrieval.

Search within RAG & retrieval, or combine it with other topics →

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.

Weighted State Souping for Efficient Long-Context Retrieval

Research 1 min +10 XP

Weighted state souping learns query-dependent weights for combining independently encoded, cached SSM states for chunks like documents, tool definitions or memory records, fixing the degradation that plain state souping and vanilla SSMs show on long, crowded contexts.

Faster Retrieval for Better, More Efficient RAG

Research 12 min +120 XP

Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.

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.

Hugging Face

NeoMME: an efficient Multimodal-native and Multilingual Encoder

Research 11 min +110 XP

NeoMME is a family of 260M and 800M multilingual multimodal encoders that feed text tokens and raw 32×32 image patches through a single bidirectional Transformer, trained from scratch with a masked discrete-diffusion text objective instead of reusing a vision tower or causal LM.

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.

June 2026

May 2026

April 2026

March 2026

Google Research

Testing LLMs on superconductivity research questions

Research 7 min +70 XP

An expert panel of physicists tested six LLMs (GPT-4o, Perplexity, Claude 3.5, Gemini Advanced Pro 1.5, NotebookLM and a custom RAG system) on 67 expert-written questions about high-temperature cuprate superconductivity, grading masked answers 0-2 on balance, comprehensiveness, conciseness, evidence and image relevance.

February 2026

January 2026

December 2025

November 2025

October 2025

September 2025

August 2025

July 2025

June 2025

May 2025

April 2025

March 2025

February 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

Hugging Face

Banque des Territoires (CDC Group) x Polyconseil x Hugging Face: Enhancing a Major French Environmental Program with a Sovereign Data Solution

Case study 17 min +170 XP

Banque des Territoires, Polyconseil and Hugging Face built a sovereign RAG application that drafts sourced email replies for the EduRénov school-renovation program from its internal documentation.

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

The quest for software engineering knowledge.

Look:
Layout: