Skip to main content

Druks

Druks

[!WARNING] Druks is under active development. Expect breaking changes and rough edges before 1.0; main and latest are edge builds, not stable releases.

Druks is the self-hosted home for durable agent apps, running on the Claude and Codex subscriptions you already pay for. Ship comes bundled: autonomous software delivery from ticket to reviewed pull request.

An ordinary agent script loses its place when the process dies. A Druks workflow records the result of each completed durable operation in Postgres. After a restart or deploy, Druks replays the workflow and reuses those recorded results instead of repeating completed work. If the process was interrupted inside an operation, that operation may run again, so side effects still need idempotency. Durability and recovery explains the exact boundary.

Install

The installer supports three deployment shapes backed by Drukbox:

  • exe (default): exe.dev sandbox VMs over a tailnet
  • any provider name other than exe or docker: the generic remote shape
  • docker: local sandbox containers, with Drukbox running on the host

For a remote install:

bash <(curl -fsSL https://raw.githubusercontent.com/czpython/druks/main/scripts/install.sh)

That command follows the edge channel while Druks has no stable release. Once versioned releases exist, install the script and image from the same tag as described in the release process.

The first run creates ~/druks/druks.toml, generates secrets, renders .env, and prints any values still required. Edit druks.toml, then re-run the same command; it renders the complete .env artifact, pulls images, runs migrations, and starts the stack. Re-running is also the upgrade path. See the deployment runbook for prerequisites, access control, verification, and rollback.

For a laptop-only stack:

DRUKS_PROVIDER=docker bash <(curl -fsSL https://raw.githubusercontent.com/czpython/druks/main/scripts/install.sh)

Then follow full local setup to start Drukbox and connect the agent harnesses. A complete installation needs GitHub Apps because the bundled ship extension is installed; a standalone extension may have different integration requirements.

trigger ──> extension workflow ──> durable step ──> agent ──> sandbox
                 │                     │              │
                 │                     │              └─ Claude or Codex harness
                 │                     └─ result checkpointed in Postgres
                 ├─ event ──> feed / extension reaction
                 └─ gate  ──> wait for human or external system ──> resume

Platform and applications stay separate

Druks owns the execution and operating substrate:

  • DBOS workflows and queues backed by Postgres
  • typed human gates, cancellation, schedules, and observable run state
  • Claude and Codex harness dispatch through isolated Drukbox sandboxes
  • append-only events, live feeds, webhooks, notifications, MCP servers, and skills
  • validated operator settings, encrypted MCP/OAuth secrets, and the dashboard shell
  • extension discovery, API namespaces, and independent migration histories

An extension owns the application: its workflows, agents, domain models, routes, events, provider reactions, and optional dashboard pages. It is a normal Python distribution registered through the druks.extensions entry-point group. Installing the distribution registers it; Druks does not need an extension-specific plugin list.

Scaffold one with the published CLI, no checkout required:

uvx --from druks druks create extension night_watch

The generated project root carries an AGENTS.md with the contracts and a link to the authoring guide.

The bundled ship extension is a concrete example. It coordinates coding agents through tickets and GitHub pull requests, but GitHub PR orchestration is ship behavior—not the definition of Druks.

Documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

druks-0.1.0.tar.gz (270.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

druks-0.1.0-py3-none-any.whl (356.4 kB view details)

Uploaded Python 3

File details

Details for the file druks-0.1.0.tar.gz.

File metadata

  • Download URL: druks-0.1.0.tar.gz
  • Upload date:
  • Size: 270.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for druks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e5a309ffce69f15d1ce7cc4def31130e2e72ed7e780bf3fdfdb9f3a3768e8d2
MD5 01b2ad030e717ca73639332d652ef773
BLAKE2b-256 07e8d8e43ebdc7e4faa122cc38fe0fe40502349347c2cd55bab2242d96d91a08

See more details on using hashes here.

Provenance

The following attestation bundles were made for druks-0.1.0.tar.gz:

Publisher: release.yml on czpython/druks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file druks-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: druks-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 356.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for druks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5df4003f1db29fbaedb21a8d5562f3ace0cdb231dbca3461ee29fe308c3bf857
MD5 6f49c46d08c3adec431e35561d0c1ac8
BLAKE2b-256 5b8575cd4aba7fdc5b8e79bb494d49c41e1e3a739af085a638c079693127c1ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for druks-0.1.0-py3-none-any.whl:

Publisher: release.yml on czpython/druks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

0.0.1

2 files

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