2026-11-27 16:21 UTC

Hornet offers resumable, checked coding workflows for local models

state: expiredheat: lowuncertainty: mediumrelevance: mediumdurable-execution local-llms agent-workflowsDaniel F. MacDonald

What is this?

Hornet is a released, open-source command-line tool for running coding workflows with local models. It breaks goals into bounded “cells” with explicit file scopes, typed results, acceptance checks and attempt limits, while saving files, failed attempts and recovery evidence to support inspection and resumption. The project documents a first-user trial in which Gemma 12B completed one small Python task; that single demonstration is not a general reliability benchmark. The supplied evidence is the project’s own documentation and a Hacker News listing, not independent validation.

Why it matters

Hornet is a practical, open-source harness for developers who want to run coding agents with local models while keeping work inspectable and resumable. Its bounded steps, checks, saved failures and recovery records address real agent-workflow problems, and may make small local models more usable for constrained coding tasks. But the evidence is chiefly the project’s own documentation: its Gemma 12B example is one small task, not proof of broad reliability or an advantage over other coding tools. The Windows-and-VirtualBox starter setup and sequential workers also limit what can be inferred about wider use.

Current assessment

The supplied project documentation describes Hornet as a released Python CLI (PyPI package `matrixswarm-hornet`, Python 3.9+) for coding workflows using local models, including an OpenAI-compatible LM Studio server. It divides goals into cells with file scopes, typed results, acceptance checks and attempt budgets; saves files, failed attempts and recovery evidence; supports checkpoints, resume and revisions; and pauses for user input when a decision is required. Workers currently run sequentially, and separate goal directories share a VM account; the starter walkthrough targets Windows with VirtualBox, with the model on the host and agent code in a dedicated VM. The project reports a 0.15.0 first-user trial: Gemma 12B completed one small Python task in 16 model requests and five tool calls, with a 3,084-token peak input and independent checks returning the expected values. The project explicitly says this is not a general reliability benchmark; generated code still needs review. This is a useful, concrete release for people experimenting with local-model coding agents, especially where bounded execution and recoverability matter. The supplied web results add no independent corroboration or comparative evaluation; the assessment rests on project-authored documentation and a Hacker News listing.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-22 18:21⭐ origin directly observedHornet: Building Durable Workflows for Local LLMs
matrixswarm on hacker news
—
10-22 18:21amplified on hacker news 👑hn.story.50199148
matrixswarm
peak 2 · 0 comments · 98% of case engagement
10-22 18:26our radar first saw it · +0.1hdiscovery anchor: hn.story.50199148—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Hornet: Building Durable Workflows for Local LLMs
Retrieved article excerpt

Open article · Retrieved 2026-10-22T18:28:48.856331+00:00

# 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.

## Install from PyPI

[Hornet on PyPI](https://pypi.org/project/matrixswarm-hornet/) is available as
`matrixswarm-hornet`. Install it in a Python 3.9+ virtual environment:

```
python -m pip install matrixswarm-hornet
python -m hornet --version
python -m hornet --help
```

The package also installs the `hornet` command. Follow the walkthrough below to
configure a worker VM and connect your local model for coding goals.

## Try one completed goal

1. Open the [v0.15.1 release](https://github.com/matrixswarm/hornet/releases/tag/v0.15.1).
2. Download the **starter ZIP**, `SHA256SUMS`, `SHA256SUMS.asc`, the public signing
   key and `VERIFY-RELEASE.md`.
3. 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](https://github.com/matrixswarm/hornet/blob/main/starter/START-HERE.md)
and [worker setup](https://github.com/matrixswarm/hornet/blob/main/starter/WORKER-SETUP.md)
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](https://github.com/matrixswarm/hornet/blob/main/docs/VALIDATION.md).

## 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
```

The PyPI 0.15.1 wheel and source distribution match the files in the signed
GitHub release. See the [CLI reference](https://github.com/matrixswarm/hornet/blob/main/docs/CLI.md)
for goals, revisions, contracts and recovery commands.

## Project

Created and led by **Daniel F. MacDonald**, with AI engineering collaboration
credited in [AUTHORS.md](https://github.com/matrixswarm/hornet/blob/main/AUTHORS.md).
See [CONTRIBUTING.md](https://github.com/matrixswarm/hornet/blob/main/CONTRIBUTING.md)
for development and [SECURITY.md](https://github.com/matrixswarm/hornet/blob/main/SECURITY.md)
for the execution boundary and reporting.

## License

Copyright (c) 2026 Daniel F. MacDonald. Licensed under **AGPL-3.0-only**;
see [LICENSE](https://github.com/matrixswarm/hornet/blob/main/LICENSE).

**Victory Always.**
matrixswarm20

Interpretation history

Decision trace