Skip to main content

Durable Goals

Durable Goals helps AI agents keep working toward the same goal across long conversations, restarts, and multiple agent threads.

Instead of relying on chat history, it stores the goal, changes to the goal, evidence, and completion rules in the repository. A small DAG can also expose several independent goals so different threads can safely pick up different work.

It does not run agents or choose models. It gives Codex, Claude Code, local scripts, or another harness a shared answer to three questions:

  • What is the current goal?
  • What work is ready next?
  • What evidence proves the goal is complete?

Install

Requires Python 3.11 or newer and has no runtime dependencies.

uv tool install durable-goals

Or install it with pip:

python -m pip install durable-goals

Then use the dgoal command anywhere:

dgoal --version
dgoal init goals/my-goal \
  --goal-id my-goal \
  --objective "Describe what needs to be finished."

Try the example

From a clone of this repository:

python -m pip install -e .

dgoal validate examples/model-refresh/gateway.json
dgoal status examples/model-refresh/gateway.json
dgoal resolve examples/model-refresh/gateway.json

The basic convention is simple: an agent reads the goal package's GOAL.md before acting. The repository remains the source of truth, even when the chat or process disappears.

What is included

  • Persistent, versioned goal contracts
  • Evidence-backed completion
  • Append-only goal amendments and activation records
  • DAG dependencies for multi-goal workflows
  • Atomic claims so concurrent threads choose different ready goals
  • A dependency-free Python CLI and test suite

Learn more

Agents and maintainers should read AGENTS.md for the full protocol, authority rules, CLI examples, and implementation scope.

Status

This is an early 0.1 release intended for trusted repositories. SHA-256 checks protect integrity, but they do not authenticate authors. Use signed commits or another trusted transport when writers do not share the same trust boundary.

Licensed under the MIT License.

Metadata

Release files for durable-goals 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 durable-goals 0.1.0
File Size Uploaded
durable_goals-0.1.0.tar.gz 29.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for durable-goals 0.1.0
File Interpreter ABI Platform
durable_goals-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 60.6 kB

Release files / durable_goals-0.1.0.tar.gz

Download URL durable_goals-0.1.0.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
64c4d24042e36e9eb7374542628a9765d055fab9984cb4df5836439670253eed
BLAKE2b-256 checksum
How to use checksums
90826f3cb6487035602e9e8ec88c6f5013e1ae452ce6f2d0cd5f79a1e8a387b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

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

Download URL durable_goals-0.1.0-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e172b05b6cda6b9c97d3a701d13033f0dc04ac40d73a20e374c24eebfecf1181
BLAKE2b-256 checksum
How to use checksums
45fd06c972c6352ead60a8e9ff319ac2cbb237989e59dd4e6ee8e63d58e68ebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release 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