← Chat

MoA Chat Documentation

MoA Chat is a multi-agent AI system where several AI models answer a prompt independently, and a fourth model (the Aggregator) synthesizes their responses into a final answer.

MoA Diagram

How it Works

How to Self-Host

  1. Clone the repository.
  2. Create a `.env` file with your API keys (OpenRouter, Together, Grok, etc.).
  3. Edit `llm/model_config.json` to configure providers and models.
  4. Run the app:
    pip install -r requirements.txt
    python app.py
  5. Deploy to Hugging Face Spaces if you prefer (using Docker or Python template).

Adding More Models

To add models, simply edit `llm/model_config.json`. Example:

"models": {
  "newmodel/awesome-13b": "openrouter",
  "another/model-v2": "together"
}
      

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3).

You are free to use, modify, and share this project as long as you also make your changes available under the same license.

Made with ❤️ in Panamá • Powered by Open Source