AWS Builder Center

Building an Agentic AI Helpdesk: Modernizing Enterprise IT Service Management with Amazon Bedrock AgentCore

Discover how to modernize enterprise IT helpdesks using Agentic AI on AWS. This article walks through a serverless architecture where Amazon Bedrock reasons over user intent by leveraging a Claude model routes incidents intelligently via MCP tools, and coordinates across Amazon DynamoDB, ServiceNow, and Amazon EventBridge — replacing manual triage with a conversational, auto-scaling AI agent built on Amazon Bedrock AgentCore.

In large enterprises, IT service management (ITSM) has long been a domain defined by manual triage, rigid ticketing workflows, and reactive support models. Help desk agents spend significant time classifying incidents, routing them to the right system, and following up on status — work that is repetitive, error-prone, and difficult to scale. As enterprises accelerate their digital transformation journeys, the pressure to modernize these operations has never been greater.
Agentic AI offers a compelling answer. Rather than simply automating individual tasks, agentic systems reason about user intent, select the right tools, coordinate across multiple backend systems, and respond in natural language — all without human intervention in the loop. In this post, we explore how to build a production-ready Agentic AI Helpdesk using Amazon Bedrock AgentCore, Amazon Bedrock, and the Model Context Protocol (MCP), and what this architecture means for enterprise IT modernization.



The Enterprise ITSM Modernization Challenge

Traditional ITSM platforms are powerful but require structured inputs: users must navigate forms, select categories from dropdowns, and understand the difference between an "incident" and a "service request." This friction reduces adoption and increases the volume of misrouted tickets.
At the same time, enterprises operate with a tiered incident model. A printer jam in a conference room and a production database outage are both "incidents," but they require entirely different response paths, urgency levels, and systems of record. Routing these correctly — and quickly — is critical to both operational efficiency and business continuity.
The challenge is threefold:
  • Intake friction: Users don't know how to classify their own issues
  • Routing complexity: Low-impact and critical incidents need different systems and workflows
  • Notification gaps: Critical incidents require immediate, multi-channel alerting that is often manual
Agentic AI addresses all three by placing a reasoning layer in front of the entire ITSM stack.



Introducing the Agentic AI Helpdesk Architecture

The solution presented here is a fully serverless, AI-powered IT incident management system built on AWS. At its core, an AI agent powered by Amazon Bedrock (Claude 3.5 Sonnet) receives natural language requests, reasons about severity and intent, selects the appropriate tools, and orchestrates actions across multiple backend systems — all in a single conversational turn.
The architecture is built around three Amazon Bedrock AgentCore components:
  • Amazon Bedrock AgentCore Runtime: The execution environment for the agent logic, running a Python-based orchestrator that calls Amazon Bedrock and manages tool execution
  • Amazon Bedrock AgentCore Gateway: An MCP protocol router that discovers and invokes tools registered as targets
  • Amazon Bedrock AgentCore Memory: Conversation persistence that maintains session context across turns
These components sit behind an Amazon API Gateway REST endpoint, making the entire system accessible via a simple HTTP POST with a natural language message.
agentic-itsm-architecture

Figure 1: End-to-end architecture of the Agentic AI Helpdesk. A user message flows through Amazon API Gateway and an AWS Lambda proxy into Amazon Bedrock AgentCore Runtime, which orchestrates Amazon Bedrock (Claude 3.5 Sonnet) for reasoning. The Amazon Bedrock AgentCore Gateway acts as an MCP router, dispatching tool calls to three AWS Lambda-based MCP servers: an Amazon DynamoDB server for low-impact incidents, an enterprise ITSM server for high/critical incidents, and an Amazon EventBridge publisher that implements the A2A notification pattern via Amazon SNS.
The architecture separates concerns cleanly across three layers:
  • Ingress layer: Amazon API Gateway and an AWS Lambda proxy handle HTTP request transformation and session management
  • Orchestration layer: Amazon Bedrock AgentCore Runtime, Amazon Bedrock LLM, and Amazon Bedrock AgentCore Memory handle reasoning, tool selection, and conversation context
  • Tool layer: Amazon Bedrock AgentCore Gateway routes MCP tool calls to the appropriate AWS Lambda-based backend, each owning a single domain of responsibility



The Power of Agentic AI: Reasoning, Not Just Routing

