# Recurse SDK Recurse SDK validates and packages a Python application, then deploys it as an MCP tool. A project contains recurse.yaml, a prompt, a Python lockfile, and ordinary Python tool functions. Use Recurse for work where each attempt should respond to measured results, such as model tuning, query optimization, or artifact generation with an executable check. Use a direct tool for one-shot work or tasks without a checkable definition of done. Python API: from recurse import build_bundle CLI: recurse login; recurse deploy ./my-agent --as mcp Private-beta status: SDK bundling, login, and deployment are available. Hosted MCP connections are not available yet. Docs: https://recurse.run/docs Skill: https://recurse.run/SKILL.md Tools: https://recurse.run/tools.md Schema: https://recurse.run/schema/recurse.yaml.json