← Back to CoursesAgentic AI: Beginner

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

The Agent Loop in 3D

Watch a thought travel through Perceive → Plan → Act → Observe. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Perception, Memory, and Context

Manual: General · Subject: Agentic AI

Explore how agents notice information, store it, and use it later.

Seeing and remembering

Perception

Perception means how the agent receives information. In a text-based system, perception may be the user's message, tool output, or documents. In a richer system, it could also include images, audio, sensors, or logs.

Memory types

Agents may use short-term memory for the current interaction and longer-term memory for useful facts, preferences, or past outcomes. Good memory helps an agent stay consistent and avoid repeating work.

Short-term vs long-term memory

Short-term memory

  • Holds current context
  • Useful for immediate reasoning
  • Often limited in size

Long-term memory

  • Stores durable information
  • Useful across sessions
  • May require retrieval methods
⚠️

Memory is not always perfect

Agents can remember the wrong thing, remember too much, or retrieve irrelevant information. Memory must be managed carefully.

What is one purpose of memory in an AI agent?

What is one example of information an agent might store in long-term memory?

Context window

For many language-model agents, the context window is the amount of text the model can consider at once. If information falls outside that window, the agent may need retrieval or memory systems to access it again.

MEMORY & CONTEXT

How agents hold on to—and retrieve—what they know

Types of Agent Memory

TypeScopeStorageExample
In-ContextCurrent sessionLLM token windowConversation history
External / VectorPersistentVector DB (Pinecone)Knowledge base
EpisodicPast runsStructured DB"Last time I did X…"
ProceduralAlways availableSystem promptBuilt-in skills

Context Window Budget

System Prompt
15%
Tool Definitions
10%
Chat History
30%
Retrieved Docs
35%
Working Memory
10%

Answer Accuracy vs Context Quality