Lightrun is an agentic platform for enterprise resilience that uses custom AI agents to prevent and resolve failures across software, systems, and business processes.
Mini SWE-Agent
Mini SWE-Agent is a minimal 100-line Python AI agent that uses only bash to solve software engineering tasks.
Overview
Read the migration guide . For the previous version, check out the v1 documentation or the v1 branch .
In 2024, SWE-bench & SWE-agent helped kickstart the coding agent revolution.
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!
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 .
Key Features
- Bash-only tool set
- About 100 lines of Python
- Linear message history
- Independent actions via subprocess.run
- Local and sandboxed environment support
- Support for all models via litellm
- Trajectory browser CLI
- Python bindings
What Can You Use It For?
- Running a coding agent locally from the command line
- Sandboxed benchmark evaluations
- Fine-tuning and reinforcement learning baselines
- Debugging agent trajectories
- Batch inference
MCP Integration
No MCP (Model Context Protocol) server is listed for Mini SWE-Agent yet. When one is available, its URL and setup guide appear here.
Affiliate Program
No affiliate program is listed for Mini SWE-Agent yet. When one is available, its link and terms appear here.
Know an official affiliate program for Mini SWE-Agent? Tell us
Frequently Asked Questions
Mini SWE-Agent is a minimal 100-line Python AI agent that uses only bash to solve software engineering tasks. Read the migration guide .
Its main features are: Bash-only tool set; About 100 lines of Python; Linear message history; Independent actions via subprocess.run; Local and sandboxed environment support.
It is for people who want a quick command line tool that works locally, an agent with a very simple control flow, faster and simpler sandboxing and benchmark evaluations, or a baseline for fine-tuning and reinforcement learning without overfitting to a specific agent scaffold.
Mini SWE-Agent is available as: Web app.
Alternatives on Tool Presence include Lightrun, Eidolon and AgentLine.
Alternatives and Related Tools
See MoreEidolon is an enterprise-grade, open source AI Agent Server and SDK for building and deploying agentic applications.
AgentLine gives AI agents a real US or Canada phone number to make and receive calls and send and receive SMS through one API.
Muse Spark Open is a natively multimodal open-weight model with 816B total parameters, built for coding and agentic work.


