Skip to content

LangChain Samples is a collection of code examples, cookbooks, reference implementations, and workshop materials created by customer facing teams at LangChain. These resources are designed purely for educational and demonstration purposes, helping developers explore patterns, integrations, and best practices when building with LangChain and related tooling.

All code and materials published here are provided as-is, without official support. Any assistance is offered strictly on a best-effort basis, and users should not expect production-grade support or long-term maintenance.

Find what you're looking for with our Explorer!

Popular repositories Loading

  1. cicd-pipeline-example cicd-pipeline-example Public

    🤖🚀 CI/CD pipeline for LangSmith deployments and evals 🦜

    Python 28 11

  2. assistants-demo assistants-demo Public

    This project demonstrates how to implement runtime configuration patterns in ReAct Agents and supervisor-style architectures using LangGraph. It shows the progression from hardcoded agents to flexi…

    Python 19 8

  3. A2A-langgraph A2A-langgraph Public

    This project demonstrates Agent-to-Agent (A2A) conversations using LangGraph with the A2A protocol. It includes implementations in both **Python** and **TypeSc…

    Jupyter Notebook 2

  4. deepagent-gen-ui deepagent-gen-ui Public

    A demonstration of with a DeepAgent that generates CSV and PDF reports in custom React components.

    Python 2

  5. deepagent-coder deepagent-coder Public

    A deepagent-based coding assistant

    Python 2

  6. planner-agent-workshop planner-agent-workshop Public

    A progressive workshop showcasing LangChain v1 capabilities, building from a simple agent to a sophisticated multi-agent system with memory, middleware, and MC…

    Jupyter Notebook 2 2

Repositories

Showing 10 of 51 repositories
  • structured-prompt-hub Public

    This project demonstrates how to create and push structured prompts to LangSmith Hub for evaluator use cases. Examples are provided in both **TypeScript** and…

    langchain-samples/structured-prompt-hub’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Mar 13, 2026
  • context-failure-evals Public

    Evals with langsmith designed to solve real-world context failure limitations of agents

    langchain-samples/context-failure-evals’s past year of commit activity
    Jupyter Notebook 0 MIT 0 0 1 Updated Mar 13, 2026
  • langsmith-deployments-workshop Public

    LangSmith Deployments examples

    langchain-samples/langsmith-deployments-workshop’s past year of commit activity
    Python 1 MIT 0 0 0 Updated Mar 13, 2026
  • langsmith-prompt-opt Public

    Prompt Optimization Research and Best Practices

    langchain-samples/langsmith-prompt-opt’s past year of commit activity
    Python 0 0 0 0 Updated Mar 11, 2026
  • .github Public
    langchain-samples/.github’s past year of commit activity
    0 0 0 0 Updated Mar 5, 2026
  • eval-ci-cd Public

    Demonstrates a CI/CD lifecycle for an online evaluation

    langchain-samples/eval-ci-cd’s past year of commit activity
    Jupyter Notebook 0 MIT 0 0 0 Updated Mar 2, 2026
  • evals-cicd Public

    A minimal example showing how to run LangSmith evaluations for a **multi-agent system** as part of your CI/CD pipeline. When you open a PR, the workflow automa…

    langchain-samples/evals-cicd’s past year of commit activity
    Jupyter Notebook 0 0 0 1 Updated Feb 19, 2026
  • langsmith-in-code Public

    This repository contains comprehensive tutorials and examples for implementing evaluations and tracing in code for LangSmith.

    langchain-samples/langsmith-in-code’s past year of commit activity
    Jupyter Notebook 0 MIT 3 0 0 Updated Feb 19, 2026
  • a2a-cross-workspace-tracing Public

    Demonstrates how to get unified distributed traces when two LangGraph agents communicate via the A2A protocol running on LangSmith's Agent Server.

    langchain-samples/a2a-cross-workspace-tracing’s past year of commit activity
    Python 0 0 0 0 Updated Feb 19, 2026
  • ADK-langsmith Public

    This repo demonstrates how to trace a Google ADK agent to LangSmith using two approaches: LangSmith's native integration and OTel (uses ADK's built-in OTel instrumentation)

    langchain-samples/ADK-langsmith’s past year of commit activity
    Python 0 0 0 0 Updated Feb 18, 2026

Most used topics

Loading…