XAgent supports autonomous complex task solving with a large language model agent.
L2MAC
Use L2MAC, an automatic computer framework built around large language models.

About L2MAC
L2MAC is an open-source Python framework that runs LLM agents to produce long, consistent outputs such as complete codebases from a short prompt. It creates a prompt-program of instruction steps, runs each step in an LLM agent with context managed by a control unit, and reads and writes intermediate and final results to a persistent file store.
It can be used from the command line or as a Python library, with generated code saved to a local ./workspace folder and returned as a dictionary. Use requires Python 3.7+ and configuration of an LLM provider, model, base URL, and API key.
Key features
- Generate full codebase from single-line prompt
- Output codebase as dictionary and local ./workspace folder
- Self-generates and executes multi-step prompt-program
- Reads and writes persistent file-store memory via tools
- Checks syntax errors and runs existing unit tests
- Usable via CLI or Python library import
- Open source with CLI and Python library use
- Designed to produce outputs longer than a single LLM context window
- Includes syntax checks and unit test runs for code tasks
- Requires Python 3.7+ installation and setup
- Requires user to configure LLM provider and API key
L2MAC at a glance
- Website
- github.com/samholt/l2mac
- 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 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
L2MAC 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.
SymbolicAI explores a neurosymbolic approach to large language models.
This repository provides an open source framework for self evolving language agents.
Popular in AI Agents & Automation
Well-known listings from the same topic.
L2MAC FAQ
How do I install L2MAC?
How do I configure L2MAC?
How do I generate a codebase?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












