Skip to content

Repository files navigation

Local SWE Agent

Runs mini-swe-agent against a local Ollama instance (qwen2.5-coder:7b) — no cloud API keys required.

Prerequisites

  • Docker (with Compose)
  • uvcurl -LsSf https://astral.sh/uv/install.sh | sh

Usage

Give it a task

./run.sh "fix the bug in src/parser.py where empty strings cause a crash"

Interactive mode (no task argument)

./run.sh

How it works

run.sh does everything in order:

  1. Starts the Ollama Docker container (pulls qwen2.5-coder:7b on first run — ~4 GB)
  2. Waits until Ollama is ready to accept requests
  3. Launches mini-swe-agent via uvx (no install needed), pointed at the local model

Configuration lives in mini.yaml. The model runs entirely on your machine.

Code Statistics

pie showData
    title Code by language
    "YAML" : 91
    "Markdown" : 42
    "Shell" : 16
    "JSON" : 10
    "Python" : 9
    "Other" : 7
Loading
Language Files Lines Blanks Comments Code Complexity
Markdown 2 59 17 0 42 0
Python 2 11 2 0 9 1
Shell 2 26 5 5 16 3
YAML 2 117 22 4 91 0
Dockerfile 1 13 4 2 7 3
JSON 1 10 0 0 10 0
Total 10 236 50 11 175 7
  • Estimated Cost to Develop (organic): $4,332
  • Estimated Schedule Effort (organic): 1.74 months
  • Estimated People Required (organic): 0.22
  • Processed: 7,090 bytes (0.007 megabytes)

Generated with scc on 2026-09-09

About

Runs mini-swe-agent against a local Ollama instance (qwen2.5-coder:7b) — no cloud API keys required.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages