Memory Interaction Patterns in Multi-Agent Systems Flashcards

(39 cards)

1
Q

What is the core idea of “memory interaction” in multi-agent systems?

A

How agents share, isolate, or transfer memory, which strongly affects collaboration quality and reliability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why does memory interaction “dramatically affect” collaboration?

A

It changes what context each agent sees and what information flows back, which changes reasoning quality, cost, and confusion risk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the simplest memory interaction pattern described?

A

Message passing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is “message passing” between agents?

A

One agent sends a task request and receives a final response, without sharing full history.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the human analogy for message passing in the reading?

A

Sending an email to a colleague and receiving their answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In message passing, what does the calling agent typically receive?

A

Only the final result (not the full process).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why is message passing often preferred for simple delegation?

A

It keeps agents isolated and focused, minimizing irrelevant context.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In the basic call_agent example, what memory does the invoked agent start with?

A

A fresh memory instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why create fresh memory for the invoked agent in message passing?

A

To prevent mixing histories and keep the invoked agent focused on the request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In basic message passing, what part of the invoked agent’s memory is returned?

A

Only the final memory item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When does message passing work best?

A

When the caller only needs the final answer, not the reasoning process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an example use case for message passing from the reading?

A

A project manager asks a scheduling agent for a meeting time and only needs the scheduled time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the main weakness of message passing?

A

Output quality depends heavily on how well the task request is written.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is “Memory Reflection”?

A

A pattern where the caller receives not just the result, but also the invoked agent’s process as memories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the human analogy for memory reflection?

A

Asking a colleague to explain how they arrived at their answer, not just the answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is memory reflection implemented in the example?

A

Copy all memory items from the invoked agent into the caller’s memory.

17
Q

In call_agent_with_reflection, where does the caller’s memory come from?

A

action_context.get_memory()

18
Q

In reflection, how can copied memories be labeled to show their source?

A

Add a type field like “{agent_name}_thought”.

19
Q

Why mark the memory source during reflection?

A

So the caller can distinguish which agent produced which memories.

20
Q

What does call_agent_with_reflection return besides result?

A

How many memories were added (memories_added).

21
Q

When is memory reflection valuable?

A

When the caller needs to understand the reasoning process to use the result well.

22
Q

What is an example use case for reflection from the reading?

A

A research coordinator wants to see the analysis process from a data analysis agent.

23
Q

What is a downside of memory reflection?

A

It can flood the caller with extra context and increase complexity/token cost.

24
Q

Why might you “leave off the last memory item” when copying memories?

A

To avoid duplicating the final result if it’s already returned separately.

25
What is “Memory Handoff”?
Passing the caller’s existing memory to another agent so it can continue with full context.
26
What is the human analogy for memory handoff?
A colleague taking over a project and needing the full history.
27
In memory handoff, what memory does the invoked agent receive?
The existing current memory (shared memory).
28
In the hand_off_to_agent example, what is passed as memory?
current_memory from action_context.get_memory()
29
What is the core benefit of memory handoff?
The next agent can pick up seamlessly using full context of what happened so far.
30
When is memory handoff most useful?
Complex tasks where history and context are crucial for correctness.
31
What is an example use case for memory handoff from the reading?
Customer service handing off to technical support who needs the full issue history.
32
What is a major downside of handing off full memory?
The invoked agent may see lots of irrelevant history, increasing distraction and cost.
33
How do these patterns differ in “context selection”?
Message passing: caller chooses context; reflection: caller gets process; handoff: invoked agent gets full history.
34
What is the key design question when choosing a memory interaction pattern?
Do we only need the final answer, do we need the process, or does the next agent need full context to continue?
35
How does message passing affect modularity?
It keeps agents cleanly separated because only a request and response cross the boundary.
36
How does memory reflection affect debuggability?
It improves visibility into the invoked agent’s process by copying its work trail into shared memory.
37
How does memory handoff affect continuity?
It maximizes continuity by letting the new agent inherit the full working context.
38
What is a practical risk of sharing too much memory back to the caller?
The caller gets “polluted” with details it doesn’t need, which can reduce clarity and predictability.
39
What is the overall tradeoff across the three patterns?
More shared memory can improve context and transparency, but increases complexity, cost, and distraction risk.