#110 · Primary category: LLM Application Frameworks
langchain-rust
🦜️🔗LangChain for Rust, the easiest way to write LLM-based programs in Rust
Project last updated:08/22/26
GitHub Stars
1.3K
Forks
176
Contributors
30
License
MIT
Why we included this project
Rust developers who want LangChain's composable workflow without running Python finally have a proper port to choose from. This implementation of LangChain provides a typed Rust API for OpenAI, Azure OpenAI, Ollama, and Anthropic Claude, alongside embeddings, document loaders, and vector-store backends like Qdrant, Postgres, OpenSearch, and SQLite. With those pieces you can assemble retrieval and Q&A pipelines, and the crate also bundles chains for conversational and SQL flows, tool-using agents, and semantic routing, so a single dependency covers a whole prototype. It ships on crates.io with runnable examples and a tutorial, which makes it easy for a small team to judge whether the ergonomics fit their codebase. Teams that want Rust's performance and safety without giving up the LangChain-style workflow will find a practical middle ground here.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform