charter-daemon
Long-lived worker that multiplexes Charter runs over one gateway connection.
The local charter CLI hands off --detached runs to this daemon over a
Unix-domain socket; the daemon keeps a single outbound WebSocket to
charter-gateway so runs and
their events flow through one authenticated channel regardless of how many
runs are in-flight.
charter-daemon is part of the Charter toolchain: workflow-as-code with the discipline of a CI pipeline — typed inputs, explicit checkpoints, durable state, and an auditable record of what happened.
How it fits in
charter (CLI) ──unix socket──> charter-daemon ──websocket──> charter-gateway
│
└── ManagedRun (charter-core)
- Project-scoped: one daemon instance serves one Charter project root.
- Host-installed: runs alongside the
charterCLI on the same machine. - One gateway connection per daemon: backpressure and authentication are concerns of the gateway, not of each individual run.
The project runtime in .charter/.venv is required when detached workflow
runs execute project-installed integrations or workflow-local Python code,
but not just to start the daemon process.
Install
pip install charter-daemon
Requires Python 3.11+ and a compatible charter-core.
Run
charter-daemon start --project-path /path/to/project \
--gateway http://127.0.0.1:8765
Run charter-daemon --help for the full option list. Typical deployments
bring up charter-gateway alongside the daemon via the
charter-localdev Docker
Compose stack.
Development
uv sync --group dev
uv run pytest
uv run ruff check charter_daemon tests
uv run ruff format charter_daemon tests
Install pre-commit hooks once with uv run pre-commit install.
License
Released under the MIT License. See CHANGELOG.md for the release history.
Metadata
Release files for charter-daemon 0.0.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 | |
|---|---|---|---|---|
| charter_daemon-0.0.1.tar.gz | 32.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| charter_daemon-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.0 kB
Release files / charter_daemon-0.0.1.tar.gz
| Download URL | charter_daemon-0.0.1.tar.gz |
|---|---|
| Size | 32.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f223df2161dde24786bc82d673850eb1233a37be2e248e95729b936824a49f1d
|
|
BLAKE2b-256 checksum How to use checksums |
78882162cefed9f92a97eb476eda69ebb9a5a19c3cebf6c778dd3b4092f0d452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 20, 2026.
Transparency logRelease files / charter_daemon-0.0.1-py3-none-any.whl
| Download URL | charter_daemon-0.0.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d053d7fa52419fb5852e21e871ba8a3accd9a78c8c5b861e8eddead98616baf
|
|
BLAKE2b-256 checksum How to use checksums |
625a1708030f4be7ffccb08ff3f4c1ba3f979565c66d99426de073d686f6d3e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 20, 2026.
Transparency logSecurity for charter-daemon 0.0.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 charter_daemon-0.0.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 May 20, 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.