Spin up a new project from a one-line description with lexi build
Run lexi watch with --auto-fix on an existing app so it patches and redeploys on errors
Route different tasks to Nemotron, Claude Sonnet, GPT-4.1, and GPT-4.1-mini from one CLI
Sandbox generated code in a fresh Docker container before any deploy
Needs Docker plus paid API keys for OpenAI, Anthropic, and Nvidia before lexi build will run end to end.
Agent Lexi is presented in the README as an autonomous AI software engineer: you give it a plain-English project description and it claims to architect, code, test, deploy, and then keep maintaining the software with no human in the loop. The project is MIT licensed, written in Python, and the README is a feature description rather than a tutorial or research report. Star count is low (3), so this is an early-stage project. Internally, the README describes four named sub-agents plus a monitor. A Planner breaks a request into steps. A Coder writes the code inside a sandbox. A Reviewer checks it using tree-sitter parsing and tests. A Deployer builds and ships to the cloud. A Monitor then watches logs, spots errors, and triggers patch-and-redeploy cycles. The pitch is that this loop closes without a human paging in. Agent Lexi uses what the README calls multi-model routing. It picks Nemotron-Ultra for architecture and code review, Claude Sonnet for code generation, GPT-4.1 for quick edits, and GPT-4.1-mini for documentation, falling back to whatever is available. You configure the providers with environment variables prefixed LEXI_, including LEXI_OPENAI_API_KEY, LEXI_ANTHROPIC_API_KEY, and LEXI_NVIDIA_API_KEY. All generated code is supposed to run inside a fresh Docker container per project before deployment, where Lexi installs dependencies, runs tests, and only ships if checks pass. Code understanding is described as AST-based via tree-sitter, used for symbol navigation and safer refactors. The self-healing flow listed in the README watches stdout, stderr, and app logs, traces a root cause, writes a fix, tests it in the sandbox, and redeploys. Usage is a Python install with pip install -e .[dev] after cloning, then a CLI: lexi build with a project description in quotes to make a new project, or lexi watch on an existing folder with --auto-fix to keep maintaining it. Other settings include LEXI_DEFAULT_MODEL, LEXI_WORKSPACE, LEXI_DOCKER_IMAGE, LEXI_DEPLOY_TARGET, and LEXI_MONITOR_INTERVAL. The README ends with Solana and Bitcoin donation addresses.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.