cd /news/artificial-intelligence/building-agentic-ai-on-aws-from-bedr… Β· home β€Ί topics β€Ί artificial-intelligence β€Ί article
[ARTICLE Β· art-85692] src=dev.to β†— pub= topic=artificial-intelligence verified=true sentiment=Β· neutral

Building Agentic AI on AWS: From Bedrock Agents to Multi-Agent Orchestration with AgentCore

AWS has become the dominant platform for agentic AI, with Bedrock Agents enabling autonomous planning, tool use, and multi-step execution. The stack spans from single-agent basics to multi-agent orchestration via AgentCore, which provides runtime, memory, identity, and observability. Guardrails and governance tools like IAM and CloudTrail ensure safe production deployment.

read6 min views3 publishedAug 4, 2026

2026 is the year AI moved from "answer questions" to "take actions." Agentic AI β€” systems that autonomously plan, reason, use tools, and execute multi-step tasks β€” has become the dominant pattern for building intelligent applications on AWS.

This post covers the full agentic AI stack on AWS: from single-agent basics to multi-agent orchestration, the infrastructure that runs them, and the guardrails that keep them safe in production.

Traditional AI: User asks question β†’ Model generates answer β†’ Done.

Agentic AI: User states goal β†’ Agent plans steps β†’ Agent calls tools β†’ Agent evaluates results β†’ Agent iterates β†’ Goal achieved.

The difference is autonomy. An agent decides what to do, executes actions, and self-corrects β€” without human intervention at each step.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    AGENTIC AI LOOP                            β”‚
β”‚                                                              β”‚
β”‚   User Goal β†’ Plan β†’ Act β†’ Observe β†’ Reason β†’ Act β†’ Done   β”‚
β”‚                  ↑                               β”‚           β”‚
β”‚                  └───────── iterate β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  APPLICATION LAYER                                               β”‚
β”‚  Amazon Q (Business & Developer) | Custom agents via Bedrock    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  AGENT FRAMEWORKS                                                β”‚
β”‚  Bedrock Agents | Strands Agents SDK | LangGraph on AgentCore   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  AGENT INFRASTRUCTURE (AgentCore)                                β”‚
β”‚  Runtime | Memory | Identity | Observability | Code Interpreter β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  TOOLS & KNOWLEDGE                                               β”‚
β”‚  AgentCore Gateway (MCP) | Knowledge Bases (RAG) | Action Groupsβ”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  SAFETY & GOVERNANCE                                             β”‚
β”‚  Guardrails | IAM | CloudTrail | Model Evaluation               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  FOUNDATION MODELS                                               β”‚
β”‚  Claude | Nova | Llama | Mistral | DeepSeek (via Bedrock)       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Bedrock Agents is the fully managed way to build AI agents. You define the agent's instructions, connect tools and knowledge, and Bedrock handles the orchestration loop (ReAct-style reasoning).

Concept What It Does
Instructions
System prompt that defines agent's role, behavior, and boundaries
Action Groups
Tools the agent can call (Lambda functions, APIs, or return-of-control)
Knowledge Bases
RAG β€” grounds agent responses in your data (documents, databases)
Guardrails
Safety controls (content filters, PII masking, denied topics)
Memory
Session persistence β€” agent remembers context across turns
Code Interpreter
Agent can write and execute code to solve problems

Choosing the model: Claude Sonnet or Nova Pro for complex reasoning. Haiku or Nova Micro for simple routing agents.

Instruction design: Be specific about the agent's role, what it should NOT do, and how to handle ambiguity. Vague instructions lead to unpredictable behavior.

Tool design: Each tool should do ONE thing well. Name them clearly (the model uses the name and description to decide when to call them). Include input/output schemas.

{
  "actionGroupName": "OrderManagement",
  "description": "Manages customer orders - lookup, modify, cancel",
  "apiSchema": {
    "payload": "openapi-schema.json"
  },
  "actionGroupExecutor": {
    "lambda": "arn:aws:lambda:us-east-1:123456789:function:order-api"
  }
}

For complex problems, a single agent isn't enough. Multi-agent collaboration lets specialized agents work together:

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Supervisor Agent β”‚
     User ────────→│  (Routes tasks)  β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚              β”‚              β”‚
              β–Ό              β–Ό              β–Ό
     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚ Research Agentβ”‚ β”‚ Code Agentβ”‚ β”‚ Review Agent β”‚
     β”‚ (RAG + Web)  β”‚ β”‚ (CodeGen) β”‚ β”‚ (Validation) β”‚
     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Scenario Single Agent Multi-Agent