What makes this system "agentic" rather than simply automated is the reasoning layer. When a user sends a message like "Production database server is down, all transactions are failing," the agent does not apply a keyword rule or a classification model. Instead, it:
  1. Analyzes the full semantic context of the message
  1. Infers the business impact — production system, all transactions, complete outage
  1. Selects the appropriate tool —  create_itsm_incident  for high-impact issues
  1. Constructs the correct arguments — impact: critical, urgency: high, category: database
  1. Simultaneously decides to invoke  publish_notification_event  to alert the IT operations team
  1. Aggregates the results and generates a contextual natural language response including troubleshooting guidance
This is qualitatively different from rule-based automation. The agent adapts to the nuance of each message, handles ambiguous inputs gracefully, and can explain its decisions in plain language.



MCP: The Universal Connector for Agentic Tools

The Model Context Protocol (MCP) is an open standard that defines how AI agents communicate with external tools and data sources. Think of it as a universal interface — a standardized contract between an agent and any tool it needs to invoke.
In this architecture, each backend capability is exposed as an MCP-compliant server running inside an AWS Lambda function. The Amazon Bedrock AgentCore Gateway acts as the MCP client, discovering available tools and routing invocations from the Amazon Bedrock LLM to the correct AWS Lambda target.
The MCP protocol flow is straightforward:
1. initialize — Amazon Bedrock AgentCore Gateway connects, AWS Lambda returns server capabilities
2. tools/list — Amazon Bedrock AgentCore Gateway discovers available tools and their input schemas
3. tools/call — Amazon Bedrock AgentCore Gateway invokes a specific tool with structured arguments
4. Response — AWS Lambda returns results in standardized content format
Each MCP server in this solution exposes a focused set of tools:
DynamoDB MCP Server (low-impact incidents):
  •  create_incident  — Creates a structured incident record in Amazon DynamoDB
  •  search_incident_status  — Queries an incident by ID and returns full details
Enterprise ITSM MCP Server (high/critical incidents):
  •  create_itsm_incident  — Creates a high-priority ticket in the enterprise ITSM system via REST API
EventBridge Publisher (A2A notifications):
  •  publish_notification_event  — Publishes a structured event to Amazon EventBridge
The key architectural benefit of MCP is decoupling. The Amazon Bedrock LLM does not need to know the implementation details of any backend system. It simply selects a tool by name, provides arguments that match the declared input schema, and receives a structured result. Adding a new tool — say, a Jira integration or a PagerDuty escalation — requires only registering a new MCP target in the Amazon Bedrock AgentCore Gateway, with no changes to the agent logic.



Intelligent Incident Routing: Two Paths, One Agent

The routing logic in this system is entirely driven by the LLM's reasoning, guided by a system prompt that defines the routing rules in natural language. The agent is instructed to:
  • Route low-impact issues (password resets, hardware faults, minor software bugs) to DynamoDB via  create_incident 
  • Route high and critical issues (outages, security breaches, data loss, production failures) to the enterprise ITSM system via  create_itsm_incident 
  • Always follow incident creation with a call to  publish_notification_event  to trigger downstream alerts
This means the routing is not a hardcoded conditional — it is a reasoning decision made fresh for each message. The agent can handle edge cases, ambiguous descriptions, and escalating language that a rule-based system would misclassify.
Low-impact flow example:
A user reports: "Keyboard not working at desk 42, second floor."
The agent identifies this as a low-impact hardware issue, calls  create_incident  with category "hardware" and priority "low," stores the record in Amazon DynamoDB with an auto-generated incident ID (e.g.,  INC-1777074768110 ), and publishes a low-priority notification event to Amazon EventBridge. The user receives a confirmation with the incident ID and expected resolution steps.
Critical incident flow example:
A user reports: "CRITICAL: Complete network outage in Building A. All 150 employees cannot access any systems. Business operations are completely halted."
The agent detects multiple high-severity signals — "CRITICAL," "complete outage," "150 employees," "business operations halted" — and routes to the enterprise ITSM system with impact: critical and urgency: high. Simultaneously, it invokes the Amazon EventBridge publisher to trigger immediate email alerts to the IT operations team. The response includes the ITSM ticket number, confirmation of notifications sent, and specific troubleshooting recommendations for network outage scenarios.



A2A: Agent-to-Agent Communication for Extensible Notifications

