TRANSCRIPTEnglish

AgentCore / Strands / memory + state

9m 10s1,238 words222 segmentsEnglish

FULL TRANSCRIPT

0:00

This day is very exam heavy because it

0:02

mixes state, memory, tools, and tracing.

0:05

All things that break silently if you

0:07

design them wrong. Agent core strands,

0:09

memory, state. Big idea, one sentence.

0:13

An agent is not a single prompt. It's a

0:15

longive system with state, memory,

0:17

tools, and traceability. One, agent core

0:20

versus strands conceptual, not syntax.

0:23

You'll see different names, but AWS is

0:25

testing the concept, not the brand agent

0:27

core conceptually. The runtime brain of

0:30

the agent decides next action, calls

0:32

tools, updates state, reads, writes

0:34

memory. Think the control loop. Strands,

0:38

independent execution threads or

0:39

reasoning paths. One strand might be

0:42

booking, another validating, another

0:44

fetching context. Strands let agents do

0:47

multi-step reasoning, pause and resume,

0:49

branch safely. Exam mindset. You are not

0:53

expected to code this only to design for

0:55

it. Number two, agent state versus

0:57

memory. This distinction matters. Agent

1:00

state short-term current task step

1:03

number tool call in progress temporary

1:04

variables. State is session scoped

1:07

mutable short-lived. Example user is

1:10

halfway through booking an appointment.

1:13

Agent memory long-term user preferences

1:16

past interactions known entities.

1:18

Historical outcomes. Memory is

1:20

persistent, durable, reused across

1:22

sessions. Example, user prefers morning

1:25

appointments.

1:27

Exam trap state memory mixing them is a

1:30

design flaw. Number three, where AWS

1:32

expects you to store memory. The most

1:34

common and exam safe answer, Amazon

1:36

Dynamo DB. Why Dynamob? Low latency,

1:39

durable keybased access, user ID, agent

1:42

ID, scales cleanly, typical keys, PK

1:44

user ID, SKT's memory type, timestamp.

1:47

If an answer stores long-term memory

1:49

only, and prompts four, AWS static one

1:53

agent memory edition. Static agent logic

1:56

tool definitions memory schema state

1:58

machine rules plus one current user

2:00

interaction the agent design stays fixed

2:03

conversations change that static plus

2:04

one again number five tool integration

2:07

patterns very exammy agents don't do

2:10

things they call tools common tool

2:12

patterns lambda functions APIs databases

2:16

search rag tools

2:18

wrong design tool logic embedded in

2:20

prompts no validation no traceability

2:23

exam signal external system, action,

2:25

side effect, tool call. Number six, why

2:28

agent tracing exists. This is critical.

2:30

Agents fail in non-obvious ways. Wrong

2:33

tool order, repeated loops, hallucinated

2:36

tool arguments, state corruption.

2:38

Tracing answers, what did the agent

2:40

think? Which tool did it call? In what

2:42

order? With what input output? Number

2:45

seven, what agent tracing implies in AWS

2:48

terms. Tracing means step-by-step

2:51

visibility, tool calls logged, state

2:53

transitions recorded, timestamps

2:55

preserved, typically integrated with

2:57

Amazon Cloudatch, AWS X-Ray, exam

3:00

signal, debug, audit, governance,

3:02

explain behavior, tracing plus logs.

3:05

Eight, why tracing matters for

3:07

governance, not just debugging. AWS

3:10

cares about compliance, explainability,

3:13

audit trails. Tracing lets you answer

3:15

why was this action taken, which data

3:17

was used, which tool modified a record,

3:19

who approved this logic. If an exam

3:21

question mentions regulated systems,

3:23

tracing is mandatory. Nine. Realistic

3:26

agent architecture. Exam friendly. You

3:29

can see the code in our conversation

3:30

history.

3:33

This loop may run multiple times per

3:35

request.

3:36

10. Classic exam traps. Watch carefully.

3:39

Store agent memory only in prompts. No

3:42

need to trace if responses look fine.

3:44

State and memory are the same. Tools are

3:47

just prompt instructions. AWS wants

3:49

systems, not clever prompts.

3:52

One memory story. The assistant with a

3:55

notebook. State what page they're

3:57

currently on. Memory notes saved in a

3:59

filing cabinet. Tools. Phone calls they

4:02

can make. Tracing CCTV footage of

4:05

everything they did. If something goes

4:07

wrong, you don't ask the assistant to

4:08

remember better. You review the footage.

4:12

Exam compression rules memorize

4:14

short-term state long-term memory.

4:18

Dynamo DB actions tools debug and audit

4:21

tracing design once static plus one. If

4:24

an answer treats an agent like a single

4:26

prompt wrong what AWS is really testing,

4:30

they want to know if you understand that

4:32

agents are longunning auditable systems,

4:35

not chat completions. If your answer

4:37

includes state, memory, tools, tracing,

4:41

you're answering at AWS professional

4:42

level. Here are three very real

4:45

production style examples that map

4:47

exactly to what AWS expects you to

4:49

design and reason about in the exam.

4:51

Real examples. Day 13, agent core,

4:54

memory, state, tools, and tracing.

4:57

Example one, AI receptionist for a

4:59

dental clinic. Classic agent plus

5:01

memory.

