Skip to content

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

LangChain 10 min read Case study mediumAdept

How we built LangChain’s GTM Agent

LangChain's GTM agent, built on Deep Agents, triggers on new Salesforce leads, runs do-not-send checks, researches the prospect across Salesforce, Gong, LinkedIn and Exa, and posts a relationship-aware email draft with reasoning to Slack for rep approval. A weekly account-intelligence job uses per-account subagents with constrained tools and structured output schemas, run in parallel. Rep edits are diffed by an LLM into per-rep style memories stored in PostgreSQL, and evals combine rule-based assertions with an LLM judge in CI. The team reports a 250% lift in lead-to-opportunity conversion and about 40 hours saved per rep each month.

Related posts

  • How our GTM Agent builds consistent, high-quality sales artifacts

    LangChain mediumAdept

    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. Most of its quality comes from business context rather than prompt tuning: sales-stage gates, leadership-owned templates, Salesforce and call data, and a brand kit baked into a sandbox image. The pipeline fills templates with python-pptx, renders them through LibreOffice to rasterized pages for visual self-review, then files native Google docs and hands them off in Slack. A stop rule (ship once one review finds no real defect) cut a one-pager run from 18 to 7 minutes, and deals with a sent artifact advanced 47% of the time versus 16% for matched deals.

  • How We Built LangChain’s Paid Media Agent

    LangChain mediumAdept

    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. It runs in a sandboxed microVM. Context is split into layers: a short map-like system prompt, progressively disclosed skills, a company wiki, live tools and deterministic code. Moving calculations into Python and keeping the model for judgment cut a reporting run from 18 minutes and about $3 (3.9M tokens) to 85 seconds, roughly 40x cheaper. Other lessons: merge separate Slack and scheduled graphs into one runtime with per-entry-point capability profiles, and define a source of truth per metric instead of forcing one normalized schema.

  • Why We Rebuilt LangChain’s Chatbot and What We Learned

    LangChain mediumAdept

    LangChain replaced chat.langchain.com's chunk-and-embed vector retrieval with tool-calling agents that search structured sources directly: full doc pages via Mintlify's API, a scan-titles-then-read pattern over the Pylon knowledge base, and ripgrep/tree/file-read tools over the codebase. A fast createAgent with Claude Haiku 4.5 handles most docs questions in 3-6 tool calls and under 15 seconds. A Deep Agent with separate docs, knowledge-base and code subagents handles implementation questions in 1-3 minutes, with each subagent filtering its results so the orchestrator's context stays small. The rebuild removed constant reindexing, kept document structure intact and produced verifiable citations down to line numbers, with LangSmith traces used to tune prompts and cut wasted tool calls.

  • How Podium optimized agent behavior and reduced engineering intervention by 90% with LangSmith

    LangChain easyNovice

    Podium used LangSmith tracing and evaluation to improve its AI Employee agent, which makes 20-30 LLM calls per customer interaction. To fix the agent's failure to recognize when conversations ended, the team curated metadata-enriched datasets from traces and distilled a larger model into a smaller fine-tuned one. Pairwise evaluation showed F1 rising from 91.7% to 98.6%, above their 98% threshold. Giving support staff trace access let them classify issues as application bugs, missing context, misaligned instructions or LLM errors, which cut engineering intervention by 90%.

  • What We’ve Learned Building Proactive Agents

    LangChain easyNovice

    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. Making them useful without being annoying hinges on memory (seeded from past context, updated from feedback and outcomes, maintained by a background "dreaming" job that handles salience, expiry and duplication) and on UX that is high-signal, fast to review, and delivered where users already work, such as Slack. Examples come from LangChain's internal GTM Agent and Robin engineering agent, and suggested memory metrics include draft approval time and the share of check-ins users act on.

The quest for software engineering knowledge.

Look:
Layout: