Strands Shopping Agent

Strands Shopping Agent#

The Strands example models a shopping agent protected by Dogwood policies for session access, login before checkout, checkout approval, high-risk item step-up, daily budget, daily order quota, and tool sequencing.

Run it:

make strands-shopping-agent ARGS="--user alice"

This opens an interactive console:

shopping-agent> grant
shopping-agent> products
shopping-agent> add iphone17-case 2
shopping-agent> login
shopping-agent> approve
shopping-agent> checkout

The reusable shopping-agent policies live in examples/shopping_agent_policies. The Strands-specific wiring lives in examples/strands_shopping_agent.

See Strands Agents Integration for the integration API and intervention details.