5:02

Scenario. An AI receptionist books

5:04

appointments, answers questions, and

5:06

follows up later. A user calls today,

5:09

then again next week.

5:12

What is state here? State is temporary

5:14

and sessionbound. During one call,

5:16

current steps collect preferred date.

5:18

Missing infog's provider tool in

5:20

progress will check availability. This

5:22

lives only for the session. If the call

5:24

drops, state is discarded.

5:27

What is memory here? Memory is long-term

5:29

and reusable stored in Amazon Dynamob.

5:32

You can see the code in our conversation

5:34

history. Next week, the agent reads

5:37

memory, skips unnecessary questions,

5:39

personalizes behavior. Exam takeaway.

5:42

Open quote. Stay equals what's happening

5:44

now. Memory equals what we know forever.

5:47

Close quote. Tool integration. When

5:50

booking, agent calls a booking API.

5:52

Lambda tool. Receives availability.

5:55

Updates state. Writes confirmed

5:57

appointment to memory. Tools are

5:58

external actions. Never prompt tricks.

6:01

Example two. Compliance sensitive agent.

6:03

Why tracing matters? Scenario. An agent

6:06

assists staff with financial compliance

6:08

checks. One day it incorrectly approves

6:11

a transaction. Now auditors ask open

6:14

quote. Why did the agent do that? Close

6:16

quote. Without tracing bad design, you

6:18

only have final answer, no visibility.

6:21

This fails governance requirements. with

6:24

tracing correct AWS design the agent

6:27

records reasoning steps tool calls

6:29

inputs and outputs timestamps stored via

6:32

Amazon Cloudatch logs AWS X-ray

6:36

execution path you can now answer which

6:38

rule was applied which data source was

6:41

queried which tool approved the

6:42

transaction exam signal if you see audit

6:46

compliance regulated explain decision

6:48

tracing is mandatory example three

6:51

multi-step agent with strands branching

6:53

safely

6:54

Scenario. An agent handles open quote.

6:56

Book an appointment and send me a

6:58

confirmation SMS. Close quote. This is

7:01

not one action. Hashed house strands

7:03

appear conceptually. The agent creates

7:05

separate strands. Strand A booking

7:07

logic. Strand B notification logic. Each

7:10

strand has its own state. Can succeed or

7:12

fail independently. If booking succeeds,

7:15

SMS fails. The agent retries SMS does

7:18

not rebook the appointment. Exam

7:20

takeaway. Strands prevent cascading

7:23

failures in multi-step agents. Example

7:26

four. Rag enabled agent with memory plus

7:28

tools. Scenario. A policy assistant

7:30

agent answers questions. Remembers what

7:32

documents a user already reviewed. Flow

7:34

one. User asks a policy question. Two.

7:37

Agent checks memory for previously

7:39

accessed topics. Avoids repeating

7:41

explanations. Three, agent calls.

7:43

Retrieval tool. Open search KB. Four.

7:46

Agent responds. Five. Memory updated.

7:49

User reviewed policy X. Next question.

7:52

Agent retrieves only new context.

7:54

Response is shorter and more relevant.

7:56

This improves UX cost accuracy. Example

7:59

five. Debugging an agent loop. Real

8:02

failure mode. Problem. Agent keeps

8:04

calling the same tool repeatedly.

8:06

Without tracing, you see slow response,

8:09

high cost, no idea why. With tracing,

8:12

you see state never transitions. Tool

8:15

result not validated. Agent re-enters

8:17

same step. Fix update state transition

8:20

logic. Add guard condition. Exam signal.

8:22

Agent loops. Unexpected behavior.

8:25

Tracing plus state inspection. Statics.

8:27

One. Real world anchoring. Static. Agent

8:30

logic. Tool definitions. Memory schema.

8:32

Tracing configuration.

8:34

Plus one. Current interaction. Design.

8:36

Once run forever. One. Memory story.

8:39

Never forget. The assistant at a desk.

8:42

State. Sticky notes on the desk. Memory.

8:44

Filing cabinet. Dynamo DB. Tools. Phone

8:47

calls and emails. Tracing CCTV footage.

8:51

When something goes wrong, you check the

8:52

footage, not guess. Ultrashort exam

8:55

cheat sheet. Long-term info. Dynamob

8:57

short-term flow state. External actions.

9:00

Tools. Debug and audit. Tracing. Agents.

9:04

Co-prompts. If an answer treats agents

9:06

as just prompts,

UNLOCK MORE

Sign up free to access premium features

INTERACTIVE VIEWER

Watch the video with synced subtitles, adjustable overlay, and full playback control.

SIGN UP FREE TO UNLOCK

AI SUMMARY

Get an instant AI-generated summary of the video content, key points, and takeaways.

SIGN UP FREE TO UNLOCK

TRANSLATE

Translate the transcript to 100+ languages with one click. Download in any format.

SIGN UP FREE TO UNLOCK

MIND MAP

Visualize the transcript as an interactive mind map. Understand structure at a glance.

SIGN UP FREE TO UNLOCK

CHAT WITH TRANSCRIPT

Ask questions about the video content. Get answers powered by AI directly from the transcript.

SIGN UP FREE TO UNLOCK

GET MORE FROM YOUR TRANSCRIPTS

Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.