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 ❤️
M.A.I.N is available on NuGet as MaIN.NET. To install, simply run:
dotnet add package MaIN.NETOr, using the NuGet CLI:
nuget install MaIN.NETFor 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.
| Agent | Purpose |
|---|---|
| Chatty | Answers framework questions and looks up docs with direct, no-fluff responses |
| Code | Generates complete, runnable C# projects wired to MaIN.NET and delivers them as a downloadable ZIP |
| Design | Architects multi-agent systems, recommends backend strategies, and researches patterns from the live repo |
| Review | Audits MaIN.NET usage for correctness, performance, and security; reviews GitHub PRs on request |
| Forge | All-in-one agent that combines Code, Design, and Review in a single conversation and can open GitHub PRs |
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.
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!