Skip to main content

PromptCadence

A plan-approved, tier-routed agent loop over LoadCoach in which every step is proposed in a plan, the plan is approved against governance policy and remaining budget before any step executes, and every turn that does execute is fully reconstructable afterwards — which model ran it, on which tier, on what data, at what cost, under whose approval.

Status: 1.0.0 (M12). Every phase of the development plan is built and gated: planning with corrective retries and three approval modes, the ExecutionIntent every turn runs under, sandboxed tools under ToolYard's isolation ladder, the budget over LoadLedger with three ceilings, egress governance over Commissioner with a durable decision per turn, per-step retry, context compaction as a view, the composed and materialized explanation, the operator console, the retention sweep, the security checklist and the prompt-injection corpus as release gates, and every spec §15 budget asserted. Remote tiers refuse honestly until LoadCoach has a registration declaring remote = true and the tier is priced (ADR-0098). See docs/ for the operator set and the development plan for what each phase added.

Part of the Local AI Suite. Reaches a model only through LoadCoach's HTTP API — it never imports a model provider directly (ADR-0045 in the suite's shared documentation).

Install

pip install promptcadence
promptcadence serve

Starts on 127.0.0.1:8768 with zero configuration. Health reports the loadcoach component degraded (not unavailable) when no LoadCoach is reachable — PromptCadence requires LoadCoach for execution, never for startup. See docs/apps/promptcadence/spec.md §12 for the full configuration surface and PROMPTCADENCE_* environment variables.

Quickstart

pip install promptcadence
promptcadence serve            # starts the API on 127.0.0.1:8768
promptcadence health --json    # same health data the API reports, from the CLI
promptcadence run "summarize the files in ./notes" --follow     # plan, approve, execute, explain
promptcadence run "summarize the files in ./notes" --bypass-planning --follow
promptcadence trajectory explain <id>                           # every model, tier, tool call, debit, egress verdict
promptcadence --help

Open http://127.0.0.1:8768/ for the console. Read docs/quickstart.md next.

PromptCadence 1.0 is tested against LoadCoach 1.1.0 and needs ≥ 1.1: the declared finish reason on the wire (spec §11 contract 6 — an undeclared finish is never read as success), tool definitions and tool_calls on /generate, and the serving registration's is_remote on every response. See docs/upgrading.md for the compatibility table.

Documentation

Read this For
docs/README.md The operator set: quickstart, configuration reference, tiers, security, operations, troubleshooting, upgrading, the OpenAPI snapshot
docs/apps/promptcadence/spec.md Purpose, scope, non-goals, public contracts, configuration, acceptance criteria
docs/apps/promptcadence/lifecycle.md The trajectory state machine, deviation categories and estimator
docs/apps/promptcadence/development-plan.md The phased build plan: goals, work, tests, acceptance criteria per phase

Development

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pre-commit install
pytest -m "not live and not performance"

See SECURITY.md for how to report a vulnerability.

License

Apache-2.0 — see LICENSE.

Download files

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

Source Distribution

promptcadence-1.0.0.tar.gz (763.0 kB view details)

Uploaded Source

Built Distribution

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

promptcadence-1.0.0-py3-none-any.whl (425.4 kB view details)

Uploaded Python 3

File details

Details for the file promptcadence-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for promptcadence-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ba193a2d9e238ad3b23320d9568ff9e52e2c85efd131d088e73d99fce64126f1
MD5 2753c639a6898e8382d5e5767f706b63
BLAKE2b-256 1c018874516aa7a14decf6b43c1a6cbdc87bfb48700826e1ef3db89b0c9d97e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptcadence-1.0.0.tar.gz:

Publisher: release.yml on JPKell/PromptCadence

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

File details

Details for the file promptcadence-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for promptcadence-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7509523a294a9b607f710020896cf31f5af34dbee22100b8990f278aadf5dbc0
MD5 442e5706015a2ae7445303721e7fc4bc
BLAKE2b-256 dc68182251b8c14775eb1ee7229a7bf091827481709e4d0b29013f89c2064211

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptcadence-1.0.0-py3-none-any.whl:

Publisher: release.yml on JPKell/PromptCadence

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

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.1

2 files

This release

1.0.0 This release

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