Agents Are Just Loops
Build your first AI agent in just 2 lines. No frameworks to memorize, no PhD required. Just a loop, some tools, and a model that figures out the rest. In this video, I build 4 agents from scratch using the open-source Strands Agents SDK — starting with a single tool call and ending with a multi-agent orchestrator. You'll see exactly how the agent loop works: the model reasons, selects a tool, executes it, and repeats until it has an answer. 1. An agent with one tool (calculator) 2. An agent with multiple tools where the model chooses 3. The same agent with hooks so you can watch every decision 4. An orchestrator that routes to specialist agents Blogpost: https://go.aws/48WWXlz GitHub repo (all code): https://go.aws/4wsWEJe Strands Agents SDK: https://go.aws/4u9Ultf Strands Agents docs: https://go.aws/4wo73Gl Morgan's deployment walkthrough: https://go.aws/3Rba0ty Morgan's production architectures video: https://go.aws/48XDLEe Follow AWS Developers! 🆇 X: https://go.aws/3Po2YkH 💼 LinkedIn: https://go.aws/3PeGVwP 0:00 Intro: Two lines = one working agent 0:22 What is an agent? (The Loop) 1:50 Agent #1: One Tool (Calculator) 3:07 Agent #2: Multiple Tools (Model Chooses) 4:32 Pro Tip: Docstrings are your API contract 4:50 Agent #3: Hooks (Watch the Loop Live) 6:20 Agent #4: Multi-Agent Orchestrator 7:35 Recap: The Pattern 8:12 Try It Yourself #AWS #AIAgents #StrandsAgents #Python
Download
0 formatsNo download links available.