Skip to main content

Local-first swarm agent framework: a Commander plans and dispatches a swarm of Workers that research, code, test, and interactively drive the computer to complete long-horizon codebase goals.

Project description

OpenCommand

Local-first swarm agent framework. A Commander model plans and dispatches a swarm of Workers that research, code, test, and interactively drive the computer (mouse, keyboard, screen) to complete long-horizon codebase goals.

Everything runs embedded — models are GGUF files loaded directly with llama-cpp-python (no API servers, no network at runtime). Designed for Python 3.14 (free-threaded).

Install

# Run without installing (ephemeral):
uv tool run opencommand --help

# Or install globally:
uv tool install opencommand
playwright install   # optional, for the playwright tool

Note: the llama-cpp-python prebuilt CPU wheel may crash on older CPUs (illegal-instruction). If so, rebuild from source with AVX2:

call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
set CMAKE_ARGS=-DGGML_AVX2=ON
uv pip install --no-binary llama-cpp-python --no-cache llama-cpp-python

Usage

opencommand models list                 # list built-in embedded models
opencommand models pull all             # download GGUF models into ./models
opencommand config                      # interactive menu: workers, batch size, GPU, etc.
opencommand run "Add unit tests for the engine module."
opencommand run --goal-file Goal.md    # run from a Goal.md spec (intended state)
opencommand run "Build a Panda3D FPS" --pipeline advanced --verify "uv run pytest -q"
opencommand tui                         # live swarm dashboard
opencommand cron add healthcheck "every 1h" "echo ok"

Goal.md spec

Instead of an inline goal, point run at a Goal.md file that defines the intended end state / requirements for the session. Its contents become the goal fed to the swarm (and the advanced pipeline's review gate checks against it):

opencommand run --goal-file Goal.md

The file name is configurable via opencommand config (default Goal.md).

Built-in models

Role Model
commander deepreinforce-ai/Ornith-1.0-9B-GGUF
worker unsloth/Qwen3-4B-Instruct-2507-GGUF
vision unsloth/Qwen3-VL-4B-Instruct-GGUF
vision_small openbmb/MiniCPM-V-4.6-gguf

Links

  • DESIGN.md — full architecture & research notes
  • TODO.md — roadmap tracker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencommand-0.1.4.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencommand-0.1.4-py3-none-any.whl (76.9 kB view details)

Uploaded Python 3

File details

Details for the file opencommand-0.1.4.tar.gz.

File metadata

  • Download URL: opencommand-0.1.4.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for opencommand-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d8e9570c48a4e68f1fddf4ec491bdc47e49871c11080b1696cb2264a544ed001
MD5 ac07ae702ef0dbf04fc46e6d539873fd
BLAKE2b-256 51755500f87b11291891f1b02b8d57e1f5ed52405ee63d431a991115c8056ec6

See more details on using hashes here.

File details

Details for the file opencommand-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: opencommand-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 76.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for opencommand-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7a35d7bcd4f52649d897f0b160c197b687e97df03c7f47ea945d5337718f43
MD5 cd87b50397bec813f85ffcf556219659
BLAKE2b-256 9aa9c337a75298a0d5faacbdf48b121a7b6c4d92caff93dbafd6bc3d7dbdd9e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page