From the course: Hands-On AI: Building Agents with the Google Agent Development Toolkit (ADK)

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Artifacts: Giving agents lasting, versioned memory

Artifacts: Giving agents lasting, versioned memory

- [Tutor] You're rushing to pack for a business trip, frantically trying to remember what you packed last time. Now, imagine if your travel assistant could remember every detail from your previous trips: your preferred hotels, that perfect packing list, even your dietary restrictions. That's the power we're unlocking today. Let's see how ADK Artifacts function as persistent memories for your agents, enabling them to store, retrieve, and manage everything, from generated reports to user preferences across multiple sessions. In ADK, an Artifact represents a crucial mechanism for managing named, version, binary data. This data can be associated either with a specific user interaction session or persistently with a user across all their sessions. Think of Artifacts as your agent's sophisticated digital filing cabinet. While simple session state handles lightweight, transient data, like remembering a name within a single conversation, Artifacts are designed for the heavy-duty stuff: PDFs…

Contents