Share E-Book

AI Agents on AWS Beginners guide to building AI agents on AWS (Bunny Kaushik)(Z-Library)

Author

Rating No ratings yet

Log in to rate

AI
Language English

Build reliable AI agents on AWS and move beyond prototypes with practical guidance. This book helps you design, deploy, and manage agentic systems that reason, use tools, and collaborate to solve real-world tasks. You start with the foundations of agentic AI, understanding how agents think, act, and interact. Design single-agent systems, extend them with tool and function calling, and add memory for context-aware behavior using Amazon Bedrock and SageMaker AI. You will also use LangGraph and Strands to structure agent workflows. As you progress, create multi-agent systems and orchestrate workflows where specialized agents collaborate. Learn how MCP and A2A enable communication, interoperability, and modular design across agent ecosystems. Focus on production readiness by deploying and scaling agents with Bedrock AgentCore, evaluating performance, and implementing observability, monitoring, and governance. By the end, you will be able to design and operate robust AI agent systems on AWS.

Format EPUB
Size 28.9 MB
9
Views

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
【One-Line Pitch】 A hands-on entry point for developers who have built chatbots and now want agents that actually act: design, orchestrate, deploy, and govern agentic systems on AWS with Strands, Bedrock, and AgentCore. Best for Python-literate engineers, cloud architects, and technical leads who need production realism, not another prototype tutorial. 【Book Arc】 - **Opening (~0%–12%)**: Sets the promise and vocabulary — why moving from RAG and chat interfaces to "actor" systems matters, and what the AWS agentic stack (Bedrock, SageMaker AI, Strands SDK) contributes. Solves the "what is an agent, really?" confusion before any code. - **Early (~12%–30%)**: Foundations made concrete: the RAG-to-agent transition, agent capabilities, protocols (MCP, A2A), environment setup in SageMaker Studio, and a first "Hello World" Strands agent. Then tools and function calling, including the pre-built tool ecosystem and multi-tool agents. - **Middle (~30%–50%)**: Scaling from one agent to many — memory for context-aware behavior, the supervisor-worker pattern, agent-as-tool reuse, data flow and communication styles (sequential, parallel, collaborative), plus swarm and graph orchestration patterns and honest guidance on when multi-agent is the wrong answer. - **Late (~50%–70%)**: Interoperability in depth: MCP hosts/clients/servers, lifecycle, tools, resources, prompts, sampling and elicitation, building custom servers; then A2A architecture, data model, and a worked multi-agent travel example combining both protocols. - **Ending (~70%–100%)**: Production readiness — Lambda vs. ECS vs. AgentCore runtime deployment paths, Gateway, Identity, industry use cases, then evaluation, observability (AgentCore Observability, LangSmith, Langfuse), governance, guardrails vs. policy (Cedar), and incident response. 【Book Arc note】The excerpts are front-matter heavy; chapter-level detail beyond the table of contents is thin, so the arc above follows the book's own chapter map rather than sampled prose. 【Key Takeaways】 - **The real dividing line is action, not conversation** (Opening): The book frames agents as systems that reason, use tools, and act, explicitly contrasting them with RAG pipelines and chatbots. This vocabulary reset is the prerequisite for everything later. - **Strands SDK and Bedrock are treated as architecture, not accessories** (Early): The foreword stresses that the framework choice shapes tool construction, orchestration, and deployment — so learning Strands idioms early pays off across every chapter. - **Tools are where reliability is won or lost** (Early): Function-to-tool conversion, multi-tool agents, and the community tool ecosystem are covered with runnable code; the emphasis is on tool design as an engineering discipline. - **Multi-agent patterns are trade-offs, not a taxonomy** (Middle): Supervisor-worker, swarm, graph, and agent-as-tool are presented with costs — memory persistence, failing tools, context limits — and the book says plainly when a single agent suffices. - **Protocols make ecosystems modular** (Late): MCP standardizes tool integration (collapsing N×M integrations), A2A standardizes agent-to-agent communication; the travel example shows both working together. - **Production changes the questions** (Ending): Lambda, ECS, and AgentCore runtime are compared as deployment paths with different operational profiles; Gateway and Identity handle integration and auth. - **Governance is a first-class chapter, not an appendix** (Ending): The guardrails-vs-policy distinction — what an agent *says* versus what it *does* — plus Cedar rules at the tool-call level and incident response, is the book's most distinctive material. - **Evaluation and observability are paired** (Ending): Traces feed evaluation; AgentCore Evaluations is shown as a managed service with hands-on steps, tying metrics to real agent behavior. 【Reading Tips】 - **Skim Chapter 1 if you already ship LangGraph/CrewAI systems** — the book itself invites this — but read the RAG-to-agent framing anyway; it anchors later terminology. - **Deep-read the tool and multi-agent chapters with the GitHub code bundle open**; the value is in runnable examples, not prose. Set up the Strands environment and AWS permissions (Bedrock, S3, DynamoDB, Lambda) before starting. - **Treat the protocol chapters (MCP/A2A) as reference material**: read the concepts once, then return when wiring your own servers or orchestrators. - **Do not skip the final two chapters even under deadline pressure** — evaluation, observability, and Cedar policy are where most agent projects fail in production. - **Watch for the "when multi-agent is not the answer" section**; it is the cheapest architectural mistake to avoid. 【Coverage Limits】 This guide is built from front matter, the table of contents, and a small number of sampled passages; chapter-internal arguments, code details, and specific examples beyond those markers are not covered here.

Passage locations

Excerpt 1
ged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and...
View in text
Excerpt 2
rts, and discovering family-owned coffee shops and wineries. Subscribe for a free eBook New frameworks, evolving architectures, research drops, production br...
View in text
Excerpt 3
: • Step 1: Setup • Step 2: Understand the agent (agent_app.py) • Step 3: Deploy the agent • Step 4: Create a custom evaluator • Step 5: Define test prompts...
View in text
Excerpt 4
ributing to a book, please visit http://authors.packt.com/ . Free benefits with your book This book comes with free benefits to support your learning. Activa...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
← Back to List