# mini-SWE-agent

Minimal software engineering agent that works through Bash and records its steps as a linear history.

Canonical profile: https://ki-agentenkompass.de/en/agents/mini-swe-agent/
Editor: [Michael Meierhoff](https://ki-agentenkompass.de/en/about/)
Sources reviewed: 2026-11-16
Basis: provider documentation. Examples are editorial suggestions, not hands-on product tests.

## Overview

Officially recommended successor to SWE-agent. The original SWE-agent remains available for research into specialized tool interfaces.

- Provider: SWE-agent-Team / Princeton und Stanford
- Product family: mini-SWE-agent
- Profile type: Software engineering agent and research baseline.
- Environment: Python CLI and batch execution; local or in configured container environments.
- Connections: LiteLLM, OpenRouter and other model integrations; Docker, Podman and additional sandbox backends.
- Setup: Install the package, configure a model and select a local or isolated execution environment.
- Pricing model: Software under MIT without a licence fee; model use and self-hosting incur additional costs.

## Key features

### Bash as the tool

The agent runs actions as independent shell commands.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Inspect steps

The linear message history supports analysis and benchmark evaluation.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Execution environments

The README lists local execution, Docker, Podman and other backends.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Batch evaluation

Alongside the CLI, a documented batch interface supports evaluations.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Model adapters

LiteLLM, OpenRouter and additional adapters connect models.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

## Example workflows

### Work on a repository issue

- Your input: An issue description and prepared execution environment.
- Possible result: Code modified through shell steps with an execution history.
- What to check: Compare the patch and tests against project requirements.

### Evaluate models consistently

- Your input: The same coding tasks and prepared model access.
- Possible result: Trajectories from a batch run.
- What to check: Keep environment, costs and scoring rules consistent.

## Requirements and limits

### Choose execution environment

Requirement: Shell commands require an appropriately bounded workspace or sandbox.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Version 2

Limitation: The current main line is version 2; existing integrations must follow migration guidance.

Source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Domain review

Requirement: Outputs and actions that modify data require review appropriate to the use case.

Source: https://mini-swe-agent.com/latest/

## A good fit if …

- you want a compact coding agent or research baseline
- you want to work on coding tasks through traceable Bash steps
- you want to compare models in prepared local or isolated environments

## Less suitable if …

- you expect a comprehensive managed team interface
- you need personal long-term memory already configured

Editorial assessment based on provider documentation. Not a product test.

## Usable AI models

Open choice

The framework supports different models through LiteLLM, OpenRouter, Portkey and other adapters. Using Bash text rather than mandatory tool-calling APIs makes model integration flexible; suitability must be checked for each model.

- Model families named: None named · Other models can be connected freely
- Model choice: You choose
- Your own API key: Yes
- Router or custom endpoint: Yes
- Local models: Not stated

Partly documented · Sources accessed on: 2026-11-16

- [Offizielle Modellkonfiguration](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

## Europe & regional availability

Access and data processing are assessed separately.

Reviewed scope: mini-SWE-agent · documented product access
Reviewed on: 2026-11-16

### Access and regional conditions

With requirements

Source code and documented installation are publicly available. With self-hosting you choose storage locations; model and tool providers have separate terms and data flows.

Region covered: EU/EEA, United Kingdom and Switzerland

Documented reason: Deployment, licence and terms of connected services govern access.

Official source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

## Accounts & permissions

Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.

Configuration covered: mini-SWE-agent · Account and permissions
Sources reviewed: 2026-11-16

### Account used

Documented with conditions: The operator configures their own model and tool credentials.

Evidence: https://mini-swe-agent.com/latest/

### Admin approval

Documented with conditions: Approval rules for tools that write data must be set when configuring the specific agent.

Evidence: https://mini-swe-agent.com/latest/

### Data access & team sharing

Documented with conditions: The scope of action follows from configured tools and their credentials.

Evidence: https://mini-swe-agent.com/latest/

## Prices and included usage

Pricing checked: 2026-11-16

Software under MIT without a licence fee; model use and self-hosting incur additional costs.

### Self-operation

USD 0 licence fee

Software under MIT; compute, model calls and external services are separate.

Price source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

Pricing details: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

## Operation & oversight

Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.

Deployment covered: mini-SWE-agent · Execution and continuation
Sources reviewed: 2026-11-16

### Files and working state

Documented with conditions: The trajectory matches the linear message history. A separate personal-memory store remains unspecified here.

Evidence: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

### Sign-ins

Documented with conditions: Credentials must be available for the chosen model and tool providers.

Evidence: https://mini-swe-agent.com/latest/

### Starting further runs

Open in reviewed sources: Schedules and external triggers belong to the implementation; an end-to-end operational guarantee remains unspecified.

Evidence: https://mini-swe-agent.com/latest/

### Human intervention

Documented with conditions: Human review and cancellation points must be configured for the tools used.

Evidence: https://mini-swe-agent.com/latest/

### Detecting errors

Documented with conditions: The implementation must handle external-service failures and validate domain results.

Evidence: https://mini-swe-agent.com/latest/

### Resuming after failures

Open in reviewed sources: Persistent context must be assessed separately from resuming external actions.

Evidence: https://mini-swe-agent.com/latest/

### Editorial assessment

Editorial assessment of documented access. Operational responsibility and open points are given per criterion.

## Memory and conversation continuity

Scope: mini-SWE-agent · documented access
Sources accessed: 2026-11-16

Linear message and action history; persistent personal knowledge remains unspecified here.

### Storage and scope

Partly documented: The trajectory matches the linear message history. A separate personal-memory store remains unspecified here.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

### Selection and timing

Documented: Each step appends messages to the history.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

### Inspect, edit and delete

Partly documented: A trajectory browser supports inspection; an interface for learned facts remains unspecified here.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

### Agent and channel boundaries

Partly documented: Execution environments are configured; cross-account memory remains unspecified here.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

### Retrieval

Documented: The history provides context for the next model request.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

### Session reset and compaction

Partly documented: The README describes linear history; automatic fact compaction and reset rules remain unspecified here.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md)

## Context

Shell commands require an appropriately bounded workspace or sandbox.

Official product documentation reviewed. Workflows and assessments are editorial; hands-on product tests are outside the scope of this directory.

## Sources

- https://mini-swe-agent.com/latest/

- https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

- https://raw.githubusercontent.com/SWE-agent/SWE-agent/main/README.md

- https://github.com/SWE-agent/mini-swe-agent

## Provider

The Princeton and Stanford team behind SWE-agent and SWE-bench develops mini-SWE-agent as a smaller agent foundation.

- Operator: SWE-agent-Team / Princeton und Stanford
- Organization: Software project
- Website: https://mini-swe-agent.com/latest/
- Reviewed: 2026-11-16

- Repository: https://github.com/SWE-agent/mini-swe-agent
- GitHub-Stars: 9700 (2026-11-16)
- License: MIT

- Provider source: https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/main/README.md

- Provider source: https://github.com/SWE-agent/mini-swe-agent

[Sources and method](https://ki-agentenkompass.de/en/sources/)
