Langchain banner
brainlid brainlid

Langchain

Design community

Description

Elixir implementation of a LangChain style framework that lets Elixir projects integrate with and leverage LLMs.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[![Elixir CI](https://github.com/brainlid/langchain/actions/workflows/elixir.yml/badge.svg)](https://github.com/brainlid/langchain/actions/workflows/elixir.yml) [![Module Version](https://img.shields.io/hexpm/v/langchain.svg)](https://hex.pm/packages/langchain) [![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/langchain)

![Logo with chat chain links](https://github.com/brainlid/langchain/blob/main/images/elixir-langchain-link-logo_32px.png?raw=true) Elixir LangChain

Elixir LangChain enables Elixir applications to integrate AI services and self-hosted models into an application.

**Supported chat models:**

  • Anthropic Claude - Claude models including extended thinking support and AWS Bedrock
  • OpenAI ChatGPT - GPT models via the Chat Completions API
  • OpenAI Responses API - OpenAI's newer Responses API with WebSocket transport support
  • xAI Grok - Grok-4, Grok-3-mini, Grok-4 Heavy (multi-agent), and more
  • Google Gemini - Gemini AI models
  • Google Vertex AI - Google's enterprise AI offering
  • DeepSeek - DeepSeek models with prompt caching support
  • Ollama - Locally hosted open-source models
  • Mistral - Mistral AI models
  • Perplexity - Perplexity AI models
  • orq.ai - orq.ai Deployments API
  • Bumblebee - Self-hosted models via Nx (Llama, Mistral, Zephyr)
  • ReqLLM - Multi-provider adapter via the req_llm library (Anthropic, OpenAI, Gemini, Groq, Ollama, AWS Bedrock, etc.)

**LangChain** is short for Language Chain. An LLM, or Large Language Model, is the "Language" part. This library makes it easier for Elixir applications to "chain" or connect different processes, integrations, libraries, services, or functionality together with an LLM.

**LangChain** is a framework for developing applications powered by language models. It enables applications that are:

  • Data-aware: connect a language model to other sources of data
  • Agentic: allow a language model to interact wit