LangChain

147k GitHub starslangchain-ai/langchain

The agent engineering platform.

View on GitHub

Build a stack with LangChain

Pick parts from it and the projects that work well with it. We check the licences together and write a prompt for your AI.

LangChain
Chroma
Ollama

Your stack

Tick the parts you want to use. Projects whose parts are not listed yet can be added whole; the prompt tells your AI to find the right pieces in their code.

Website (opens in a new tab)
More actions

Building blocks

LangChain is made of parts you can use on their own in your project. Copy a prompt to have your AI assistant add one for you, and see the licence card for what you may do with them.

  • The foundation for AI features

    Free to use, even in closed products

    The small core of LangChain: common building blocks for connecting AI models, prompts and tools in Python.

    Use it to build

    • LLM features in Python apps
    • Writing your own model or tool integrations
    View code
    Technical details
    Name
    langchain-core
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    pip install langchain-core
    Licence
    MIT License (read from libs/core/pyproject.toml (licence field))
  • Break documents into AI-sized pieces

    Free to use, even in closed products

    Cuts long documents into smaller chunks so an AI can search and answer questions about them.

    Use it to build

    • RAG pipelines
    • Search over documents
    • Pre-processing for embeddings
    View code
    Technical details
    Name
    langchain-text-splitters
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    pip install langchain-text-splitters
    Licence
    MIT License (read from libs/text-splitters/pyproject.toml (licence field))
  • Use Claude in LangChain

    Free to use, even in closed products

    Connects LangChain apps to Anthropic’s Claude models.

    Use it to build

    • Claude-powered assistants
    • Agents built on LangChain
    View code
    Technical details
    Name
    langchain-anthropic
    What it is
    Code library
    How to use it
    Install it and use it
    Install
    pip install langchain-anthropic
    Licence
    MIT License (read from libs/partners/anthropic/pyproject.toml (licence field))

Works well with

  • Chroma

    29.3k GitHub stars

    Search infrastructure for AI

    • Vector databases
    • Apache 2.0
  • Ollama

    181k GitHub stars

    Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

    • LLM & inference
    • MIT License

Comments

No comments yet. Be the first to share your thoughts.