| 1 | ---
|
| 2 | description:
|
| 3 | globs:
|
| 4 | alwaysApply: true
|
| 5 | ---
|
| 6 | # mini-SWE-agent overview
|
| 7 |
|
| 8 | - mini-SWE-agent implements an AI software engineering agent that solves github issues and similar programming challenges
|
| 9 | - The idea of this project is to write the simplest, smallest, most readable agent.
|
| 10 |
|
| 11 | The project is structured as
|
| 12 |
|
| 13 | ```bash
|
| 14 | minisweagent/__init__ # Protocols/interfaces for all base classes
|
| 15 | minisweagent/agents # Agent control flow & loop
|
| 16 | minisweagent/environments # Executing agent actions
|
| 17 | minisweagent/models # LM interfaces
|
| 18 | minisweagent/run # Run scripts that serve as an entry point
|
| 19 | ```
|
| 20 |
|
| 21 | - The project embraces polymorphism: Every individual class should be simple, but we offer alternatives
|
| 22 | - Every use case should start with a run script, that picks one agent, environment, and model class to run
|