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.3.tar.gz (55.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.3-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencommand-0.1.3.tar.gz
  • Upload date:
  • Size: 55.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.3.tar.gz
Algorithm Hash digest
SHA256 994b3119fc2ac318b7d95fbe6bd81a2315326d7f5d9740f7b13af75371b39408
MD5 706deb0e0ed5641109a219d7f1475d3d
BLAKE2b-256 a9184b91632ddf4537704c59f80cfac443ed45dfc6979dec0ef4fcadcf9a8490

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencommand-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 74.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89e4889a879bb9060bad83991bb6660995a086046e7541083a05725f6f9782b8
MD5 f081a5ca3b9230f7ac0075288cb3c1e5
BLAKE2b-256 5c8d35f3e2f6c5dca8470a881b37de846a19b216035be2956a153c7f6cf39c70

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