Skip to content

docs(dapr-agents): add hooks and human-in-the-loop guide#5161

Merged
yaron2 merged 12 commits into
dapr:v1.18from
CasperGN:feat/dapr-agents-hooks-docs
Jun 5, 2026
Merged

docs(dapr-agents): add hooks and human-in-the-loop guide#5161
yaron2 merged 12 commits into
dapr:v1.18from
CasperGN:feat/dapr-agents-hooks-docs

Conversation

@CasperGN

Copy link
Copy Markdown
Contributor

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide](https://docs.dapr.io/contributing/docs-contrib/contributing-docs/)
  • Commands include options for Linux, MacOS, and Windows within tabpane
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have tabpane

In addition, please fill out the following to help reviewers understand this pull request:

Description

Add docs of using Hook in dapr agents - including Human In The Loop.

Issue reference

dapr/dapr-agents#596

Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
@msfussell msfussell added this to the v1.18 milestone May 23, 2026
Comment thread daprdocs/content/en/developing-ai/dapr-agents/dapr-agents-hooks.md Outdated
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
Comment thread daprdocs/content/en/developing-ai/dapr-agents/dapr-agents-hooks.md Outdated
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>

@marcduiker marcduiker 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

@yaron2 yaron2 merged commit 8f649e6 into dapr:v1.18 Jun 5, 2026
5 checks passed

The benefits of using Dapr for this pattern include:
- **Durable pause** - The workflow survives crashes and restarts while waiting; approvals are persisted in the state store
- **Choice of delivery channel** - Approve over HTTP (`GET /hitl/approvals`, `POST /hitl/approvals/{id}/respond`), Dapr pub/sub, or direct workflow events

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a code example that shows this in action, with a UI or CLI that a human presses? It would be good to have that somewhere.

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.

4 participants