FAQ chatbot βœ… Overkill
Code generation only βœ… Unnecessary
Research + summarize + format ⚠️ Gets messy βœ… Clean separation
Customer support (billing + tech + shipping) ⚠️ Tool overload βœ… Specialist routing
Complex analysis with validation ⚠️ Context window limits βœ… Divide and conquer

Rule of thumb: If one agent would need >10 tools or >3 distinct responsibilities, split into multiple agents.

AgentCore is the runtime infrastructure for deploying agents at scale. It provides the "boring but critical" capabilities agents need in production:

Component Purpose
Runtime
Serverless execution environment for agents (auto-scaling, isolation)
Memory
Managed long-term memory across sessions (agent remembers past interactions)
Identity
Authentication for agent-to-service and agent-to-agent communication
Observability
Traces, metrics, and logs for debugging agent behavior
Code Interpreter
Sandboxed code execution (Python/JS) for data analysis tasks
Gateway
Converts APIs and Lambda functions into MCP-compatible tools

The Gateway is particularly powerful β€” it transforms your existing APIs into tools that any agent can discover and use via the Model Context Protocol (MCP):

This means agents don't need tools baked into their code. They discover capabilities dynamically β€” add a new API to Gateway, and all connected agents can immediately use it.

For teams wanting more control, AWS released Strands Agents SDK β€” an open-source Python framework for building agents that runs on AgentCore:

@tool

decorator, auto-generating schemas

from strands import Agent, tool
from strands.models.bedrock import BedrockModel

@tool
def get_weather(city: str) -> str:
    """Get current weather for a city."""
    return f"Weather in {city}: 22Β°C, sunny"

@tool
def create_ticket(title: str, priority: str) -> str:
    """Create a support ticket in the ticketing system."""
    return f"Created ticket: {title} (priority: {priority})"

agent = Agent(
    model=BedrockModel(model_id="anthropic.claude-sonnet-4-20250514"),
    tools=[get_weather, create_ticket],
    system_prompt="You are a helpful assistant that can check weather and create tickets."
)

response = agent("Check the weather in London and create a ticket if it's raining")
Criteria Bedrock Agents (Managed) Strands SDK (Code-first)
Setup complexity Low (console/API) Medium (write code)
Customization Moderate Full control
Orchestration logic AWS-managed ReAct loop Custom (you define the loop)
Multi-agent Built-in supervisor pattern Build your own topology
Deployment Fully managed AgentCore Runtime or self-hosted
Best for Standard use cases, rapid prototyping Complex custom logic, advanced patterns

Without knowledge, agents hallucinate. Knowledge Bases provide RAG (Retrieval-Augmented Generation):

The latest option β€” fully managed RAG without provisioning anything:

Agents that take actions need safety boundaries. Bedrock Guardrails provides:

Policy Type What It Does
Content filters
Block harmful content (hate, violence, sexual, misconduct) with configurable thresholds
Denied topics
Prevent agent from discussing specific topics (competitor info, legal advice, etc.)
Word filters
Block specific words or phrases
Sensitive information
Detect and mask PII (names, emails, credit cards, SSNs)
Grounding check
Detect hallucinations by comparing response against source documents
Contextual grounding
Verify response relevance to the user's query

Guardrails attach to:

Key insight: Apply guardrails on BOTH input (what users send) AND output (what agents respond). Users can craft prompts to bypass instructions β€” guardrails are the defense layer.

Best for: Customer support, multi-domain queries.

One supervisor routes to specialist workers. Workers don't talk to each other.

Best for: Document processing, content creation.

Agent A β†’ Agent B β†’ Agent C. Each stage enriches output.

Best for: Research, data gathering from multiple sources.

Multiple agents work simultaneously, results aggregated.

Best for: High-stakes decisions, code review.

Generator agent produces output, critic agent evaluates quality, iterate until criteria met.

Before deploying agents to production:

The agentic AI space on AWS is evolving rapidly:

Building agentic AI on AWS in 2026:

The shift from "chatbot that answers" to "agent that acts" is the defining pattern of cloud AI in 2026. The infrastructure is ready β€” the question is what you build on it.

Alpesh Kumbhare is an AWS Architect at Atos, specializing in AWS infrastructure automation and cloud AI solutions. Connect on LinkedIn.

── more in #artificial-intelligence 4 stories Β· sorted by recency
── more on @aws 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/building-agentic-ai-…] indexed:0 read:6min 2026-08-04 Β· β€”