AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
LangChain / LangGraph / LangSmith (docs.langchain.com)
Category: agent framework
Dissected 2026-09-18 by one agent pass fetching the live URLs below. Quotes are verbatim as returned; see ../README.md for what was and was not independently re-checked.
llms.txt
- URL: https://docs.langchain.com/llms.txt — HTTP 200
- Size: 22273 bytes, 197 lines
- Install position: absent — no install command anywhere in the 197 lines. Nearest things: line 62 '- Use docs programmatically: Connect LangChain documentation to your AI tools and workflows' and line 79 '- Quickstart: Install Deep Agents Code, run your first task, and use interactive or non-interactive modes'. Root llms.txt is a plain auto-generated (Mintlify) docs index with nothing about installation; install lives one hop away in linked .md pages.
- Tone: neutral / catalogue. Makes no demands of the agent; the only instruction-shaped sentence is 'Each section index below lists the markdown version of every page in that section.' No imperatives, no marketing.
- Section order: # Docs by LangChain (H1 + one-line blockquote) → ## Section indexes (58 sub-llms.txt links, each with a page count) → ## Docs (3 entries: Build, Home, Use docs programmatically) → ## Open source (Deep Agents Code + OpenWiki page list) → ## LangSmith Fleet → ## Agent Server API (REST endpoint page list)
Text written for an agent (verbatim)
none
MCP snippet (verbatim)
none
Feedback / contribution ask (verbatim)
none
Best passage for driving install and first use (verbatim)
# Docs by LangChain
> Documentation for LangSmith, Fleet, and our open source packages.
Each section index below lists the markdown version of every page in that section.
## Section indexes
- [/langsmith](https://docs.langchain.com/langsmith/llms.txt): 460 pages
- [/langsmith/javascript](https://docs.langchain.com/langsmith/javascript/llms.txt): 25 pages
- [/langsmith/python](https://docs.langchain.com/langsmith/python/llms.txt): 25 pages
- [/oss/python/deepagents](https://docs.langchain.com/oss/python/deepagents/llms.txt): 40 pages
- [/oss/python/langchain](https://docs.langchain.com/oss/python/langchain/llms.txt): 79 pages
- [/oss/python/langgraph](https://docs.langchain.com/oss/python/langgraph/llms.txt): 43 pages
## Docs
- [Use docs programmatically](https://docs.langchain.com/use-these-docs.md): Connect LangChain documentation to your AI tools and workflows
llms-full.txt
- URL: https://docs.langchain.com/llms-full.txt — HTTP 200
- Size: 6915750 bytes
- Relationship to llms.txt: Concatenated raw MDX of every docs page (2,542 '# ' headings, each page starts '#
\nSource: <a href="https://docs.langchain.com/">https://docs.langchain.com/</a><path>'), NOT curated. Header says language corpora are split out: 'Language-specific documentation is published as a separate corpus:\n\n- Open source (Python) documentation: <a href="https://docs.langchain.com/oss/python/llms-full.txt%5Cn-">https://docs.langchain.com/oss/python/llms-full.txt\n-</a> Open source (TypeScript) documentation: <a href="https://docs.langchain.com/oss/javascript/llms-full.txt">https://docs.langchain.com/oss/javascript/llms-full.txt</a>'. Contains unrendered JSX (<Steps>, <Card>, <Callout>, <Prompt>) verbatim. Every page ends with the same generated footer (565 occurrences of 'Connect these docs', 566 of 'file an issue'). Generated by Mintlify.</li> <li>Install position: First install command at line 884 ('pip install -U "langgraph-cli[inmem]"', inside the LangSmith 'Connect an authentication provider' page) — i.e. no top-of-file install; 231 lines match pip install/uv add/npm install across the file. The agent-facing MCP install content is at ~line 147271-147309 (use-these-docs page, near the END of the 6.9MB file) and ~61683 (LangSmith Remote MCP quickstart). Skills installers at 113834-113842 ('npx skills add langchain-ai/langsmith-skills --skill '*' --yes').</li> </ul> <h2>Other agent-facing files</h2> <h3>use-these-docs.md (MCP install page, the real agent-facing file) — HTTP 200</h3> <p><a href="https://docs.langchain.com/use-these-docs.md">https://docs.langchain.com/use-these-docs.md</a></p> <p>The one page written for an agent to act on: a copyable <Prompt> block that tells the agent to detect its own host and self-install two docs MCP servers, followed by per-client snippets (Claude Code, Claude Desktop, Codex CLI, Cursor, Deep Agents Code, VS Code, Antigravity). Standalone .md pages also carry a machine preamble: '> ## Documentation Index\n> Fetch the complete documentation index at: <a href="https://docs.langchain.com/llms.txt%5Cn%3E">https://docs.langchain.com/llms.txt\n></a> Use this file to discover all available pages before exploring further.'</p> <pre><code class="language-text"><Prompt description="Connect LangChain docs MCP servers" icon="plug" actions={["copy"]}> Connect both LangChain documentation MCP servers to my coding agent so it can look up current LangChain, LangGraph, and LangSmith docs and API reference. Servers to add: * `docs-langchain`: [https://docs.langchain.com/mcp](https://docs.langchain.com/mcp) * `reference-langchain`: [https://reference.langchain.com/mcp](https://reference.langchain.com/mcp) Detect which agent or editor I am using (Claude Code, Cursor, Codex CLI, Claude Desktop, Deep Agents Code, VS Code, Antigravity, or another MCP-compatible client). Use the matching setup from [https://docs.langchain.com/use-these-docs.md](https://docs.langchain.com/use-these-docs.md): * Claude Code: `claude mcp add --transport http` for each server (project scope by default; use `--scope user` only if I ask for global access). * Codex CLI: `codex mcp add` with each server URL. * Cursor, Deep Agents Code, VS Code, or Antigravity: merge both entries into the MCP settings JSON using the field names shown on that page for my client. * Claude Desktop: add both URLs under Settings > Connectors. Do not invent alternate MCP URLs. After configuring, confirm both servers are listed and reachable. </Prompt> [install commands on the same page:] claude mcp add --transport http docs-langchain https://docs.langchain.com/mcp claude mcp add --transport http reference-langchain https://reference.langchain.com/mcp codex mcp add langchain-docs --url https://docs.langchain.com/mcp [feedback CTA:] Have questions or feedback? Let us know in our [community forum](https://forum.langchain.com/). </code></pre> <h3>LangGraph GitHub-pages llms.txt — HTTP 200</h3> <p><a href="https://langchain-ai.github.io/langgraph/llms.txt">https://langchain-ai.github.io/langgraph/llms.txt</a></p> <p>49-line plain page index ('# Docs by LangChain: Open source (Python)' / '> Markdown index of the Open source (Python) documentation.') pointing at docs.langchain.com .md pages. No install command; only a link '- <a href="https://docs.langchain.com/oss/python/langgraph/install.md">Install LangGraph</a>'. llms-full.txt at that host is 404 (770-byte GitHub 404 page).</p> <pre><code class="language-text"># Docs by LangChain: Open source (Python) > Markdown index of the Open source (Python) documentation. ## Open source (Python) - [Memory](https://docs.langchain.com/oss/python/langgraph/add-memory.md) - [Install LangGraph](https://docs.langchain.com/oss/python/langgraph/install.md) - [Quickstart](https://docs.langchain.com/oss/python/langgraph/quickstart.md) </code></pre> <h3>AGENTS.md (langchain-ai/langchain, master) — HTTP 200</h3> <p><a href="https://raw.githubusercontent.com/langchain-ai/langchain/master/AGENTS.md">https://raw.githubusercontent.com/langchain-ai/langchain/master/AGENTS.md</a></p> <p>19,723-byte contributor guide for coding agents working IN the monorepo (not for users installing the product): repo tree, uv/make/ruff/mypy commands, PR title/branch/description rules, stable-interface and testing rules, release process, plus an 'OpenWiki' section. Contains a vendor hook: '<corridor>\n\n## Corridor security analysis\n\nWhen Corridor's <code>analyzePlan</code> tool is available, create a plan and use the tool to analyze it before generating or modifying code.'</p> <pre><code class="language-text">This repository has a generated `openwiki/` evidence index. It is optional just-in-time context, not required startup reading. - Treat source code and tests as authoritative. A brief's unknowns and review items are verification gaps, not automatic requirements. - Prefer the narrowest quiet validation that proves the changed behavior. Preserve complete failure output. </code></pre> <h3>CLAUDE.md (langchain-ai/langchain, master) — HTTP 200</h3> <p><a href="https://raw.githubusercontent.com/langchain-ai/langchain/master/CLAUDE.md">https://raw.githubusercontent.com/langchain-ai/langchain/master/CLAUDE.md</a></p> <p>19,200 bytes; byte-identical to AGENTS.md except the final OpenWiki section is replaced by a one-line pointer. Same contributor-only scope; no product install prompt.</p> <pre><code class="language-text">See [AGENTS.md](AGENTS.md) for OpenWiki agent instructions. </code></pre> <h3>Deep Agents Code quickstart (install page inside llms-full at line 148887) — HTTP 200</h3> <p><a href="https://docs.langchain.com/oss/deepagents/code/quickstart.md">https://docs.langchain.com/oss/deepagents/code/quickstart.md</a></p> <p>The product-install page: curl|bash one-liner, then '/auth' for credentials, then a first task, tracing optional. Note the shell-only assumption and the explicit Windows caveat.</p> <pre><code class="language-text">## Install and run your first task <Steps> <Step title="Install and launch" icon="terminal"> ```bash curl -LsSf https://langch.in/dcode | bash ``` </Step> <Step title="Add provider credentials" icon="key"> Deep Agents Code works with any tool-calling LLM. OpenAI, Anthropic, and Google are available out of the box. Use the `/auth` command to connect with a provider. <Step title="Give the agent a task" icon="message"> ```txt Create a Python script that prints "Hello, World!" ``` <Note> Deep Agents Code is not officially supported on Windows. Windows users can try running it under [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install). </Note> </code></pre> <h3>LangSmith Remote MCP quickstart (inside llms-full ~line 61683) — HTTP 200</h3> <p><a href="https://docs.langchain.com/llms-full.txt">https://docs.langchain.com/llms-full.txt</a></p> <p>Per-client MCP config for the LangSmith product server, including the post-install verification step and the tool-name convention an agent will see.</p> <pre><code class="language-text">Add the server to your project's `.mcp.json` (or run `claude mcp add --transport http -s user langsmith https://api.smith.langchain.com/mcp` to install it user-wide): ```json { "mcpServers": { "langsmith": { "type": "http", "url": "https://api.smith.langchain.com/mcp" } } } ``` Then run `/mcp` and select **langsmith** to complete the OAuth flow. Tools become available as `mcp__langsmith__<tool_name>`. </code></pre> <h3>LangSmith skills page (inside llms-full ~line 113817) — HTTP 200</h3> <p><a href="https://docs.langchain.com/langsmith/skills.md">https://docs.langchain.com/langsmith/skills.md</a></p> <p>Skills distribution via the <code>npx skills add</code> installer with local/global/per-agent variants.</p> <pre><code class="language-text">## Quick install Install only the LangSmith skills (trace, dataset, evaluator) using `npx skills`: ```bash Local (current project) npx skills add langchain-ai/langsmith-skills --skill '*' --yes ``` ```bash Global (all projects) npx skills add langchain-ai/langsmith-skills --skill '*' --yes --global ``` ```bash Link to a specific agent (e.g., Claude Code) npx skills add langchain-ai/langsmith-skills --agent claude-code --skill '*' --yes --global ``` </code></pre> <h3>llms-install.md — HTTP 404</h3> <p><a href="https://docs.langchain.com/llms-install.md">https://docs.langchain.com/llms-install.md</a></p> <p>does not exist</p> <h3>SKILL.md at docs root — HTTP 404</h3> <p><a href="https://docs.langchain.com/SKILL.md">https://docs.langchain.com/SKILL.md</a></p> <p>does not exist (skills are in github.com/langchain-ai/langsmith-skills and langchain-ai/langchain-skills, installed via npx skills)</p> <h3>python.langchain.com/llms-full.txt — HTTP 200</h3> <p><a href="https://python.langchain.com/llms-full.txt">https://python.langchain.com/llms-full.txt</a></p> <p>Stale: redirects to <a href="https://docs.langchain.com/oss/python/langchain/overview">https://docs.langchain.com/oss/python/langchain/overview</a> and returns 1,011,752 bytes of HTML, not text. python.langchain.com/llms.txt correctly redirects to docs.langchain.com/llms.txt (200).</p> <h2>What they do better than XERJ</h2> <ul> <li>A dedicated, copy-button agent prompt for self-installation that is host-agnostic: 'Detect which agent or editor I am using (Claude Code, Cursor, Codex CLI, Claude Desktop, Deep Agents Code, VS Code, Antigravity, or another MCP-compatible client)' — this is the exact fix for XERJ's shell-less-persona failure: the install path is MCP-config, not a terminal, so a no-terminal agent can still complete it.</li> <li>The prompt ends with a guardrail and a verification step: 'Do not invent alternate MCP URLs. After configuring, confirm both servers are listed and reachable.' XERJ's llms.txt has no post-install check step written for the agent.</li> <li>Per-client MCP snippets for 7 hosts, each with the client's OWN field names (Cursor 'url', Deep Agents 'type':'http', VS Code top-level 'servers', Antigravity 'serverUrl'), plus scope guidance ('project scope by default; use <code>--scope user</code> only if I ask for global access'). XERJ documents only <code>xerj init</code> writing <code>.mcp.json</code> and mcp-tools.json; no per-host JSON.</li> <li>Tells the agent what the tools will be called after install: 'Tools become available as <code>mcp__langsmith__<tool_name></code>.' — reduces first-use fumbling.</li> <li>Every standalone .md page carries a 3-line machine preamble pointing back to llms.txt ('Fetch the complete documentation index at: <a href="https://docs.langchain.com/llms.txt">https://docs.langchain.com/llms.txt</a> / Use this file to discover all available pages before exploring further.'), and every page footer repeats 'Connect these docs ... via MCP' and 'file an issue' (565/566 occurrences) — the ask is on every hop, not one section.</li> <li>Section indexes carry page counts ('460 pages', '40 pages'), letting an agent budget context before fetching; language corpora are split into separate llms-full files instead of one 7MB blob for everything.</li> <li>Skills as an install channel: 'npx skills add langchain-ai/langsmith-skills --skill '*' --yes' with local/global/--agent claude-code variants and an explicit update recipe ('To update, re-run the command. If target skill folders already exist, remove them first').</li> <li>AGENTS.md separates 'optional just-in-time context' from 'required startup reading' explicitly and tells the agent what is authoritative ('Treat source code and tests as authoritative') — a clear precedence rule XERJ's llms.txt lacks.</li> </ul> <h2>What XERJ does better</h2> <ul> <li>XERJ's llms.txt is a curated agent guide with the install one-liner on line 11 and a 'Start here' walkthrough; LangChain's root llms.txt is a pure auto-generated Mintlify index with zero install content (install is only reachable one hop away in .md pages, and the MCP prompt sits at ~line 147271 of a 153,516-line llms-full).</li> <li>Honesty/caveats inline: XERJ's '## Caveats (read before you rely on a capability)' section (lexical-vs-neural default, --embed-mode applies at ingest, RSS sizing, _passage projection) has no analogue; LangChain's files make no capability caveats at all.</li> <li>Verified install: XERJ documents SHA-256 fail-closed checks, a manual verified path, PATH consequences, XERJ_VERSION pinning; LangChain's dcode install is a bare 'curl -LsSf <a href="https://langch.in/dcode">https://langch.in/dcode</a> | bash' with no checksum and no manual path.</li> <li>A concrete, one-command contribution mechanism ('xerj feedback --open-pr ... CLA-exempt PR') and a sandboxed fallback ('hand the printed report to your operator'); LangChain's feedback ask is only 'Have questions or feedback? Let us know in our [community forum]' and per-page 'file an issue'.</li> <li>Tool schemas published as data (mcp-tools.json, anthropic-tools.json generated from a real tools/list) — LangChain publishes MCP URLs but no tool schema file.</li> <li>XERJ's llms-full (84 KB) is readable in one context; LangChain's (6.9 MB, unrendered JSX) is not.</li> <li>No stale entries: LangChain still serves python.langchain.com/llms-full.txt as 1 MB of HTML and the LangGraph gh-pages llms-full is 404.</li> </ul> <h2>Adoptable ideas</h2> <ul> <li>Add a host-detecting MCP install prompt block near the top of llms.txt, modelled on <a href="https://docs.langchain.com/use-these-docs.md">https://docs.langchain.com/use-these-docs.md</a>: 'Detect which agent or editor I am using (Claude Code, Cursor, Codex CLI, Claude Desktop, ... or another MCP-compatible client). Use the matching setup from <this page>' — with XERJ's <code>xerj mcp</code> stdio server as the target. This directly addresses the shell-less persona failure: give them a path that is config, not shell.</li> <li>Copy the closing guardrail + verification line verbatim in spirit: 'Do not invent alternate MCP URLs. After configuring, confirm both servers are listed and reachable.' → for XERJ: 'Do not invent alternate ports or index names. After configuring, run tools/list (or <code>/mcp</code>) and confirm xerj_search is listed, then run one search and cite the file:line it returned.'</li> <li>Publish per-client MCP JSON with each client's own field names, as use-these-docs.md does (Claude Code <code>claude mcp add --transport ...</code>, Cursor <code>{"mcpServers":{"x":{"url":...}}}</code>, VS Code <code>{"servers":{...}}</code>, Antigravity <code>serverUrl</code>, Codex <code>codex mcp add</code>), and state the resulting tool names as LangSmith does: 'Tools become available as <code>mcp__langsmith__<tool_name></code>.' → 'Tools become available as <code>mcp__xerj__xerj_search</code> ...'.</li> <li>Adopt the scope sentence verbatim pattern: 'project scope by default; use <code>--scope user</code> only if I ask for global access' — XERJ's <code>xerj init</code> should say which scope it writes and how to make it global.</li> <li>Put the ask in every hop, not one section: LangChain repeats 'Connect these docs ... via MCP' and 'file an issue' in a footer on all 565 pages, and every standalone .md starts with '> ## Documentation Index / Fetch the complete documentation index at: <a href="https://docs.langchain.com/llms.txt">https://docs.langchain.com/llms.txt</a>'. XERJ can put a 2-line field-report footer on every answers/<em>.md and docs/</em>.md page, and fix the contradiction by renaming '## Optional' (line 223 of landing/llms.txt) to something like '## Your side of the deal (required)' since line 7 says 'this is required, not optional'.</li> <li>Add page counts / byte counts to index entries ('- <a href=".../llms.txt">/langsmith</a>: 460 pages') so agents can budget context before fetching; split llms-full by audience (LangChain: separate Python vs TypeScript llms-full URLs listed in the llms-full header) — e.g. an agents-only llms-full vs an operators llms-full.</li> <li>Offer a skills install channel alongside MCP: 'npx skills add langchain-ai/langsmith-skills --skill '*' --yes' / '--agent claude-code ... --global', with the update recipe 'To update, re-run the command. If target skill folders already exist, remove them first' — XERJ's <code>xerj init</code> 10-line skill could also be published to a xerj-org/xerj-skills repo installable that way, reaching agents that never run the binary.</li> <li>Borrow the AGENTS.md precedence rule wording for XERJ's own AGENTS.md/llms.txt: 'It is optional just-in-time context, not required startup reading.' and 'Treat source code and tests as authoritative.' — and invert it for the field report: state plainly which sections are required reading vs. optional so 'required' and 'Optional' never share a sentence.</li> </ul>