Skip to content

feat(fsi): add compliance deadline monitor and regulatory report reviewer agents#55

Open
rohanmeh wants to merge 3 commits into
aws-samples:mainfrom
rohanmeh:feat/fsi-compliance-agents
Open

feat(fsi): add compliance deadline monitor and regulatory report reviewer agents#55
rohanmeh wants to merge 3 commits into
aws-samples:mainfrom
rohanmeh:feat/fsi-compliance-agents

Conversation

@rohanmeh
Copy link
Copy Markdown

Description

Two new FSI use cases demonstrating Bedrock AgentCore integration patterns for regulatory compliance automation.

Type of Change

  • New feature (non-breaking change which adds functionality)

Changes Made

  • Compliance Deadline Monitor — Scheduled agent (EventBridge Scheduler → Bus → API Destination → AgentCore) that runs daily to track regulatory filing deadlines (SAR, CTR, SEC 10-K, Call Reports), classify urgency, and generate escalation recommendations.
  • Regulatory Report Reviewer — S3 file processing agent (S3 Object Created → EventBridge → API Destination → AgentCore) with multi-agent review for completeness, language compliance, and quality scoring of regulatory filings.

Both use:

  • Strands Agents + Amazon Nova Pro on AgentCore
  • Cognito OAuth (client_credentials) for authentication
  • SQS DLQ for failure handling
  • One-command deploy.sh scripts

Testing

  • Manual testing completed
  • Deployed to AgentCore and verified end-to-end invocation
  • Compliance Deadline Monitor: correctly calls tools, classifies urgency, generates structured JSON
  • Regulatory Report Reviewer: reads S3 files, scores completeness/language/quality, provides revision suggestions
  • SAM templates validated with sam validate --lint

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have updated documentation as needed (READMEs included)
  • I have tested my changes locally

Additional Notes

These two agents are companion use cases — the Deadline Monitor watches the calendar and alerts before deadlines slip, while the Report Reviewer checks the content of filings for quality before submission. Together they form a complete compliance automation workflow.


Note: This PR requires approval from @vivibui before merge.

…ewer agents

Two new FSI use cases for Bedrock AgentCore:

1. Compliance Deadline Monitor (Scheduled Agent pattern)
   - EventBridge Scheduler → Bus → API Destination → AgentCore
   - Tracks regulatory filing deadlines (SAR, CTR, SEC 10-K, etc.)
   - Classifies urgency and generates escalation recommendations
   - Runs daily at 6 AM ET

2. Regulatory Report Reviewer (S3 File Processing pattern)
   - S3 Object Created → EventBridge → API Destination → AgentCore
   - Multi-agent review: completeness, language compliance, quality
   - Supports SAR, CTR, SEC filings and other regulatory documents

Both use Strands Agents + Amazon Nova Pro on AgentCore with
Cognito OAuth authentication and DLQ for failure handling.
@rohanmeh rohanmeh requested a review from vivibui as a code owner May 23, 2026 19:54
Copy link
Copy Markdown
Collaborator

@vivibui vivibui left a comment

Choose a reason for hiding this comment

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

Hello there, thank you for your contribution!

I believe the implementation will be a better fit to be part of reference implementation instead of FSI Foundry.

FSI Foundry use cases are full stack FSI domain-focused applications (infra, backend, and frontend) with both LangGraph and Strands available. All foundry use cases are integrated with the control plane's CI/CD for deployment and testing. The foundry use cases are required to utilize /applications/fsi_foundry/foundations for agentic logic and terraform modules deployment.

With reference implementation, you have more freedom in how to structure your code logic.

However, we do require all referenced applications to have an enriching UI for end-user interaction and maintain a high-bar of a prototype; as only a small selected use cases from SA's past customer engagements are available in this category.

The current code is very clean, and the both POCs are compelling. I will mark the PR as need work, feel free to let the team knows once the updates are ready.

rohanmeh added 2 commits May 24, 2026 13:57
Addresses PR feedback to restructure as a reference implementation
with an enriching UI for end-user interaction.

Changes:
- Moved from fsi_foundry/use_cases/ to reference_implementations/
- Added Next.js 16 frontend with:
  - Deadline monitoring dashboard (urgency cards, escalation table)
  - Report review page (file upload, score rings, revision suggestions)
  - API routes proxying to AgentCore with OAuth
- Simplified agent-backend (standalone, no foundations dependency)
- Fixed Dockerfiles (python:3.12-slim instead of Lambda base image)
- Added comprehensive README with architecture diagram
… panel

- Agent now reads unstructured analyst notes from S3 and cross-references
  with the structured filing calendar to make judgment calls
- Added 4 sample analyst notes (legal holds, staffing gaps, dependencies)
- UI shows 'Agent Analysis' panel with reasoning for each filing
- Added seed-notes.sh to upload sample notes to S3
- Fixed JSON parsing to handle <thinking> tags
- Demo mode banner clarifies scheduled execution pattern
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