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.2.tar.gz (47.5 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.2-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencommand-0.1.2.tar.gz
  • Upload date:
  • Size: 47.5 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.2.tar.gz
Algorithm Hash digest
SHA256 49e6f031d3be8d06494cfe4eb24ba8fbf79fd5f4e727a095ebd94ddc89d65a38
MD5 9aab868c06bfd3cf802fff93d2733050
BLAKE2b-256 aed47bf8f06eefd88c2c79c2b9ebbb4d73aac6642349b9ca9c4f42f6dcd9302e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencommand-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 63.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 899371299ed3a4ac861d202958c77dd6701441ebeca1b49116cd3762a8ca15e6
MD5 0e25ce34d128d4a7972bf7d49066a874
BLAKE2b-256 997177b5a4a44d48b1fbdc5be4ccb515c5b9860bcd6f59d715167be9fe74d6a7

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