Conceptual checklist for similarity cutoffs: Constraint query, then Similarity score, then Threshold decision. Check whether a cutoff hides a required constraint.

Agent Memory Cutoffs Can Hide Constraints: Test Before You Tune

Your memory pipeline ends with a score gate: keep rows at or above 0.7 cosine similarity, drop the rest. You tuned that number on topical questions and it looked fine. Then someone asks “May I deploy to production on Friday?” and the agent retrieves nothing — not the wrong thing, nothing — because the one stored sentence that should have stopped the deploy scored 0.660. That is the measurement in this article, scoped to what was actually run. On a 12-fact synthetic fixture with two local Ollama embedders, the prohibition “Deployment to production on Fridays is prohibited for all teams.” scored 0.660 against “May I deploy to production on Friday?” under all-minilm:latest. The two descriptive facts in the same fixture scored 0.764 and 0.773 for their own questions. A 0.7 gate therefore keeps the descriptions and deletes the rule, and the ordering reverses on the second embedder — the same prohibition scores 0.949 under snowflake-arctic-embed:33m. The safe cutoff is a property of the encoder, not of your application. ...

November 14, 2026 · 11 min · baeseokjae
Captain (YC W26) Review 2026: Automated RAG for Files

Captain (YC W26) Review 2026: Automated RAG for Files Explained

Captain is an API-first, self-tuning file search and fully-managed RAG retrieval platform from the Y Combinator W26 batch, founded by Lewis Lien Polansky (CEO) and Edgar Babajanyan. It indexes cloud storage (S3, R2, GCS, Supabase, Backblaze) and SaaS sources like Google Drive into one queryable index, exposing a single query API designed for AI agents rather than end-user knowledge apps. This 2026 review breaks down what Captain actually does, its five-layer architecture, real pricing based on the published rate card, how it compares to DIY RAG and rivals like Vertex File Search and Glean, the Ragie shutdown signal, and whether it is worth adopting for production teams in 2026. ...

September 2, 2026 · 9 min · baeseokjae
Knowledge inbox for AI agents and Obsidian

Knowledge Inbox for AI Agents and Obsidian: The Local-First Way to Capture Everything (2026 Guide)

A knowledge inbox for AI agents and Obsidian is a local-first ingestion pipeline that turns raw inputs — links, PDFs, videos, screenshots, and plain text — into structured Markdown knowledge cards inside your own vault. Instead of dumping every snippet into cloud read-it-later apps, it normalizes all sources through a single pipeline, enriches them with OCR, transcription, and auto-tagging, then stores everything as human-readable files plus a queryable SQLite index. Your AI agents read the same local store your notes live in. ...

August 13, 2026 · 11 min · baeseokjae
The Ultimate Open Source AI Developer Tools Directory for 2026

The Ultimate Open Source AI Developer Tools Directory for 2026

The open-source AI developer tools ecosystem in 2026 has matured to the point where every proprietary AI service — from GitHub Copilot to Pinecone to ChatGPT — has a viable, production-ready open-source alternative. This directory covers 18+ categories of open-source AI devtools, including coding agents, local inference engines, agent frameworks, vector databases, RAG pipelines, evaluation platforms, and observability tools, with maturity badges and direct comparisons to the closed-source tools they replace. ...

August 2, 2026 · 15 min · baeseokjae
You Probably Don't Need a Vector Database for RAG: Simpler Alternatives That Work (2026)

You Probably Don't Need a Vector Database for RAG: Simpler Alternatives That Work (2026)

Every new RAG project I see starts the same way: spin up a Pinecone index, configure a Weaviate cluster, or deploy a Qdrant instance. It’s become the default move — like reaching for React before considering vanilla HTML. But after building and maintaining several production RAG systems over the last two years, I’ve found that vector databases are often the wrong first choice. The benchmark data backs this up. On the SQuAD dataset, BM25 keyword search achieves 88% recall@10 against 91.7% for OpenAI embeddings — a 3.7% gap that disappears in practice once you add reranking. Meanwhile, that vector database is eating 40-50% of your monthly RAG bill. If you’re running 50 queries per day in production, that’s roughly $1,000-$1,200/month just for the vector infrastructure. ...

July 14, 2026 · 10 min · baeseokjae
Bigger Context Windows Did Not Make Our RAG Smarter: What Actually Works in 2026

Bigger Context Windows Didn't Make Our RAG Smarter: What Actually Works (2026)

Every six months, someone declares RAG dead. The argument is always the same: “Now that GPT-4.1 has 1M tokens and Gemini 2.5 Pro handles 2M, why bother with retrieval? Just dump everything into context.” I’ve been building production RAG systems since the LlamaIndex 0.5 days, and I can tell you: bigger context windows didn’t make RAG obsolete. They made the problem more interesting — and harder to get wrong. Here’s what the 2026 data actually shows, and what techniques deliver real results when you’re building a retrieval system that needs to work in production. ...

July 14, 2026 · 9 min · baeseokjae
DeepEval Tutorial 2026: Pytest-Native LLM Evaluation for Production AI

DeepEval Tutorial 2026: Pytest-Native LLM Evaluation for Production AI

