About This Architecture
Autonomous trading bot powered by AWS Bedrock AgentCore orchestrates multi-step trading decisions using Claude LLM with specialized agent tools for market analysis, order execution, and risk management. EventBridge Scheduler triggers Lambda every 5 minutes, invoking Bedrock AgentCore Runtime which executes bot_loop.py, a Strands Agent that calls Claude for reasoning and dynamically invokes tools like technical_analysis (RSI/MACD/SMA/BB), execute_order, and portfolio management. Secrets Manager secures Binance testnet credentials while Parameter Store provides a kill-switch control, and CloudWatch GenAI Observability tracks model invocations, tool calls, and trading cycles for compliance and debugging. This architecture demonstrates production-ready patterns for agentic AI: least-privilege IAM roles, infrastructure-as-code via Terraform, centralized secret and configuration management, and comprehensive observability of LLM reasoning and external API interactions. Fork this diagram on Diagrams.so to customize tool definitions, adjust scheduling intervals, or adapt for live trading environments with additional safeguards.