Skip to content

[python/deepagents] correct the README and document the plugin's limits - #608

Merged
DABH merged 3 commits into
mainfrom
docs/deepagents-python-readme-corrections
Nov 17, 2026
Merged

DABH merged 3 commits into
mainfrom
docs/deepagents-python-readme-corrections

Conversation

@DABH

@DABH DABH commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This PR corrects the Deep Agents README before the release, since PyPI freezes the README with each release. Docstrings in three files change too; no code does.

The README no longer promises todo state and bounded history. It says that a tools module has to be imported through workflow.unsafe.imports_passed_through(). The approval example now handles several guarded calls in a turn, and the Streaming example streams. Payload sizes, errors and retries, the plugin's limits and the testing helpers each get a section.

One part is policy and needs your agreement: continue-as-new through run_deep_agent is labeled experimental, with its five limits listed.

Remove the promises the plugin does not keep, say where wrapped tools
have to live, replace the approval and streaming examples with ones
that run, label continue-as-new through run_deep_agent experimental,
and add the limits. Docstrings only in src.
@DABH
DABH requested a review from a team as a code owner November 17, 2026 03:43
Remove the artifact, status and configuration loss claims addressed by the
runtime fix. Keep the return_direct refusal and unsupported runtime types
explicit.
DABH added a commit that referenced this pull request Nov 17, 2026
…ion (#618)

This PR forwards JSON-safe `RunnableConfig` through model and
wrapped-tool calls, preserves paired tool artifacts, error status and
model call IDs, and closes cancelled `run_deep_agent` Workflows as
cancelled. New wrapped calls with `return_direct=True` fail before the
Activity runs.

Patch markers preserve earlier tool results, configuration, UUID
consumption and cancellation failure or cleanup paths for existing 0.x
runs. Model configuration changes only Activity inputs. Tests cover
native calls, streaming, concurrency, retained cache hits, and old and
new cancellation histories.

Validated with `make lint`, the full suite and #615's restored 0.x
histories. See #608 for the matching tool limits.

@campoy campoy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@DABH
DABH merged commit 325e14c into main Nov 17, 2026
16 checks passed
@DABH
DABH deleted the docs/deepagents-python-readme-corrections branch November 17, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants