This directory contains comprehensive documentation for the AI Trade Matching System, a multi-agent trade processing platform built on AWS Bedrock AgentCore.
The system implements a multi-agent architecture using AWS Bedrock AgentCore Runtime with specialized agents for different aspects of trade processing:
- PDF Adapter Agent - Document processing and text extraction
- Trade Extraction Agent - Structured data extraction from trade confirmations
- Trade Matching Agent - Fuzzy matching and reconciliation logic
- Exception Management Agent - Exception triage and SLA tracking
- Orchestrator Agent - Workflow coordination and handoff management
Mermaid diagram source file showing the simplified system architecture and data flow.
To render this diagram:
- Copy the content to Mermaid Live Editor
- Or use any Mermaid-compatible renderer
- Or view it in GitHub (supports Mermaid rendering)
Located in the root directory:
- README.md - Complete project overview, installation, and usage
- ARCHITECTURE.md - Detailed system architecture and design decisions
- CONTRIBUTING.md - Contribution guidelines and development workflow
- SECURITY.md - Security policy, vulnerability reporting, and best practices
- CHANGELOG.md - Version history, release notes, and migration guides
Following AWS Bedrock AgentCore best practices:
- deployment/README.md - Multi-agent deployment guide
- deployment/SETUP_GUIDE.md - Step-by-step AgentCore setup
- deployment/QUICK_START.md - Fast deployment for development
- deployment/AGENTCORE_BEST_PRACTICES.md - AgentCore optimization patterns
- deployment/pdf_adapter/ - PDF processing agent implementation
- deployment/trade_extraction/ - Data extraction agent with Strands SDK
- deployment/trade_matching/ - Matching algorithm and fuzzy logic
- deployment/exception_management/ - Exception handling and SLA management
- deployment/orchestrator/ - Agent coordination and workflow management
- terraform/README.md - Infrastructure deployment with Terraform
- terraform/agentcore/README.md - AgentCore-specific infrastructure
- terraform/agentcore/QUICK_START.md - Fast infrastructure setup
- terraform/agentcore/COST_SUMMARY.md - Cost optimization guide
- web-portal-api/README.md - FastAPI backend documentation
- web-portal/README.md - React frontend development guide
- Agent Development - Best practices for building agents
- Local Testing - Test agents locally before deployment
- Strands SDK Integration - Framework integration patterns
- Infrastructure Setup - Deploy infrastructure
- Agent Deployment - Deploy agents to AgentCore Runtime
- Monitoring Setup - Observability and alerting
- Contributing Guide - Development workflow and standards
- Security Guidelines - Security requirements and best practices
- Testing Guide - Test execution and coverage
This system follows AWS Bedrock AgentCore best practices for multi-agent systems:
- Agent-to-Agent (A2A) communication using
bedrock-agentcore:InvokeAgentRuntime - Orchestrator Pattern for workflow coordination
- Specialist Pattern for domain-specific processing
- Pipeline Pattern for sequential processing stages
# AgentCore Runtime Integration
from bedrock_agentcore.runtime import BedrockAgentCoreApp
from strands import Agent
app = BedrockAgentCoreApp()
@app.entrypoint
def handler(event):
agent = Agent(tools=[...])
return agent(event["prompt"])
if __name__ == "__main__":
app.run()- Individual Agent Deployment - Each agent as separate runtime
- Multi-Agent Coordination - Orchestrator manages handoffs
- Resource Isolation - Separate IAM roles and permissions
- Scalable Architecture - Auto-scaling based on demand
- AgentCore Documentation - Official AgentCore guide
- Runtime Deployment - Agent deployment patterns
- Multi-Agent Examples - Reference architectures
- Strands Documentation - Agent framework documentation
- Amazon Bedrock Integration - Bedrock model integration
- AgentCore Deployment - Deployment to AgentCore
- Amazon Bedrock - Foundation model service
- Amazon DynamoDB - NoSQL database service
- Amazon S3 - Object storage service
- AWS CloudWatch - Monitoring and observability
- React Documentation - Frontend framework
- Material-UI - React component library
- TypeScript - Type-safe JavaScript
- PDF Processing - Document ingestion and text extraction
- Data Extraction - Structured field extraction
- Trade Matching - Cross-system reconciliation
- Exception Handling - Break management and SLA tracking
- Security Implementation - Financial data protection
- Audit Trail - Compliance tracking
- Data Retention - Regulatory compliance
- Agent Tuning - Latency and throughput optimization
- Cost Management - Resource cost optimization
- Monitoring - Performance tracking
- GitHub Issues - Bug reports and feature requests
- GitHub Discussions - Community discussions
- Contributing Guide - How to contribute to the project
Note: This system is built following AWS Bedrock AgentCore best practices for production-ready multi-agent systems. For the latest AgentCore patterns and updates, refer to the official AgentCore documentation.