Skip to content

feat(07-ux-demos): add human-in-the-loop order approval agent sample #246

Merged
manoj-selvakumar5 merged 6 commits intostrands-agents:mainfrom
liukkonend:main
Apr 15, 2026
Merged

feat(07-ux-demos): add human-in-the-loop order approval agent sample #246
manoj-selvakumar5 merged 6 commits intostrands-agents:mainfrom
liukkonend:main

Conversation

@liukkonend
Copy link
Copy Markdown
Contributor

Adds an order approval sample that demonstrates the Strands Agents interrupt/resume pattern for human-in-the-loop workflows. A multi-agent graph evaluates incoming orders — scoring risk across factors like customer history, order value, and inventory levels — and conditionally pauses execution for human review using a BeforeNodeHook interrupt. The sample includes a Streamlit dashboard where approvers can inspect each agent's reasoning through an interactive workflow graph and approve or reject pending orders, backed by a CDK stack that deploys the agent to Amazon Bedrock AgentCore Runtime with S3 session persistence.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

Latest scan for commit: 76e462e | Updated: 2026-04-15 21:26:16 UTC

✅ Security Scan Report (PR Files Only)

Scanned Files

  • python/07-ux-demos/human-in-the-loop-approval-agent/.gitignore
  • python/07-ux-demos/human-in-the-loop-approval-agent/README.md
  • python/07-ux-demos/human-in-the-loop-approval-agent/images/strands-hitl-architecture.png
  • python/07-ux-demos/human-in-the-loop-approval-agent/images/streamlit-ui-screenshot.png
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/.gitignore
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/.python-version
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/app.py
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/cdk.json
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/cleanup.sh
  • python/07-ux-demos/human-in-the-loop-approval-agent/infrastructure/deploy.sh
  • ... and 19 more files

Security Scan Results

Critical High Medium Low Info
0 0 0 0 0

Threshold: High

No security issues detected in your changes. Great job!

This scan only covers files changed in this PR.

@manoj-selvakumar5 manoj-selvakumar5 merged commit e559dad into strands-agents:main Apr 15, 2026
1 check passed
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