Skip to main content

work-packet

Agents as processes. A packet is a directory that holds everything needed to pick a piece of LLM work up again: the next instruction (memento.md), its status, its private state, links to the outside world, and a journal of every step. A small deterministic executor (wpk) runs one step at a time with claude -p, commits the result atomically, and decides when the packet runs next: now, in ten days, or every Monday.

Status: pre-alpha. The Stage 1 commands work against a fake model in the test suite, and short projects have run end to end against the real claude with Haiku. A week of real use is next (M8 in docs/stage1-plan.md).

pip install 'work-packet[dash]'   # wpk and the board; [dash,tui,studio] for everything

Documentation: https://dvkit.org/work-packet/work-packet/

wpk setup                  # a guided setup, with a shell built in (pip install 'work-packet[tui]')
wpk doctor my-project      # what the setup has, what it lacks, and the command for each
wpk new count-demo --prompt "Increment state/count.md until it reaches 8, then spawn a child that writes Hello World"
wpk new my-task --here     # in a clone (or any folder): it becomes the packet, steps work in it
wpk start issue issue=github:owner/repo#12   # a packet from an issue: clone, branch, objective (docs/starters-v1.md)
wpk watch                         # boards' watchers: a packet per new labelled issue ([[watch]] in boards/<board>.toml)
wpk pr <project> [--draft]        # hand a packet back to its forge: push its branch, open a pull request
wpk seen [<project>… | --all]     # finished projects not looked at yet; mark them seen
# The dashboard's New task does the same: a folder, a repo (searched on your forges), an issue.
wpk convert old-project    # a v0.2 project into that layout (no-repo projects for now)
wpk tick --until-idle      # or from cron: */5 * * * * wpk tick -j 2
wpk ps                     # what is running, sleeping, paused or failed
wpk log count-demo         # the root packet's journal; --step N for one step
wpk check                  # validate everything against docs/spec.md
wpk dash                   # the board at http://127.0.0.1:7878/ (pip install 'work-packet[dash]')
wpk dash --tailnet         # also on your tailnet, for your tailnet login only (docs/server.md)
wpk dash --run             # ... and run due packets: New task, Compose with a shell, Next batch
wpk next my-project -f next.md   # a stopped (or finished) task's next batch of work
wpk stats                  # per harness, model and profile: calls, context, cost, advice
wpk sched                  # the pool and its queue, each waiting packet with why (docs/scheduler.md)
wpk sched halt -m "lunch"  # nothing new starts; also stop -m WHY, resume, hold/release <project>
wpk prio my-project high   # a project's or packet's class; --next runs a packet next, once
wpk size <wpid> sim        # the job size a packet's steps get ([sched.sizes] in config.toml)
wpk serve --ensure         # wpkd in the background (cron on a login node); wpk url for ssh -L
wpk sched doctor           # can the pool run steps on its farm (a probe job)?

A packet made with --here keeps its card (<name>.wp.md) and .work-packet/ (settings, runs) at the folder's top, both hidden from git; the card is kept current as steps run. Plain wpk new still makes the v0.2 layout.

Also: wpk step, recover, show, pause, resume, adopt and rm; for setup (docs/setup.md), path, shell, add-input, add-smoke and instruct. wpk <command> --help describes each.

