Skip to main content

recurve

Recursive context-aware reasoning & planning for LLM agents.

recurve is a thin, async-first, provider-agnostic Python library implementing the ReCAP loop — Recursive Context-Aware Reasoning and Planning (arXiv:2510.23822, NeurIPS 2025).

Its one defensible novelty, packaged nowhere else: ReCAP's single shared sliding-window context with structured re-injection of the parent's remaining plan on return — not isolated sub-agent contexts, not a graph engine. The loop:

  1. plan-ahead — emit the whole ordered subtask list, but execute only the first item;
  2. recurse on composite subtasks within the same shared context;
  3. re-inject the parent's remaining plan when a subtask returns;
  4. refine the remaining plan after each step.

Provider plumbing, typed structured outputs, retries, and tracing are reused (Pydantic AI / LiteLLM behind a tiny 2-method Model protocol), never reinvented.

Part of the AETHEL project. MIT licensed. Status: alpha (Phase 1).

Metadata

Release files for recurve 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 recurve 0.1.0
File Size Uploaded Provenance Actions
recurve-0.1.0.tar.gz 14.9 kB Without provenance Details for recurve-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 35.4 kB

Release files / recurve-0.1.0.tar.gz

Download URL recurve-0.1.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
73ce51629a1eea4ad34111f4653a0d4fbbfad4c91cdd828c8cbd954e09d5cfff
BLAKE2b-256 checksum
How to use checksums
b09a032e127708b74b3e0b9549d7aa8dd54dc6fc131eca68f125cb23edc9f6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL recurve-0.1.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
227ef99cceddde2299d684184bbd5ecc9123ec445cf86debb7b597ea1cd80e3c
BLAKE2b-256 checksum
How to use checksums
fc49f238fdcedbef42c8c18d91e5e0face8a6098a42d09a7380181ba58efe364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for recurve 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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