AI Legion

Stale
GitHub TypeScript MIT

Description

AI Legion is an LLM-powered autonomous agent platform for creating, deploying, and managing multiple AI agents that collaborate on complex tasks with flexible task orchestration.

Key Features

  • LLM-powered autonomous agent platform with multi-agent collaboration
  • Support for multiple concurrent agents with real-time console interaction
  • Persistent agent state management with memory, goals, and notes storage
  • Google Custom Search integration for web search capabilities
  • Agent state replay and debugging — delete events to replay from specific points
  • Support for both GPT-3.5-Turbo and GPT-4 model selection per agent

Use Cases

💡 Deploy collaborative AI agent teams to solve complex multi-step problems
💡 Build autonomous research agents with web search and information synthesis
💡 Create persistent agent workspaces that retain context across sessions
💡 Develop and debug agent behaviors using state replay and event management

Quick Start

1. Install dependencies: `npm install` in the project root.
2. Create `.env` from `.env.template` and add your `OPENAI_API_KEY`.
3. Optionally configure Google Search API keys for web search capabilities.
4. Start: `npm run start [number-of-agents] [gpt-3.5-turbo|gpt-4]`.
5. Interact with agents through the console — type messages to communicate with all agents.

Related Projects