Beyond the Prompt

Module 5 — Agentic AI Workflows

Lesson 13: Agent Components

Last updated: 2026-10-09

An agent is built from three core parts: memory (what it knows about you), tools (what it can do), and prompts (how it reasons). The balance between them determines how autonomous it is.

Lesson 13: Agent Components

Blackboard

Memory, tools, and prompts

10 min
Concept 1

Memory: working vs archival

Not all memories need to be fast. Your name sits in working memory — accessed every turn. Your birthday goes to archival memory — needed once a year. Working memory must be highly optimised because slow retrieval creates latency on every single interaction.

Concept 2

Tools: APIs and beyond

An agent's tools are the external systems it can call: flight search APIs, hotel booking systems, payment processors, weather services. LLMs are surprisingly good at reading API documentation and figuring out how to call an endpoint if you give them the spec.

Concept 3

Degrees of autonomy

Least autonomous: the steps are hard-coded (always do A then B then C). More autonomous: the tools are defined but the agent decides the order. Most autonomous: the agent decides the steps AND can create new tools — writing code, calling any API, performing calculations.

Concept 4

The travel agent example

A travel booking agent combines all three: memory (user prefers direct flights, budget hotels), tools (flight API, hotel API, payment API), and prompts (plan the trip, validate with the user, update preferences). After each interaction, it updates memory for next time.

Pause and Think

If a travel agent AI forgot your preference for direct flights every session, how would that affect your experience?

Flashcards

Key Terms

Click or press Enter to flip a card. Review these before the practice question.

Additional Resources
Practice Question

An AI travel agent loads every user preference — including rarely-used ones — into working memory for every interaction. What is the likely consequence?

Does not count for certificate
Choose one answer, use the hint if needed, then check your answer.
Use the hint before checking if you need a nudge.