Memory vs Context vs Skills in AI Agents

Memory vs Context vs Skills in AI Agents

Leader ●6 ●96 ●179
calendar_today • schedule1 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

Want more #aiagents deep dives?

Join 6,134+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

7 Comments

1 vote
1
0
1
2 votes
1
0 votes

More Posts

What Security Teams Want From AI Agents Before They Let Them Act Alone

Tom Smithverified - Nov 18

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

CData's New AI Gateway Puts Context at the Center — Fixes the Three Reasons Enterprise AI Stalls

Tom Smithverified - Sep 28

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

Tom Smithverified - Mar 13

Frameworks Are Institutional Memory

Ken W. Algerverified - Sep 17
chevron_left
9.7k Points • 281 Badges
India • aimletc.com
98Posts
60Comments
23Connections
Nikhilesh is an entrepreneur, teacher and tech nerd
He is an IIT Kharagpur alumnus. He is also a Goo... Show more

Related Jobs

Commenters (This Week)

4 comments
4 comments

Contribute meaningful comments to climb the leaderboard and earn badges!