Memory vs Context vs Skills in AI Agents

Memory vs Context vs Skills in AI Agents

Leader 4 59 132
calendar_today agoschedule1 min read

One common mistake I see is people using these terms interchangeably. 

Memory is information retained from past interactions. 

Context is information inside the model's current context window. 

Let's simplify it with an example.

Suppose you have a file called: company_policy.md

Scenario 1:

The AI agent hasn't read it.

Is it memory?

No.

Is it context?

No.

It's simply knowledge (or a knowledge source). 

Scenario 2:

The agent searches company_policy.md and injects the relevant sections into the prompt.

Now it becomes context.

The model can now use that information to answer your question.

Scenario 3:

Now imagine the agent maintains information about the user: user_profile.md

  • Prefers Python

  • Likes concise explanations

  • Works in AI Engineering

After every conversation with the user, it updates this file.

This file is memory.

Because it stores information the agent has learned and will reuse in future interactions.

Now, if relevant information from this file is included with the prompt, that memory information becomes the context.

Ok, then what is Skill?

(There is a character limit) Continue reading the complete article - https://lnkd.in/gx5wxpt7

6 Comments

1 vote
1
0
1
2 votes
1
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

AI Agents Don't Have Identities. That's Everyone's Problem.

Tom Smithverified - Mar 13

️ Agent Action Guard: Framework for Safer AI Agents

praneeth - Apr 1

The Context Window Isn't Memory. It's the CPU Cache of AI.

Ken W. Algerverified - Jul 22

Your AI Agent Skills Have a Version Control Problem

snapsynapseverified - Apr 22

Comparison: Universal Import vs. Plaid/Yodlee

Pocket Portfolio - Mar 12
chevron_left
7.8k Points195 Badges
Indiaaimletc.com
78Posts
52Comments
12Connections
Nikhilesh is an entrepreneur, teacher and tech nerd
He is an IIT Kharagpur alumnus. He is also a Goo... Show more

Related Jobs

View all jobs →

Commenters (This Week)

2 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!