# Cross-link map: LangChain with AI Gateway (/docs/ai-gateway/ecosystem/framework-integrations/langchain)

> From the Vercel docs graph (built 2026-09-21T05:26:59.511Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.json

## Semantically closest pages

- [LangChain](https://vercel.com/docs/sandbox/ecosystem/langchain?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=semantic) — Give a LangChain agent a tool that executes model-generated code in an isolated Vercel Sandbox, with models served by AI
- [Langfuse with AI Gateway](https://vercel.com/docs/ai-gateway/ecosystem/framework-integrations/langfuse?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=semantic) — Trace and monitor AI Gateway requests with Langfuse. Configure an OpenAI client and wrap it with observeOpenAI to log mo
- [Building an AI chatbot with Next.js, Langchain, and OpenAI](https://vercel.com/kb/guide/nextjs-langchain-vercel-ai?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=semantic) — Dive into the world of LangChain.js and Next.js with our detailed guide. Learn how to set up a chatbot, structure output
- [AI Gateway Ecosystem and Integrations](https://vercel.com/docs/ai-gateway/ecosystem?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=semantic) — Connect frameworks, coding tools, and billing integrations to AI Gateway. Configure app attribution and explore integrat
- [LiteLLM with AI Gateway](https://vercel.com/docs/ai-gateway/ecosystem/framework-integrations/litellm?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=semantic) — Learn how to integrate Vercel AI Gateway with LiteLLM to access multiple AI models through a unified interface.

## Prerequisites

- [Ecosystem](https://vercel.com/docs/sandbox/ecosystem?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=prerequisite) — Use Vercel Sandbox with the agent frameworks, model SDKs, and coding agents you already work with.

## This page links to (1)

- [Vercel AI Gateway: Models, Routing, and Observability](https://vercel.com/docs/ai-gateway?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=outbound) — Call AI models from any infrastructure through a managed gateway. Centralize credentials, request logs, spend budgets, r

## Pages that link here (3)

By site: vercel-docs (3)

- [AI Gateway Ecosystem and Integrations](https://vercel.com/docs/ai-gateway/ecosystem?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=inbound) — Connect frameworks, coding tools, and billing integrations to AI Gateway. Configure app attribution and explore integrat
- [AI Gateway Framework Integrations](https://vercel.com/docs/ai-gateway/ecosystem/framework-integrations?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=inbound) — Connect LangChain, LiteLLM, LlamaIndex, Mastra, Pydantic AI, TanStack AI, and other frameworks to Vercel AI Gateway with
- [Python with AI Gateway: OpenAI and Anthropic SDKs](https://vercel.com/docs/ai-gateway/sdks-and-apis/python?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fecosystem%2Fframework-integrations%2Flangchain&source_site=vercel-docs&relationship=inbound) — Use AI Gateway with Python through OpenAI or Anthropic SDKs with full streaming, tool calling, and async support.
