Recurse SDK
Author, package, and deploy Recurse applications.
Install the CLI as an isolated tool:
uv tool install recurse-sdk
Add the Python API to an application:
uv add recurse-sdk
The distribution ships two things:
- The
recursePython package: manifest validation, standards-based application packaging (recurse.build_bundle), and the runtime context tools use during a run (recurse.context). - The
recursecommand: browser login, encrypted runtime-secret management, direct runs, MCP deployment, artifact retrieval, and billing.
Quickstart
An application is a directory with an agent.yaml manifest, a system prompt, a tool
module, and a uv lockfile. See the runnable examples and docs/guide.md for the full authoring and
deployment guide:
examples/tiny-tuner— tune a classifier against held-out validation F1.examples/rna-fold-lab— design RNA sequences against an independent forward-fold oracle.
recurse login
recurse secret set github-token
recurse secret list
recurse run examples/tiny-tuner --inputs inputs.json --secret GITHUB_TOKEN=github-token
recurse deploy examples/tiny-tuner --as mcp --cpu 1 --memory-mib 1024 \
--secret GITHUB_TOKEN=github-token
codex mcp add recurse -- recurse mcp serve <deployment-id>
claude mcp add recurse -- recurse mcp serve <deployment-id>
For Codex, apply the startup and tool timeout settings shown in docs/guide.md after adding the
server.
Documentation
docs/guide.md— installation, authoring, runtime, login, deployment, local MCP access, and billing.docs/reference/api.md— generated API reference.docs/reference/manifest.md— generatedagent.yamlreference.
Contributing
Run ./check.sh for formatting, lint, types, tests, generated-reference checks, and package builds.
Both the SDK and RNA example must reach 100% statement and branch coverage. The RNA example's
tests and dependencies live in examples/rna-fold-lab/tests; they are checked in their own environment.
Install the same gate before committing:
uv tool install pre-commit
pre-commit install
License
Licensed under the Apache License 2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recurse_sdk-0.1.0.tar.gz.
File metadata
- Download URL: recurse_sdk-0.1.0.tar.gz
- Upload date:
- Size: 139.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680c8d41ad4d9d09d03a5b04fd692306179834bb10ee8182b4a39a284054793b
|
|
| MD5 |
f490ad9ddaa5b659423c601184a6c876
|
|
| BLAKE2b-256 |
fc37dbf0981be4a2e6f36f92e1b58202636f5cb6153ca19e7717854a9186a93f
|
File details
Details for the file recurse_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: recurse_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0be0848153172dacbf50240c454dccb51fe5b00d35968b209b73eb11fd4cee1
|
|
| MD5 |
9f9a378b5b54e1d696fdd56922b2867c
|
|
| BLAKE2b-256 |
3bd76d5fa35c8fb791d71c2423cd9e537bd675b5ebaddf97c28b4979ed4be9a7
|