Overview - mini-SWE-agent documentation (original) (raw)

mini-swe-agent banner

The 100 line AI agent that's actually useful

Slack GitHub Release PyPI - Version

In 2024, SWE-bench & SWE-agent helped kickstart the coding agent revolution.

We now ask: What if our agent was 100x simpler, and still worked nearly as well?

mini is

SWE-agent jump-started the development of AI agents in 2024. Back then, we placed a lot of emphasis on tools and special interfaces for the agent. However, one year later, a lot of this is not needed at all to build a useful agent!

In fact, the mini agent:

This makes it perfect as a baseline system and for a system that puts the language model (rather than the agent scaffold) in the middle of our attention. You can see the result on the SWE-bench (bash only) leaderboard, that evaluates the performance of different LMs with mini.

Why use mini-SWE-agent as a tool?

Some agents are overfitted research artifacts. Others are UI-heavy frontend monsters.

The mini agent wants to be a hackable tool, not a black box.

Unlike other agents (including our own swe-agent), it is radically simpler, because it:

You should consider mini-swe-agent your default choice. In particular, you should use mini-swe-agent if

You should use swe-agent if

What you get with both

Upgrading to v2?

Check out our v2 migration guide for all the changes and how to update your code.

Continue reading:

📣 News

📣 New features

Please check the github release notes for the latest updates.

📣 Documentation updates