Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Give Your AI Agent Persistent Memory - AI Agents Day 24!
You have completed Give Your AI Agent Persistent Memory - AI Agents Day 24!
Preview
Add memory that persists beyond a single interaction. Plan the implementation, decide what gets remembered and how long it is kept, then confirm your agent can recall earlier work from both the terminal and your phone.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Today, we're going to work on giving our
agent persistent memory.
0:00
Because as it currently stands, it runs on
one session at a time.
0:01
And as you'll recall in the last video,
when I tried to continue the conversation
0:05
in a previous thread after already
conversing with the agent, it had no idea
0:08
what I was talking about.
0:12
That's because it only has context of the
current session we're in.
0:14
It can't reference older sessions that
we've had previously, so that's where
0:17
integrating and creating persistent memory
is very critical.
0:21
There are several ways
to do this.
0:24
Some people use just raw markdown files to
store their memory files, and some even
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up