Beyond MCP tool invocation, this architecture implements the Agent-to-Agent (A2A) communication pattern through Amazon EventBridge. This is a fundamentally different integration model — asynchronous, decoupled, and designed for extensibility.
When the primary agent publishes a notification event to the  it-incident-bus  Amazon EventBridge bus, it is not calling a specific downstream system. It is broadcasting a structured event that any number of downstream agents or services can consume independently. The event structure looks like this:
{
"Source": "it.incident.chatbot",
"DetailType": "incident.created",
"Detail": {
"incident_id": "INC-1777075234567",
"event_type": "incident.created",
"summary": "Complete network outage in Building A",
"priority": "critical",
"timestamp": "2026-04-24T23:54:13.000Z"
},
"EventBusName": "it-incident-bus"
}
Today, an Amazon EventBridge rule routes this event to an Amazon SNS topic that delivers email alerts. But the architecture is designed for horizontal expansion. Adding a Slack notification agent, a PagerDuty escalation agent, or a metrics aggregation agent requires only creating a new Amazon EventBridge rule — no changes to the primary agent, no redeployment of existing components.
This is the defining characteristic of A2A: the primary agent remains unaware of how many downstream agents are consuming its events. The system scales by adding new consumers, not by modifying existing producers.



Strands Agent SDK: Building MCP Servers with AWS Open Source

Each AWS Lambda-based MCP server in this solution is built using the AWS Strands Agent SDK, an open-source Python framework for building tool-enabled agents. The SDK provides a  @tool  decorator that transforms a standard Python function into an MCP-compatible tool with automatic schema generation.
from strands import tool
@tool
def create_incident(title: str, description: str, category: str, priority: str = "low") -> dict:
"""Create a low-impact IT incident in DynamoDB.
Args:
title: Short title of the incident
description: Detailed description of the issue
category: Category such as hardware, software, network, access
priority: Priority level, should be 'low' for DynamoDB incidents
"""
incident_id = f"INC-{int(datetime.now(timezone.utc).timestamp() * 1000)}"
table.put_item(Item={
"incidentId": incident_id,
"title": title,
"description": description,
"category": category,
"priority": priority,
"status": "open",
"createdAt": datetime.now(timezone.utc).isoformat(),
})
return {"success": True, "incident_id": incident_id}
The function docstring becomes the tool description that the LLM uses to decide when and how to invoke the tool. The type annotations become the input schema. This tight coupling between code and tool metadata ensures that the agent always has accurate, up-to-date information about what each tool does and what arguments it expects.



Streaming Responses: The Conversational Experience

Enterprise users expect AI interactions to feel responsive. This solution uses the Amazon Bedrock  converse_stream  API to deliver token-by-token streaming responses, creating a ChatGPT-like experience where text appears in real time rather than after a multi-second wait.
The streaming architecture flows through the entire stack: Amazon Bedrock streams tokens to the Amazon Bedrock AgentCore Runtime, the Runtime streams through the AWS Lambda proxy, and Amazon API Gateway delivers Server-Sent Events (SSE) to the browser. The result is a time-to-first-byte of approximately 500 milliseconds, even for complex multi-tool orchestration flows that take 10-12 seconds end-to-end.
This matters for enterprise adoption. Users who see immediate feedback are more likely to trust the system and continue using it. The streaming experience signals that the agent is actively working, not silently processing.



Serverless Architecture: Zero Infrastructure, Infinite Scale

Every component in this architecture is serverless:
Component
AWS Service
Scaling Model
API entry point
Amazon API Gateway
Automatic, 10,000 req/s default
Request proxy
AWS Lambda
On-demand, 1,000 concurrent
Agent orchestration
Amazon Bedrock AgentCore Runtime
Managed, auto-scaling
LLM inference
Amazon Bedrock
On-demand, no provisioning
Tool routing
Amazon Bedrock AgentCore Gateway
Managed, auto-scaling
MCP servers
AWS Lambda (Function URLs)
On-demand, 1,000 concurrent
Incident storage
Amazon DynamoDB
On-demand throughput
Event routing
Amazon EventBridge
10,000 events/s default
Notifications
Amazon SNS
Fully managed
There are no servers to patch, no clusters to size, and no idle capacity to pay for. The system scales from zero to thousands of concurrent users automatically, and costs are directly proportional to usage.
For enterprise IT teams, this eliminates the operational overhead that typically accompanies ITSM platform deployments. There is no infrastructure runbook, no capacity planning exercise, and no maintenance window for the AI layer itself.



Enterprise Modernization: What This Architecture Enables

