#122 · Primary category: LLM Application Frameworks

LangChain

ai csharp dotnet langchain langchain-csharp langchain-dotnet llm openai sdk

C# implementation of LangChain. We try to be as close to the original as possible in terms of abstractions, but are open to new entities.

Project last updated:07/17/26

GitHub Stars

1.1K

Forks

139

Contributors

30

License

MIT

Why we included this project

.NET developers who want LangChain-style abstractions have mostly had to watch the Python ecosystem get the good tooling first. This project ports the chain, agent, and tooling abstractions to C#, and it deliberately keeps its options open: it leans on Microsoft's Semantic Kernel where useful and pulls in third-party libraries when they fit better. For a retrieval or document question-answering workflow running inside an ASP.NET service, the OpenAI provider, PDF document loaders, and SQLite-backed storage let you assemble the whole pipeline without wiring Python into your architecture. Maintenance matters when you depend on a community library in production, and the maintainer has been responsive, targeting a 24-hour PR turnaround and keeping an active Discord for questions. That makes it a solid choice for teams that want LangChain-style composability without committing to a fully managed vendor SDK.

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