Skip to main content

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 recurse Python package: manifest validation, standards-based application packaging (recurse.build_bundle), and the runtime context tools use during a run (recurse.context).
  • The recurse command: 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 — generated agent.yaml reference.

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

recurse_sdk-0.1.0.tar.gz (139.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recurse_sdk-0.1.0-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

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

Hashes for recurse_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 680c8d41ad4d9d09d03a5b04fd692306179834bb10ee8182b4a39a284054793b
MD5 f490ad9ddaa5b659423c601184a6c876
BLAKE2b-256 fc37dbf0981be4a2e6f36f92e1b58202636f5cb6153ca19e7717854a9186a93f

See more details on using hashes here.

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

Hashes for recurse_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0be0848153172dacbf50240c454dccb51fe5b00d35968b209b73eb11fd4cee1
MD5 9f9a378b5b54e1d696fdd56922b2867c
BLAKE2b-256 3bd76d5fa35c8fb791d71c2423cd9e537bd675b5ebaddf97c28b4979ed4be9a7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.0

2 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