DeepEval is an open-source, pytest-native framework for evaluating LLM outputs using 50+ research-backed metrics — no labeled data required for most production use cases. Install it with pip install deepeval, write test cases like Python unit tests, and run deepeval test run from the CLI to catch regressions before they reach users. What Is DeepEval and Why Pytest-Native LLM Evaluation Matters in 2026 DeepEval is an open-source LLM evaluation framework built by Confident AI that treats model quality testing the same way software engineers treat unit testing: write test cases in Python, run them from the CLI, and fail the build when outputs degrade. As of May 2026, DeepEval has 15,291 GitHub stars, 250+ contributors, and is used by 150,000+ developers running over 100 million daily evaluations — including more than 50% of Fortune 500 companies for LLM quality assurance. The Apache 2.0 license means no usage restrictions in commercial products. ...

May 12, 2026 · 13 min · baeseokjae
Dify vs Flowise 2026: Which Open-Source AI Workflow Builder Wins?

Dify vs Flowise 2026: Which Open-Source AI Workflow Builder Wins?

Dify is the better choice for production teams that need enterprise RAG pipelines, observability, and multi-user governance out of the box. Flowise wins for solo developers and small teams that need a lightweight, minimal-footprint visual canvas on a $4/month VPS — though its 2025 acquisition by Workday raises long-term open-source questions worth considering before you commit. Dify vs Flowise at a Glance: Key Differences in 2026 Dify and Flowise are both open-source AI workflow builders that let you visually chain LLMs, tools, and data sources — but they operate at fundamentally different scales. Dify is a full LLMOps platform backed by LangGenius Inc. (which raised $30M at a $180M valuation) with 106,000+ GitHub stars as of 2026. It requires a minimum 4 GB RAM and runs 8 Docker services, designed to handle production workloads for teams. Flowise, by contrast, runs as a single Docker container on 1 GB RAM, making it the go-to for developers bootstrapping on a Hetzner VPS for $4/month. The defining event of 2026 is Workday’s acquisition of Flowise (August 14, 2025), which creates real uncertainty about whether the project remains community-first. Meanwhile, Dify has over 1 million deployed applications on its platform, signaling clear adoption momentum. If you are choosing a foundation for serious AI application development, this resource and philosophy gap matters enormously. ...

May 7, 2026 · 15 min · baeseokjae
AnythingLLM Review 2026: Local AI Knowledge Base and Agent Runtime

AnythingLLM Review 2026: Local AI Knowledge Base and Agent Runtime

AnythingLLM is an open-source, self-hosted AI platform that bundles RAG document chat, multi-agent task automation, and multi-user workspace management into a single deployable package — with zero data leaving your infrastructure. As of early 2026, it has accumulated over 57,000 GitHub stars and remains MIT licensed. What Is AnythingLLM? Core Architecture and 2026 Positioning AnythingLLM is a full-stack AI application layer, not an inference engine. It sits between your documents and your LLM provider, handling embedding, vector storage, retrieval, and conversation context so you don’t have to wire these together yourself. The project is maintained by Mintplex Labs and has crossed 57,000 GitHub stars as of early 2026 — making it one of the most-starred self-hosted RAG projects in existence. The architecture is built around the concept of workspaces: isolated knowledge bases, each with its own document pool, embedding index, and conversation history. One workspace handles your engineering runbooks; another handles customer contracts; a third handles sales collateral — none of them bleed into each other. Under the hood, AnythingLLM delegates model inference entirely to external providers. It ships with LanceDB as its default on-instance vector store, which means embeddings persist locally without requiring a separate Postgres or Pinecone subscription. This design decision — orchestration without inference — is the reason AnythingLLM can support 30+ LLM backends without rewriting its core logic: Ollama, LM Studio, OpenAI, Anthropic, Azure, AWS Bedrock, Groq, Together, Mistral, and DeepSeek all plug in via a provider abstraction layer. ...

May 4, 2026 · 16 min · baeseokjae
LangChain vs LlamaIndex 2026: Which RAG Framework Should You Choose?

LangChain vs LlamaIndex 2026: Which RAG Framework Should You Choose?

Choose LangChain (via LangGraph) when you need stateful multi-agent orchestration with complex branching logic. Choose LlamaIndex when retrieval quality is your top priority — hierarchical chunking, sub-question decomposition, and auto-merging are built in, not bolted on. For most production systems in 2026, the best answer is both. How Did We Get Here: The State of RAG Frameworks in 2026 LangChain and LlamaIndex began with different identities and have been converging ever since. LangChain launched in late 2022 as a general-purpose LLM orchestration layer — a modular toolkit for chaining prompts, tools, and models. LlamaIndex (originally GPT Index) focused narrowly on document retrieval and indexing. By 2026, LangChain has effectively become LangGraph for production agent workflows, while LlamaIndex added Workflows for multi-step async agents. Yet their founding DNA still shapes how each framework performs in practice. LangChain reports 40% of Fortune 500 companies as users, 15 million weekly npm/PyPI downloads across packages, and over 119,000 GitHub stars. LlamaIndex has over 44,000 GitHub stars, 1.2 million npm downloads per week, and 250,000+ monthly active users inferred from PyPI data. Both are production-grade. The question is which fits your specific pipeline better — and whether you should use them together. ...

April 15, 2026 · 13 min · baeseokjae