Skip to main content

cuaderna

A durable, replayable execution engine for AI agents, written in Python.

A cuaderna is a rib of a ship's hull: the structure underneath that holds everything else up.

Status

Early development. The package on PyPI is a placeholder and there is nothing to use yet.

What it is

An agent solves a task in many steps: it reads files, calls a model, runs commands, calls the model again. Cuaderna is the layer underneath that code. It is not an agent and it is not a framework for writing agents. You keep writing your agent as plain Python and mark the steps that matter.

Every step is written to a journal with its result as soon as it finishes. Everything else is built on that journal:

  • Resume after a crash. A run that dies picks up after the last recorded step, so finished steps are not executed or paid for again.
  • Replay. Any past run can be walked through step by step with the model responses it got at the time, without calling the model.
  • Cost limits. Each run has a budget, stops when it exceeds it, and reports what every step cost.
  • Permissions and audit. Tools run with explicit permissions and every call is recorded.
  • Fault injection. Recorded runs can be used to test how an agent reacts to a tool that fails or a malformed response.

These are goals, listed in the order they will be built. None of them is implemented yet.

Install

pip install cuaderna

Requires Python 3.12 or newer.

Contributing

See CONTRIBUTING.md for setup and the checks to run. Issues and questions are welcome.

License

Apache-2.0. See LICENSE.

Metadata

Release files for cuaderna 0.0.2

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

Source distribution (sdist)

Source distribution for cuaderna 0.0.2
File Size Uploaded Provenance Actions
cuaderna-0.0.2.tar.gz 11.6 kB Without provenance Details for cuaderna-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cuaderna 0.0.2
File Interpreter ABI Platform Actions
cuaderna-0.0.2-py3-none-any.whl Python 3 none any Details for cuaderna-0.0.2-py3-none-any.whl

Total release size: 17.8 kB

Release files / cuaderna-0.0.2.tar.gz

Download URL cuaderna-0.0.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3b32a70ed47ceed51c210ca9f53cb7bb1e08d31aa6400ea78162ee9357636bef
BLAKE2b-256 checksum
How to use checksums
0b327b4fa8bbf5393e3511233e87863622c369a56dbe0fc1cdb80e9763374f33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cuaderna-0.0.2-py3-none-any.whl

Download URL cuaderna-0.0.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
557b0e63b1decdbb2e39d5b6d44dbbe19cfd3a2de3cc58eb137af17c3f0d7689
BLAKE2b-256 checksum
How to use checksums
389ff260d2225bf1422d6bac7e48954f824132d2940ca41852d6abc026dee268
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cuaderna 0.0.2

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.

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