Hornet
Give a local model a coding goal. Keep the work when the conversation ends.
Hornet turns a goal into small cells with explicit file scopes, typed results, acceptance checks and attempt budgets. Each model request gets bounded working context. Files, failed attempts and recovery evidence stay on disk.
It is a command-line tool for developers using local models, including an OpenAI-compatible LM Studio server. Python 3.9+; no runtime Python dependencies.
Try one completed goal
- Open the v0.15.1 release.
- Download the starter ZIP,
SHA256SUMS,SHA256SUMS.asc, the public signing key andVERIFY-RELEASE.md. - Verify the download, extract it, and follow START-HERE.md inside.
The walkthrough installs Hornet, checks a local file contract, creates a new Ubuntu worker VM and asks your local model to fix a small Python function. The starter VM setup currently targets Windows + VirtualBox. The model runs on the host; agent code runs inside the dedicated VM.
Read the first-goal walkthrough and worker setup before running the demo. Use the downloadable starter for the ready-to-install wheel; GitHub's automatic source archive does not contain that wheel.
What Hornet keeps track of
| Need | Hornet's behavior |
|---|---|
| A task grows too large | Cells can execute, delegate, or delegate and work within configured limits. |
| Context keeps growing | Requests carry bounded context and references to saved evidence. |
| An attempt fails | The failed attempt stays available for inspection and later decisions. |
| The process stops | Saved checkpoints and operation receipts support resume; uncertain operations stop for inspection. |
| A decision is missing | A durable question waits without repeated inference or a response deadline. |
| A finished file needs a change | Target a saved goal and file with revise; retain the parent workspace. |
Workers currently execute sequentially. Separate goal directories share the VM account; the dedicated VM supplies the execution boundary. Passing generated checks is evidence of the checked behavior, and exported code still needs review.
Questions wait for you
hornet questions coding/recipes/RUN_ID
hornet answer coding/recipes/RUN_ID q-EXACT_QUESTION_ID --text "Use the existing configuration."
hornet autoresume coding/recipes/RUN_ID
An answer is saved before execution resumes. waiting_for_user is a pause;
completed is a separate result. There is no background model polling while a
required question waits. Use resume for standalone work runs.
A measured first run
In the 0.15.0 first-user trial, Gemma 12B completed the small coding demo using
16 model requests and 5 tool calls, with a peak input of 3,084 tokens.
Only calculator.py changed; independent checks returned [-6, 0, 14].
The original worker baseline was preserved.
That was one focused goal on a fresh Python environment and Ubuntu VM on an existing Windows host. It is not a general model-reliability benchmark. See the validation record.
Install from source
git clone https://github.com/matrixswarm/hornet.git
cd hornet
python -m venv .venv
On Windows:
.\.venv\Scripts\python.exe -m pip install .
.\.venv\Scripts\hornet.exe --version
On Linux/macOS:
.venv/bin/python -m pip install .
.venv/bin/hornet --version
PyPI publication is a later step. The signed GitHub release is the current download path. See the CLI reference for goals, revisions, contracts and recovery commands.
Project
Created and led by Daniel F. MacDonald, with AI engineering collaboration credited in AUTHORS.md. See CONTRIBUTING.md for development and SECURITY.md for the execution boundary and reporting.
License
Copyright (c) 2026 Daniel F. MacDonald. Licensed under AGPL-3.0-only; see LICENSE.
Victory Always.
Metadata
Release files for matrixswarm-hornet 0.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| matrixswarm_hornet-0.15.1.tar.gz | 219.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matrixswarm_hornet-0.15.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 358.6 kB
Release files / matrixswarm_hornet-0.15.1.tar.gz
| Download URL | matrixswarm_hornet-0.15.1.tar.gz |
|---|---|
| Size | 219.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbb64f8dd947be59ca520904e0a11c3b1408dc832acdf98f7ecc02faca12fab8
|
|
BLAKE2b-256 checksum How to use checksums |
3bcd7a7ffa3deb55c38ccbfbdff25a25c605a9ef76bc58517b50d8cf1bffbba5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / matrixswarm_hornet-0.15.1-py3-none-any.whl
| Download URL | matrixswarm_hornet-0.15.1-py3-none-any.whl |
|---|---|
| Size | 139.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1411906898999f813697de16a6fabecef78fe246a2c80bc82de741aa2d8c2023
|
|
BLAKE2b-256 checksum How to use checksums |
e080185f3bb1dfe9ae0cc7f9acc4b028cecbe7743be5f5fda8c5503a1365e48a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for matrixswarm-hornet 0.15.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for matrixswarm_hornet-0.15.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.