---
title: "LangChain"
description: "Posts from LangChain on swe.quest."
url: "https://swe.quest/sources/langchain"
---

# LangChain

Posts from [LangChain](https://blog.langchain.com), newest first.

Posts 1–24 of 56, page 1 of 3, newest first.

## 2026-11-23

- [How to build a knowledge factory for AI agents](https://swe.quest/articles/how-to-build-a-knowledge-factory-for-ai-agents-b6db0f7cbc8a5b13.md): LangChain · 2026-11-23 · Easy · 7 min read · AI agents, LLMs
  A "knowledge factory" is a system for collecting, curating and maintaining the tacit company knowledge agents need: skills (procedures), domain knowledge (definitions, policies, facts) and data access guidance (where data lives and how to query it).

## 2026-11-18

- [How to Choose the Right Sandbox for AI Agents](https://swe.quest/articles/how-to-choose-the-right-sandbox-for-ai-agents-9eb1c4b875269506.md): LangChain · 2026-11-18 · Easy · 7 min read · Sandboxing & isolation, AI agents, Security, Virtualization
  Agents that write and run code face prompt injection risk, and Willison's "lethal trifecta" (sensitive data, untrusted content, external communication) and Meta's "Agents Rule of Two" frame when autonomy becomes dangerous.

## 2026-11-17

- [How to Build Proactive, Always-On Agents with the Schedules SDK in Managed Deep Agents](https://swe.quest/articles/how-to-build-proactive-always-on-agents-with-the-schedules-sdk-in-managed-deep-ff7565faac29c68c.md): LangChain · 2026-11-17 · Medium · 5 min read · AI agents, Scheduling, Python
  Many proactive, always-on agents rest on a simple mechanism: agent runs triggered as cron jobs.
- [The five components of building a "company harness"](https://swe.quest/articles/the-five-components-of-building-a-company-harness-32441ca325d05592.md): LangChain · 2026-11-17 · Easy · 5 min read · AI agents, Identity & auth, Sandboxing & isolation
  Internal company agents at LangChain (GTM Agent, OpenSWE, Content Studio) converge on five primitives for a multiplayer "company harness": living in Slack (with thread breakouts and a custom UI for backlogs), identity handled per tool as either on-behalf-of the user or fixed service credentials, two-tier global and per-user memory, sandboxed code execution with a secret proxy for authenticated requests, and scheduled or event-triggered runs.
- [What We’ve Learned Building Proactive Agents](https://swe.quest/articles/what-we-ve-learned-building-proactive-agents-8e68c49be694e9fd.md): LangChain · 2026-11-17 · Easy · 8 min read · AI agents, LLMs
  Proactive agents run in the background toward goals, triggered by real-world events, developer schedules or schedules they set themselves; on LangChain's Managed Deep Agents over 70% of runs now come from schedules rather than human prompts.

## 2026-11-12

- [What Is Eval-Driven Development? How to Improve AI Agents](https://swe.quest/articles/what-is-eval-driven-development-how-to-improve-ai-agents-b74ea0bdd23f7298.md): LangChain · 2026-11-12 · Medium · 11 min read · Evaluation, AI agents, Testing, LLMs
  Eval-driven development adapts test-driven development to non-deterministic agents: write a pass/fail spec for one behavior, build a dataset and evaluator before implementing, run a baseline, then hill-climb by comparing experiments per example.
- [How our GTM Agent builds consistent, high-quality sales artifacts](https://swe.quest/articles/how-our-gtm-agent-builds-consistent-high-quality-sales-artifacts-4ae21a3c958d31c0.md): LangChain · 2026-11-12 · Medium · 10 min read · AI agents, LLMs
  LangChain's internal GTM Agent generates sales artifacts such as account plans, proof-of-value documents, proposal decks and onboarding plans, producing over 100 per week across 12 weeks.

## 2026-11-10

- [Context Engineering (Agent Memory) for AI Agents Starts with Retrieval](https://swe.quest/articles/context-engineering-agent-memory-for-ai-agents-starts-with-retrieval-4b7268c3138eae87.md): LangChain · 2026-11-10 · Medium · 11 min read · AI agents, RAG & retrieval, LLMs, Vector search
  Agent retrieval fails in three ways: inefficient searching, too much context at once, and irrelevant or stale context.
- [Context Engineering with Deep Agents: How To Remember Without Keeping Everything In Context](https://swe.quest/articles/context-engineering-with-deep-agents-how-to-remember-without-keeping-everything-1dc293ec006d2b0c.md): LangChain · 2026-11-10 · Medium · 9 min read · AI agents, LLMs
  Long-running agents suffer "context rot" as tool output, history and instructions accumulate, so Deep Agents moves context out of the active window via middleware hooks in the agent loop rather than deleting it.
- [How Stripe Built Kai on Deep Agents in 1 Week](https://swe.quest/articles/how-stripe-built-kai-on-deep-agents-in-1-week-5e7920645288a8b2.md): LangChain · 2026-11-10 · Medium · 9 min read · AI agents, LLMs, System design, Developer productivity
  Stripe's company-wide productivity agent Kai was built by one engineer in a week on LangChain's open-source Deep Agents harness.

## 2026-11-09

- [Promptim: an experimental library for prompt optimization](https://swe.quest/articles/promptim-an-experimental-library-for-prompt-optimization-2ac32ec5daa6c443.md): LangChain · 2026-11-09 · Easy · 4 min read · LLMs, Evaluation, Developer tools, Open source
  Promptim is an open-source, experimental library that automates prompt engineering: given an initial prompt, a LangSmith dataset and custom evaluators, it runs an optimization loop where a metaprompt proposes edits based on scored train-set results, and keeps a new prompt only if it improves dev-split metrics, repeated N times.
- [Iterating Towards LLM Reliability with Evaluation Driven Development](https://swe.quest/articles/iterating-towards-llm-reliability-with-evaluation-driven-development-ec58eecfac04025b.md): LangChain · 2026-11-09 · Medium · 7 min read · Evaluation, LLMs, Observability
  Dosu, an AI teammate that triages GitHub issues and answers code questions, uses evaluation driven development (EDD): ship a behavior with a few evals, monitor production for failure modes, add failing examples to offline eval datasets, iterate, and relaunch.

## 2026-11-07

- [Managed Deep Agents v0.10: Browser Use and Async Subagents](https://swe.quest/articles/managed-deep-agents-v0-10-browser-use-and-async-subagents-caa80843ada4cda7.md): LangChain · 2026-11-07 · Medium · 6 min read · AI agents, LLMs
  Managed Deep Agents v0.10 adds browser use, so agents can operate websites without APIs, and async subagents that run long tasks in the background while the orchestrator keeps talking to the user.

## 2026-11-06

- [Browser Use in Managed Deep Agents](https://swe.quest/articles/browser-use-in-managed-deep-agents-21e226e57e61da12.md): LangChain · 2026-11-06 · Medium · 7 min read · AI agents, Testing, Browsers
  Managed Deep Agents in LangSmith now runs a remote browser in its own sandbox and gives agents Stagehand-based tools: browser\_snapshot (accessibility tree with element IDs), browser\_run (batched actions or Playwright-style JavaScript in one call to keep page content out of context), browser\_screenshot, and browser\_handoff for letting a human sign in without exposing credentials.
- [How We Optimized Browser Use for Deep Agents](https://swe.quest/articles/how-we-optimized-browser-use-for-deep-agents-2f840018f7b43754.md): LangChain · 2026-11-06 · Medium · 9 min read · AI agents, Evaluation, Performance engineering, LLMs
  Tool design dominated cost and speed for browser agents: across seven toolsets on 100 WebVoyager tasks, pass rates ranged 78–90%, but Stagehand passed 90% for $1.98 total while Playwright MCP passed 78% for $26.71 at three times the latency.
- [Agents Are Going Async](https://swe.quest/articles/agents-are-going-async-a6c6bdc9a6892a43.md): LangChain · 2026-11-06 · Medium · 5 min read · AI agents, Concurrency, LLMs
  Deep Agents now supports async subagents, which split an agent into an orchestrator that stays responsive to the user and background subagents that run long tasks in parallel and report back.

## 2026-11-04

- [Why human insight is a strategic advantage for building better agents](https://swe.quest/articles/why-human-insight-is-a-strategic-advantage-for-building-better-agents-376e4fe4ac199796.md): LangChain · 2026-11-04 · Easy · 7 min read · Evaluation, AI agents, Observability, LLMs
  Human review of agent traces supplies the domain judgment that automated evals lack, and it works best when reviewers see the full multi-turn conversation rather than an isolated step.

## 2026-10-29

- [How We Built Our Design Agent](https://swe.quest/articles/how-we-built-our-design-agent-5b29ee59fcf5b432.md): LangChain · 2026-10-29 · Medium · 21 min read · AI agents, LLMs, Video & media
  Content Studio, LangChain's Slack-based design agent, produces on-brand videos, graphics, slide decks and UI recreations entirely as code, running on Managed Deep Agents with a per-thread LangSmith Sandbox.
- [The Art of Loop Engineering](https://swe.quest/articles/the-art-of-loop-engineering-1c4cd354dba11ffe.md): LangChain · 2026-10-29 · Easy · 6 min read · AI agents, LLMs, Evaluation
  Agent systems can be structured as four stacked loops: the basic agent loop (model calls tools until done), a verification loop where a deterministic or LLM grader checks output against a rubric and retries with feedback, an event-driven loop where crons, webhooks or Slack channels trigger background runs, and a hill-climbing loop where an analysis agent mines production traces to rewrite prompts, tools or graders.
- [How We Built LangChain’s Paid Media Agent](https://swe.quest/articles/how-we-built-langchain-s-paid-media-agent-c859415582fca684.md): LangChain · 2026-10-29 · Medium · 18 min read · AI agents, LLMs, System design, Ads
  LangChain's Paid Media Agent is a Slack-resident Deep Agent that merges ad-platform data with warehouse pipeline data, produces weekly per-platform PDF reports, answers follow-up questions, and proposes campaign changes for human approval.

## 2026-10-28

- [How to build evidence-grounded agent memory with OpenWiki and Graphs](https://swe.quest/articles/how-to-build-evidence-grounded-agent-memory-with-openwiki-and-graphs-4ca8c5cc48ba2f30.md): LangChain · 2026-10-28 · Medium · 8 min read · AI agents, RAG & retrieval, Evaluation, LLMs
  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.

## 2026-10-19

- [How Numan Built an Eval-First AI Health Coach with LangGraph and LangSmith](https://swe.quest/articles/how-numan-built-an-eval-first-ai-health-coach-with-langgraph-and-langsmith-d24609fcba889121.md): LangChain · 2026-10-19 · Medium · 9 min read · Evaluation, AI agents, LLMs, AI safety
  Numan's AI health coach Nu, a LangGraph supervisor with domain-specialist sub-agents, is evaluated through the same production graph rather than a separate harness.

## 2026-10-15

- [The Most Common Questions About Agent Evals, Answered](https://swe.quest/articles/the-most-common-questions-about-agent-evals-answered-40ebbb294f8cf253.md): LangChain · 2026-10-15 · Medium · 15 min read · Evaluation, AI agents, Observability, LLMs
  Agent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in.

## 2026-10-13

- [MCP in LangChain: Stateless Protocol, Elicitation, and More!](https://swe.quest/articles/mcp-in-langchain-stateless-protocol-elicitation-and-more-3388dd33c4368371.md): LangChain · 2026-10-13 · Medium · 5 min read · AI agents, Python, API design, Caching
  LangChain has moved MCP support into the main package as \`langchain.mcp\`, rebuilt on FastMCP to match the July 2026 stateless MCP spec, which drops sessions so remote servers no longer need sticky routing or a shared session store.

[Next page](https://swe.quest/sources/langchain.md?page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=langchain](https://swe.quest/feed.xml?source=langchain). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