The Agentic AI Helpdesk is not just a chatbot in front of a ticketing system. It represents a fundamental shift in how enterprises can approach IT service delivery.
From forms to conversation: Users describe their problems in natural language. The agent handles classification, routing, and documentation automatically. This removes the primary source of friction in traditional ITSM intake.
From static rules to dynamic reasoning: Routing decisions are made by a reasoning model, not a decision tree. The system handles novel situations, ambiguous descriptions, and escalating language without requiring rule updates.
From siloed systems to unified orchestration: A single conversational interface spans Amazon DynamoDB, enterprise ITSM systems, Amazon EventBridge, and Amazon SNS. Adding new backend systems requires only registering a new MCP target in Amazon Bedrock AgentCore Gateway — the agent discovers and uses new tools automatically.
From reactive to proactive: The A2A notification pattern means that every incident creation automatically triggers downstream workflows. Critical incidents generate immediate alerts without any manual escalation step.
From monolithic to composable: The MCP and A2A patterns create a composable architecture where each capability is independently deployable, testable, and replaceable. Teams can own individual MCP servers without coordinating changes to the central agent.



Solution Architecture Summary

The complete architecture deploys in two stages using automated bash scripts:
Part 1 — Infrastructure and AWS Lambda Functions:
  • Amazon DynamoDB table ( ITIncidents ) for low-impact incident storage
  • Amazon EventBridge custom bus ( it-incident-bus ) with routing rules
  • Amazon SNS topic for email notifications
  • Three AWS Lambda functions (DynamoDB MCP Server, Enterprise ITSM MCP Server, EventBridge Publisher) with Function URLs
  • AWS IAM roles for AWS Lambda execution, Amazon Bedrock AgentCore Gateway access, and Amazon Bedrock AgentCore Runtime orchestration
Part 2 — Amazon Bedrock AgentCore and Amazon API Gateway:
  • Amazon Bedrock AgentCore Gateway with three registered MCP targets
  • Amazon Bedrock AgentCore Runtime running the Python agent with Amazon Bedrock integration
  • Amazon Bedrock AgentCore Memory for conversation persistence
  • Amazon API Gateway REST API with AWS Lambda proxy integration
The entire deployment is automated, idempotent, and produces a configuration file ( part1_outputs.json ) that feeds directly into the second deployment stage.



Getting Started

The solution is available as an open-source reference architecture. To deploy it in your own AWS account:
# Clone the repository
git clone <repository-url>
cd aws-samples-serverlesschatbot
# Configure your credentials in deploy_part1.sh
# Set ACCOUNT_ID, SNS_EMAIL, and ITSM system credentials
# Deploy infrastructure and Lambda functions
bash scripts/deploy_part1.sh
# Deploy AgentCore components and API Gateway
bash scripts/deploy_part2.sh
# Verify deployment
bash check_status.sh
Once deployed, test the system with a natural language incident:
curl -X POST <your-api-gateway-url>/prod/invoke \
-H "Content-Type: application/json" \
-d '{"message": "Printer jam in Building 5, room 203"}'



What's Next: Expanding the Agentic Helpdesk

This reference architecture is a foundation, not a ceiling. The MCP and A2A patterns are designed for extension:
  • Slack and Microsoft Teams integration: Add MCP servers that post to collaboration channels, enabling incident creation directly from chat
  • PagerDuty escalation: Register a PagerDuty MCP target in the Gateway for on-call routing
  • Knowledge base retrieval: Add a vector search MCP tool backed by Amazon OpenSearch Service to surface relevant runbooks during incident creation
  • Automated remediation: Connect an AWS Systems Manager MCP server to trigger automated remediation scripts for known issue patterns
  • Analytics and reporting: Add an EventBridge consumer that aggregates incident data into Amazon QuickSight dashboards for trend analysis
Each of these extensions follows the same pattern: build an MCP-compliant Lambda function, register it as a Gateway target, and the agent discovers and uses it automatically.



Conclusion

Enterprise IT modernization has often meant replacing one rigid system with another. The Agentic AI Helpdesk demonstrates a different path: a composable, reasoning-driven architecture that adapts to user intent, routes intelligently across systems, and scales without infrastructure overhead.
By combining Amazon Bedrock's reasoning capabilities with Amazon Bedrock AgentCore's orchestration infrastructure and the MCP standard's tool interoperability, enterprises can build AI-powered service management systems that are genuinely useful to end users — not just technically impressive.
The shift from rule-based automation to agentic reasoning is not incremental. It changes what is possible: systems that handle the unexpected, explain their decisions, and grow more capable as new tools are added. For enterprise IT teams facing the dual pressure of increasing service demand and constrained headcount, that capability is not a nice-to-have. It is the modernization path forward.



Resources

Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article