Home icon

Building agentic AI for Amazon RDS for SQL Server with Strands and AgentCore

Database Blog



This article demonstrates building an AI-powered database operations agent for Amazon RDS SQL Server using Strands Agents and Amazon Bedrock AgentCore Runtime to automate deadlock and blocking investigations.

  • Agents use AI reasoning to decide which tools to call, execute them, and interpret results autonomously
  • Tools wrap existing T-SQL diagnostic queries with @tool decorator and descriptive docstrings
  • Five core tools: deadlock graph analysis, blocking chain detection, session details, historical blocked process reports, and SNS reporting
  • Agent reads system_health extended events for deadlock graphs and DMVs for current blocking chains
  • System prompt guides agent reasoning; tools define capabilities for multi-step database diagnostics
  • Deploy to AgentCore Runtime with VPC integration, Secrets Manager credentials, and SNS notifications
  • AgentCore Memory enables cross-session learning; observability via CloudWatch GenAI dashboard
  • Agents correlate findings across data sources to deliver root cause analysis and actionable recommendations

This approach transforms existing DBA expertise into production-ready autonomous agents that continuously investigate database issues without manual intervention.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 8
2026
Reduce time-to-market for AI agents using Microsoft SQL Server 2025 and Amazon Bedrock AgentCore
May 21
2026
Build AI agents for business intelligence with Amazon Bedrock AgentCore
Jun 1
2026
AgentOps: Operationalize agentic AI at scale with Amazon Bedrock AgentCore
Mar 26
2026
Architecting for agentic AI development on AWS

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.