FrostAura's Legion is a dotnet-based (C#) state-of-the-art multi-agent LLM framework.
Project | Status | Platform |
---|---|---|
FrostAura Legion Containerization | GitHub Actions | |
FrostAura Legion Docker | Docker Hub |
For this option, Docker should be installed and running on the host computer then, in the root of the project, open a terminal and start Legion using Docker Compose via a single command.
docker-compose up
Ensure that you set the required variables in the .env
file, in order for the docker-compose to work.
Currently Legion is configured to leverage a locally-running Ollama server.
TODO: Add config support and document an example.
TODO: Add status updating support and documentation.
TODO: Add support and documentation for configuration of a custom Ollama endpoint as well as typical OpenAI support.
/*
* Nuget Dependencies:
* -------------------
* dotnet add package FrostAura.AI.Legion
*
* Configuration:
* --------------
* appsettings.json or via environment variables (.env file).
*/
using FrostAura.AI.Legion.Extensions;
using Microsoft.Extensions.DependencyInjection;
/*
* Create dependency injection service collection (standard practice).
*
* NOTE: If you have an already-bootstrapped dotnet project, ensure you call AddLegion() to your existing service collection.
*/
var legion = new ServiceCollection()
.AddLegion()
.BuildServiceProvider()
.GetLegionInstance();
Console.Write("Your Query: ");
// This could be Console.ReadLine() for example in the event that we need user input.
var query = "What is the meaning of life?";
var response = await legion.ChatAsync(query, CancellationToken.None);
Console.WriteLine(response);
Console.ReadLine();
Content | Description |
---|---|
Repo Structure | The structuring of the repo. |
Design | The software architecture diagram(s) and design(s). |
Workflow | The software automated software pipeline(s). |
Support & Contribute | Basic queries, contributing to the repo and supporting the team(s) working on this open-source repo. |