Skip to main content

DeepLoop

Structured research missions from a bundled starter or local project folder — with visible autonomy boundaries, durable mission state, and an explicit operator inbox.

DeepLoop helps researchers and operators run structured work from existing artifacts or a bundled starter instead of rebuilding everything around one long chat. It keeps the loop moving, pauses only at real safety, authority, or support boundaries, and makes the path legible when you need to inspect or redirect it.

DeepLoop owns behavior and orchestration; substrate repos own reusable domain or science rules.

Why it matters

  • Start from a real folder or a bundled starter: use the same mission flow either way.
  • Keep control visible: status, inbox, and resume make the operator inbox explicit when DeepLoop needs a real decision.
  • Inspect the loop: operator-facing summaries expose runtime telemetry, inner-loop progress, stage-kernel activity, reroutes, and temporary gaps instead of hiding them in raw JSON.
  • Keep evidence close to the work: your project folder stays focused on facts, docs, and outputs while DeepLoop keeps durable mission state.
  • Use autonomy with governance: the shipped path includes explicit release boundaries, autonomy governance, and reviewed promotion surfaces.
  • Separate platform from domain logic: DeepLoop runs the loop; substrate repos keep reusable methods, constraints, and science rules.

Getting started

  1. Install DeepLoop

    pip install deeploop
    

    For the full install matrix — GitHub installs, editable contributor setup, two-clone hybrid workflows, and the documented Conda path — use Getting started.

  2. Set up a provider

    DeepLoop uses OpenAI-compatible API providers. Configure your API key and endpoint:

    export OPENAI_API_KEY="sk-..."
    export OPENAI_BASE_URL="https://api.deepseek.com"
    

    The default control-plane profile uses deepseek-chat via the OpenAI-compatible adapter. See Provider setup for other options.

  3. Run DeepLoop

    Start a mission with a single command:

    deeploop start --idea "your research idea"
    

    DeepLoop materializes a project under WORKSPACE_ROOT/projects/, compiles a mission from your idea, and launches the same operator loop as every other path.

    To start from an existing project folder:

    deeploop start --project-root <project-folder> --idea "your research idea"
    

    To control iteration budget and cost:

    deeploop start --idea "your research idea" --max-iterations 50 --max-cost 10.00
    

    If you prefer an interactive kickoff that asks for your mission idea and lets you choose a bundled starter:

    deeploop start
    
  4. Use the operator CLI when a run pauses

    deeploop status
    deeploop inbox
    deeploop resume
    

    Start with status for a compact overview of runtime telemetry, inner-loop progress, and current state. Open inbox only when DeepLoop pauses for a real decision — it shows actionable handoffs with the exact information needed to respond. Use logs, decisions, retry, reroute, or triage only when the surfaced handoff says you need more detail or a managed-mode override.

The deeploop CLI is the single entry point — start, status, inbox, resume, and more are all subcommands.

Readiness at a glance

  • Unified first run: Linux, Python 3.11+, pip install deeploop, export OPENAI_API_KEY="sk-...", deeploop start --idea "your research idea"
  • Multi-provider: DeepSeek (default), Anthropic API (ANTHROPIC_API_KEY), and OpenAI-compatible endpoints all supported as first-class control-plane providers
  • Tree search experiments: opt-in via enable_tree_search: true in mission state for best-first exploration of experiment designs during experiment-design and execution phases
  • Mission dashboard: python -m deeploop.cli.dashboard --state-path <mission_state.json> for an HTML read-only view (zero additional dependencies)
  • Same front door for existing work: use deeploop start --project-root <project-folder> --idea "your research idea"
  • Repo-checkout validation path: make setup, make public-bootstrap-check, and direct access to examples/translation-budget-ladder/
  • Messy starts are supported: rough plain-folder projects can initialize with disclosed clarifications/defaults, or you can use deeploop init --discover ... for a guided kickoff
  • Repair stays bounded: if the folder is missing the plain-folder bootstrap contract, DeepLoop exits with bootstrap-repair guidance and suggested starter inputs instead of silently rewriting project files
  • Current baseline release proof: make public-bootstrap-check, make docker-release-validate, and make docs-build

Best fit today

DeepLoop is best when you have:

  • either a project folder on disk or a clear enough idea to start from a bundled starter
  • a clear mission or question
  • an operator who can check status and respond when the operator inbox opens
  • a need for bounded autonomy, durable state, and evidence-aware summaries

Public alpha — best on Linux with Python 3.11; not claiming a fully automatic experience for everyone. See the roadmap for current scope.

Key capabilities

Operating modes

  • sandboxed-yolo for the fastest bounded path when you want DeepLoop to keep moving inside the supported guardrails
  • managed when you want intervention hooks before DeepLoop continues; managed mode can surface a bounded retry, reroute, or downscope step for review
  • human-directed when you want to approve important choices yourself

What you can inspect

  • operator-facing status surfaces runtime telemetry, inner-loop progress, ratchets, reroutes, and temporary-gap recovery hints
  • stage-kernel execution stays visible instead of disappearing behind one opaque agent loop
  • the operator inbox keeps handoffs explicit when DeepLoop reaches a real decision or support boundary

Reusable methods and governance

Documentation

Contributing

Contributions, bug reports, and discussion are welcome.

Metadata

Release files for deeploop 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deeploop 0.6.4
File Size Uploaded Provenance
deeploop-0.6.4.tar.gz 614.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / deeploop-0.6.4.tar.gz

Download URL deeploop-0.6.4.tar.gz
Size 614.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4d7a117f6a5bbaaf8fe05cbec0ddce239e2eb8b4c0401e88e67ad1f2c74a1d8c
BLAKE2b-256 checksum
How to use checksums
e2f1ddcff52cdb1073c33c93dcee83290530bbfb95ee2682604c7c4992fefb4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.

Transparency log

Release files / deeploop-0.6.4-py3-none-any.whl

Download URL deeploop-0.6.4-py3-none-any.whl
Size 531.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
299129ab4a17fbbf583ca355e5891fc9a295ac311da18522afec0851bfd0f98c
BLAKE2b-256 checksum
How to use checksums
70eff1dcd225542c119926b3b167ff77e268a51a586d1d29673f5aa8ce824f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.

Transparency log

Security for deeploop 0.6.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deeploop-0.6.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.

Transparency log

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.

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