Pactree
Pactree is a deterministic context-tree substrate for AI agents and applications. It is designed to make context explicit: ordered, queryable, branchable, compact on disk, and stable across Python and Rust runtimes.
The project centers on the .pact file format and a Rust engine for
context trees, operations, selectors, projections, traces, and rewind/fork
workflows. The Python package provides the ergonomic host API that applications
use to build, inspect, and persist those trees.
Core goals:
- deterministic tree layout for agent context
- compact content-addressed storage
- branch, rewind, and what-if workflows
- provider-facing projections without losing substrate structure
- a clean Python API backed by a canonical Rust implementation
This is an early 0.0.x release while the standalone package is being split
out. The public namespace is available now; the Pactree engine binary and Python
bindings will land in the next extraction releases.
Metadata
Release files for pactree 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pactree-0.0.2.tar.gz | 35.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pactree-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.2 kB
Release files / pactree-0.0.2.tar.gz
| Download URL | pactree-0.0.2.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a61e059c0b0fff69ce41ddab1675e3b96db2071c8527daa641fc00e52242607
|
|
BLAKE2b-256 checksum How to use checksums |
0c7333589672fc695527fd41c5604dfd1ad91a7ce9b81a13620515d7d2a0cc8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pactree-0.0.2-py3-none-any.whl
| Download URL | pactree-0.0.2-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ac5345a0a7ee20dd9b42c28d6724e2a9bf34d99346f99b9c9eaf5f0741a0ec4
|
|
BLAKE2b-256 checksum How to use checksums |
a7996b21d6718f1ca3f3da62d029c6204307b905b7c55769d68476f957bf7a4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|