Documents

  • docs/roadmap.md: the idea, lessons from the prototype, and phases 0–5.
  • docs/spec.md: the packet format, v0.2. wpk check enforces it.
  • docs/runner.md: design of the runner, the dashboard and wpk new.
  • docs/starters-v1.md: starters, the ways to make a new packet (folder, repo, issue), forges, and boards' watchers.
  • docs/writing-a-starter.md: adding a way to make a packet, as a plugin.
  • docs/dash-tasks.md: the board as a workbench: new tasks, Compose, a shell in the browser, the next batch of work, and the runner in the server.
  • docs/stage1-plan.md: the detailed build plan for the first stage, with status.
  • docs/long-running.md: design for long-running projects: hand-off between a person and the runner, a git workspace inside the packet, the runner daemon and board actions, with a walkthrough and build plan.
  • docs/setup.md: setting a project up: wpk doctor (checks, each with a fix), the helper commands, [setup] in project.toml, and the wpk setup wizard with a shell built in.
  • docs/server.md: wpkd, one daemon for the runner and the board; the board on the tailnet with Tailscale identity as the login, no root.
  • docs/scheduler.md: the scheduler in wpkd: priority classes, a token budget paced by class, LSF/SLURM slots for steps and IDEs, halt and pause from the board. Built through Q4 (local and SLURM backends, tested against a fake batch system); docs/scheduler-plan.md tracks it, and docs/sched-guide.md is the user guide.
  • docs/vscode-plan.md: VS Code on a packet or a work folder: wpk ide, desktop links over Remote-SSH, and web VS Code under the board's /ide/ ([ide] web = true). Supersedes the build plan in docs/ide.md.
  • docs/context.md: context size and session length: per-call measurement, the protocol in the system prompt, a context budget hook and session carry-over between steps, with live E7 measurements.
  • docs/work-data-design.md: cards, the history store and run binding (v1 data design); docs/implementation-v1.md, docs/migration-v1.md, docs/dash-history-v1.md and docs/run-binding-v1.md track building it.
  • docs/sites.md: site packages: plugin entry points, the site config layer, [plugins], job sizes.
  • docs/studio-guide.md: the studio: work on a packet live with an agent, a canvas of what it makes, recorded as one step. docs/interactive-tasks.md is its design and docs/studio-plan.md the build plan with status.
  • docs/collaboration.md: people and agents working on one packet: whose move it is, presence instead of locks, a typed inbox, the Desk, planning fields and a daily focus brief. docs/collaboration-plan.md is the build plan with status, docs/collaboration-spike.md the hooks spike, and docs/collaboration-guide.md the user guide. docs/where-we-stand.md says what is built and what comes next.
  • docs/session-checkpoint.md: checkpoints: where a packet stands after work by hand, the scribe's drafts and the /wpk-checkpoint skill.
  • docs/harness.md: harness adapters (Claude Code now; Codex and OpenCode surveyed), model profiles, and wpk stats with advice.
  • slides/work-packet.pptx: overview deck (built from slides/*.js).
  • prototype/: the original experiment, kept as evidence. Its failures become regression tests.

Development

ivpm update                  # venv at packages/python, deps from pyproject.toml
uv pip install --python packages/python/bin/python --no-deps -e .   # once: wpk itself
packages/python/bin/pytest -q

ivpm.yaml installs pyproject's runtime deps plus the dash and tui extras, pytest, and an editable clone of dv-flow-mgr in packages/dv-flow-mgr (co-developed; wpk doesn't need it to run). ivpm doesn't install the root project, hence the second line. It survives later ivpm update runs, but you have to repeat it if packages/python is recreated. ivpm update -d default gives runtime deps only.

Python 3.10 is the floor, because that is what the Forgejo CI runner has.

License

Apache-2.0.

Metadata

Release files for work-packet 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for work-packet 0.1.0
File Size Uploaded Provenance Actions
work_packet-0.1.0.tar.gz 5.0 MB Without provenance Details for work_packet-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for work-packet 0.1.0
File Interpreter ABI Platform Actions
work_packet-0.1.0-py3-none-any.whl Python 3 none any Details for work_packet-0.1.0-py3-none-any.whl

Total release size: 9.8 MB

Release files / work_packet-0.1.0.tar.gz

Download URL work_packet-0.1.0.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
8bb4d8d584036c9827e19d42bdcb574d7239433978687d0c49f2792a5c5dfb4a
BLAKE2b-256 checksum
How to use checksums
b3b9b340f38334444d72a207c447f2ad5e2d380b6e17f47b5213e21e4b911b05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / work_packet-0.1.0-py3-none-any.whl

Download URL work_packet-0.1.0-py3-none-any.whl
Size 4.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
daee993fec182cd149c6c91fc656a69936086db45f58076e46ca9efdfb5bbb6b
BLAKE2b-256 checksum
How to use checksums
e87ebfb282b61acaa1c5375e445e1100c9663c2963fd1b3965e72c34ea35bef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for work-packet 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page