Autonomous coding agent · Team of 3 · 42 Le Havre
Agent Smith
Reason, run, read the error, go again.
- Reasonthe model picks the action
- Writea single block of Python
- Runisolated process, restricted builtins
- Readoutput or error, then go again
- 30 s
- maximum per run, with 512 MB of memory, by default
- 9
- MCP tools to read, edit, search, test and extract the patch
- 4
- LLM providers behind an OpenAI-compatible client
Problem
Let a language model write and run code on its own, on functions to validate as well as real repository bugs, without ever trusting it.
Solution
The agent writes a block of Python, runs it, reads the output or the error, then goes again until the tests pass. Generated code runs in a separate process with restricted builtins, with MCP tools injected as plain functions.
- read_file
- edit_file
- list_files
- search_code
- search_function_or_class_definition_in_code
- find_references
- run_tests
- get_patch
- run_command
- Process
- separate, restricted builtins
- Imports
- allowlisted
- Timeout
- 30 s by default
- Memory
- 512 MB by default
- MBPP
- write a function that passes the tests
- SWE-bench
- fix a real bug inside Docker
Python · MCP · LLM APIs · Docker · SWE-bench