mobitouchOS/MaIN.NET

NuGet package designed to make LLMs, RAG, and Agents first-class citizens in .NET

C#

200

177 commits

updated Aug 25, 2026

See the code

README

MaIN.NET

Build Status Download Count example Please star the repo to show your support for this project! ⭐️

MaIN (Modular Artificial Intelligence Network) is a versatile .NET package designed to streamline the integration of large language models (LLMs) into advanced AI workflows. Whether you're developing chatbots, automating processes, or exploring innovative AI techniques, M.A.I.N offers a flexible and robust foundation to build upon. The name reflects our core vision—a modular network connecting diverse AI methods into one unified ecosystem.

The work on the package started with the learning and inspiration gained by using the LLamaSharp project and currently this project powers the local models. If you like this project, show your love also to them ❤️


🚀 Quick Installation

M.A.I.N is available on NuGet as MaIN.NET. To install, simply run:

dotnet add package MaIN.NET

Or, using the NuGet CLI:

nuget install MaIN.NET

For more details on installation and configuration, please refer to our documentation.


🛠 MaIN Documentation (www.usemain.net)

The interactive documentation at www.usemain.net lets you explore MaIN.NET through a set of specialised AI agents — each tuned to a different kind of task.

AgentPurpose
ChattyAnswers framework questions and looks up docs with direct, no-fluff responses
CodeGenerates complete, runnable C# projects wired to MaIN.NET and delivers them as a downloadable ZIP
DesignArchitects multi-agent systems, recommends backend strategies, and researches patterns from the live repo
ReviewAudits MaIN.NET usage for correctness, performance, and security; reviews GitHub PRs on request
ForgeAll-in-one agent that combines Code, Design, and Review in a single conversation and can open GitHub PRs

🌟 Our Vision

M.A.I.N is more than just a package—it's a stepping stone towards a complete AI ecosystem. Our goal is to connect diverse AI techniques into one modular framework, making advanced AI accessible and affordable to all users. Built with a low-code philosophy in mind, M.A.I.N empowers developers and non-developers alike to create powerful AI applications with ease.


🤝 Contribute

We welcome contributions from developers, researchers, and AI enthusiasts. Join our community and help shape the future of M.A.I.N!

  • Join our Community:
    Connect with us on Discord to share ideas, ask questions, and collaborate.

  • Follow Us on X (ex Twitter):
    Stay updated with the latest news and announcements by following us on X.

Thank you for being part of our journey. If you like the idea, smash star button!

agents
ai
chat
claude
csharp
dotnet
grok
llm
net
nuget
ollama
openai
rag

mobitouchOS/MaIN.NET

NuGet package designed to make LLMs, RAG, and Agents first-class citizens in .NET

C#

200

177 commits

updated Aug 25, 2026

See the code

README

MaIN.NET

Build Status Download Count example Please star the repo to show your support for this project! ⭐️

MaIN (Modular Artificial Intelligence Network) is a versatile .NET package designed to streamline the integration of large language models (LLMs) into advanced AI workflows. Whether you're developing chatbots, automating processes, or exploring innovative AI techniques, M.A.I.N offers a flexible and robust foundation to build upon. The name reflects our core vision—a modular network connecting diverse AI methods into one unified ecosystem.

The work on the package started with the learning and inspiration gained by using the LLamaSharp project and currently this project powers the local models. If you like this project, show your love also to them ❤️


🚀 Quick Installation

M.A.I.N is available on NuGet as MaIN.NET. To install, simply run:

dotnet add package MaIN.NET

Or, using the NuGet CLI:

nuget install MaIN.NET

For more details on installation and configuration, please refer to our documentation.


🛠 MaIN Documentation (www.usemain.net)

The interactive documentation at www.usemain.net lets you explore MaIN.NET through a set of specialised AI agents — each tuned to a different kind of task.

AgentPurpose
ChattyAnswers framework questions and looks up docs with direct, no-fluff responses
CodeGenerates complete, runnable C# projects wired to MaIN.NET and delivers them as a downloadable ZIP
DesignArchitects multi-agent systems, recommends backend strategies, and researches patterns from the live repo
ReviewAudits MaIN.NET usage for correctness, performance, and security; reviews GitHub PRs on request
ForgeAll-in-one agent that combines Code, Design, and Review in a single conversation and can open GitHub PRs

🌟 Our Vision

M.A.I.N is more than just a package—it's a stepping stone towards a complete AI ecosystem. Our goal is to connect diverse AI techniques into one modular framework, making advanced AI accessible and affordable to all users. Built with a low-code philosophy in mind, M.A.I.N empowers developers and non-developers alike to create powerful AI applications with ease.


🤝 Contribute

We welcome contributions from developers, researchers, and AI enthusiasts. Join our community and help shape the future of M.A.I.N!

  • Join our Community:
    Connect with us on Discord to share ideas, ask questions, and collaborate.

  • Follow Us on X (ex Twitter):
    Stay updated with the latest news and announcements by following us on X.

Thank you for being part of our journey. If you like the idea, smash star button!

agents
ai
chat
claude
csharp
dotnet
grok
llm
net
nuget
ollama
openai
rag

Languages

C#

81.1%

HTML

13.4%

CSS

3.6%

PowerShell

1.0%