Infrastructure
Data Flow
How a workflow run moves through the system.
Workflow creation:
- User opens app from CloudFront, authenticates with Cognito (JWT).
- Opens WebSocket to API via ALB.
- Backend verifies JWT, loads user context from RDS, accepts connection.
- Backend requests Bedrock AgentCore Browser session, connects via CDP.
- User chats → Claude on Bedrock executes browser actions → results stream to user.
- All actions persisted to RDS.
- User saves → Claude compiles execution trace into reusable workflow graph → stored in RDS.
Workflow replay:
Saved workflows replay the same path with parameterized inputs.
Network: Backend → AWS APIs (Bedrock, AgentCore, S3, Secrets, CloudWatch) via VPC endpoints. External calls via NAT Gateway.