XAgent supports autonomous complex task solving with a large language model agent.
AI Legion
AI Legion provides an autonomous agent platform powered by large language models.

About AI Legion
AI Legion is an open-source framework for running autonomous agents powered by large language models. The agents are designed to work together on tasks. The project is set up with Node and npm. It needs an OpenAI API key, and web search also requires a Google Custom Search engine ID and API key, with the Google Custom Search API enabled on the Google Cloud account. Agents are started from the command line with a chosen number of agents and a model, either gpt-3.5-turbo or gpt-4. Messages typed into the console are sent to all running agents.
Each agent saves its memory, goals and notes in a local .store directory, so it resumes where it left off when restarted. Developers can delete stored state to reset an agent, or remove later memory events to replay a moment and debug a problem. New agents often make action errors early on. The README warns that gpt-3.5-turbo agents can enter endless error loops that use tokens quickly, and advises never leaving an agent unattended.
Key features
- Starts a chosen number of autonomous agents from the command line
- Lets you select gpt-3.5-turbo or gpt-4 as the model at startup
- Sends console messages to all currently running agents
- Supports agent web search through the Google Custom Search API
- Stores each agent's memory, goals and notes in a local directory
- Allows deleting or editing stored events to replay and debug an agent
- Open source under the MIT license
- Agent state persists between runs, which supports replaying and debugging a specific moment
- Requires an OpenAI API key and, for web search, a Google Custom Search setup
- The README advises against leaving agents unattended because error loops can consume tokens quickly
- gpt-3.5-turbo agents sometimes get stuck in endless error loops
AI Legion at a glance
- Website
- github.com/eumemic/ai-legion
- Category
- AI & Machine Learning › AI Agents & Automation
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
AI Legion alternatives
Tools and sites you could use instead, ranked by how closely they match.
This repository provides code for building agents controlled by large language models.
ThinkGPT provides agent techniques intended to extend the capabilities of large language models.
JARVIS connects large language models with machine learning models and tools from the ML community.
Use L2MAC, an automatic computer framework built around large language models.
SymbolicAI explores a neurosymbolic approach to large language models.
Popular in AI Agents & Automation
Well-known listings from the same topic.
AI Legion FAQ
What do I need before running AI Legion?
What happens to agent state when I stop and restart?
Can agents run without supervision?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












