Skip to content

Add agentic human-in-the-loop pipeline example#4849

Merged
htahir1 merged 3 commits into
developfrom
example/add-agentic-flow
May 20, 2026
Merged

Add agentic human-in-the-loop pipeline example#4849
htahir1 merged 3 commits into
developfrom
example/add-agentic-flow

Conversation

@htahir1
Copy link
Copy Markdown
Contributor

@htahir1 htahir1 commented May 20, 2026

Adds examples/agentic_hitl_pipeline/, a runnable dynamic pipeline that plans agent tasks, fans them out with step.map, summarizes the results, pauses on zenml.wait for human approval, and branches the final action on the decision. Step outputs are named with Annotated for clean lineage.

Adds cross-links from docs/book to the new example:

  • getting-started/your-first-ai-pipeline.md: include in Related examples
  • how-to/steps-pipelines/dynamic_pipelines.md: link from map-reduce
  • how-to/steps-pipelines/wait_resume.md: new Agentic approval section

Describe changes

I implemented/fixed _ to achieve _.

Pre-requisites

Please ensure you have done the following:

  • I have read the CONTRIBUTING.md document.
  • I have added tests to cover my changes.
  • I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
  • IMPORTANT: I made sure that my changes are reflected properly in the following resources:
    • ZenML Docs
    • Dashboard: Needs to be communicated to the frontend team.
    • Templates: Might need adjustments (that are not reflected in the template tests) in case of non-breaking changes and deprecations.
    • Projects: Depending on the version dependencies, different projects might get affected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other (add details above)

htahir1 and others added 2 commits May 20, 2026 11:34
Adds examples/agentic_hitl_pipeline/, a runnable dynamic pipeline that
plans agent tasks, fans them out with step.map, summarizes the results,
pauses on zenml.wait for human approval, and branches the final action
on the decision. Step outputs are named with Annotated for clean lineage.

Adds cross-links from docs/book to the new example:
- getting-started/your-first-ai-pipeline.md: include in Related examples
- how-to/steps-pipelines/dynamic_pipelines.md: link from map-reduce
- how-to/steps-pipelines/wait_resume.md: new Agentic approval section

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@htahir1 htahir1 requested a review from schustmi May 20, 2026 09:38
@github-actions github-actions Bot added the internal To filter out internal PRs and issues label May 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

Documentation Link Check Results

Absolute links check passed
Relative links check passed
Last checked: 2026-05-20 09:45:27 UTC

@htahir1 htahir1 added the release-notes Release notes will be attached and used publicly for this PR. label May 20, 2026
@htahir1 htahir1 merged commit 90e7f46 into develop May 20, 2026
51 of 54 checks passed
@htahir1 htahir1 deleted the example/add-agentic-flow branch May 20, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal To filter out internal PRs and issues release-notes Release notes will be attached and used publicly for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants