Memory Squad: The Four Graph Heroes
Metadata
Article Title
MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents
Source
Author
Dongming Jiang, Yi Li, Guanpeng Li, Bingzhe Li
Date
2026-01
Article Summary
This paper introduces MAGMA, a revolutionary memory architecture for AI agents. In this comic adaptation, we personify the four types of memory graphs as cute characters - Sema-chan (Semantic), Tempo-kun (Temporal), Causa-san (Causal), and Enti-chan (Entity) - who work together to help the protagonist AI agent, Magi, solve complex memory puzzles that no single approach could handle alone.
Technical Details
Topic
AI Memory Architecture
Time Span
2026 (Research)
Narrative Approach
Character-focused
Recommended Style
michi (kawaii manga)
Recommended Layout
mixed
Aspect Ratio
3:4
Language
en
Page Count
10
Generated
2026-01-19 17:10
Memory Squad: The Four Graph Heroes - Knowledge Comic Storyboard
Character Reference: characters-character-focused/characters.png
Cover
Filename: 00-cover-memory-squad.png Core Message: Four cute graph characters unite to save AI memory!
Visual Design:
Title: "Memory Squad" in playful, colorful typography
Main visual: Four adorable character mascots posing together as a hero team
Protagonist AI (Magi) in the center, surrounded by graph friends
Subtitle: "The Four Graph Heroes"
Background: Soft pastel gradient with sparkles and memory nodes
Visual Prompt: Kawaii manga style comic cover. Title "Memory Squad" in playful colorful bubble letters with sparkles. Four adorable chibi mascot characters posing as a team: Sema-chan (blue, cloud-like with constellation pattern), Tempo-kun (green, clock-themed with timeline scarf), Causa-san (orange, detective with magnifying glass), Enti-chan (purple, hub-shaped with radiating ribbons). In center: Magi the AI protagonist (white robot with big cute eyes). Background: Soft pastel gradient (pink to blue) with floating memory nodes and sparkles. Subtitle: "The Four Graph Heroes". Cute, friendly, educational manga style.
Page 1 / 10
Filename: 01-page-meet-magi.png Layout: mixed Narrative Layer: Character introduction Core Message: Meet Magi, an AI who struggles with memories
Section Summary
What this section covers: Introducing Magi, our protagonist AI agent who is trying to help users but keeps forgetting important details from earlier conversations.
Key takeaway: Even advanced AI can struggle with memory - it's a fundamental challenge, not a character flaw!
Panel Layout
Panel Count: 4 Layout Type: manga flow
Panel 1 (Size: 1/3 page, Position: Top)
Scene: Magi at work, trying to help Image Description:
Camera angle: Medium shot
Characters: Magi (cute white robot) cheerfully helping at a desk
Environment: Friendly digital workspace with screens
Expression: Happy, helpful
Sparkles and energy marks around Magi
Text Elements:
Narrator box: "This is Magi, an AI assistant who loves to help!"
Magi: "How can I help you today? ★"
Panel 2 (Size: 1/3 page, Position: Middle)
Scene: A user asks about earlier conversation Image Description:
Camera angle: User POV
Characters: User speech bubble appearing
Question marks appearing around Magi
Expression: Starting to look confused
Text Elements:
User: "Remember that project we discussed last month?"
Magi (thinking): "Last month...? 💦"
Panel 3 (Size: 1/4 page, Position: Bottom-left)
Scene: Magi's memories becoming tangled Image Description:
Camera angle: Thought bubble visualization
Visual: Magi's internal memory shown as a tangled mess of nodes
Expression: Worried, sweating
Text Elements:
Magi: "I... I can't find it! Everything is so tangled! 😰"
Panel 4 (Size: 1/4 page, Position: Bottom-right)
Scene: Magi feeling defeated Image Description:
Camera angle: Close-up
Characters: Magi with cute sad expression, small tears
Emotion marks: Disappointment clouds
Text Elements:
Magi: "My memory is a mess..."
Narrator: "Magi needed help. REAL help."
Page Hook: "But then... four new friends appeared!"
Visual Prompt: Kawaii manga page introducing Magi. Top panel: Cute white robot Magi with big sparkling eyes at a desk, surrounded by floating screens, cheerful expression, sparkles. "How can I help you?" Middle panel: Speech bubble from user asking about old conversation, question marks appearing around Magi's head, expression becoming worried. Bottom left: Thought bubble showing Magi's internal memory as cute but tangled spaghetti of nodes, sweat drop. Bottom right: Close-up of sad Magi with cute teary eyes, disappointment clouds. Soft pastel colors, manga speed lines, emotional expressions.
Page 2 / 10
Filename: 02-page-memory-squad-arrives.png Layout: splash Narrative Layer: Hero introduction Core Message: The Memory Squad arrives to help!
Section Summary
What this section covers: The four memory graph characters appear as a heroic team, each with their unique power and personality.
Key takeaway: Different types of relationships need different specialists - that's why MAGMA uses four distinct graphs!
Panel Layout
Panel Count: 1 Layout Type: full splash with character introductions
Panel 1 (Size: Full page)
Scene: The Memory Squad makes a dramatic entrance! Image Description:
Camera angle: Low angle, heroic pose
Characters: All four graph mascots appearing in a burst of light
Sema-chan (blue, fluffy, cute constellation pattern) - top left
Tempo-kun (green, clock-themed, energetic) - top right
Causa-san (orange, detective-styled, cool) - bottom left
Enti-chan (purple, hub-shaped, friendly) - bottom right
Environment: Sparkles, light rays, dramatic manga entrance
Action: Landing poses, power effects around each
Text Elements:
All together: "Never fear! The Memory Squad is here! ☆"
Individual introduction text boxes for each character
Magi: "Wow! Who are you?! ✨"
Page Hook: "Let me introduce each hero..."
Visual Prompt: Kawaii manga splash page - dramatic team entrance! Four adorable mascot characters bursting onto the page in heroic poses with sparkles and light rays. Sema-chan (blue fluffy cloud with constellation patterns, big cute eyes). Tempo-kun (green clock-themed character with timeline scarf, energetic pose). Causa-san (orange character with detective hat and magnifying glass, cool expression). Enti-chan (purple hub-shaped character with radiating ribbons, warm smile). Center bottom: Magi looking up in awe with sparkling eyes. Banner text: "The Memory Squad is here!" Dynamic motion lines, sparkle effects, pastel background with dramatic lighting.
Page 3 / 10
Filename: 03-page-meet-sema-chan.png Layout: mixed Narrative Layer: Character focus - Sema-chan Core Message: Sema-chan connects similar concepts
Section Summary
What this section covers: Deep dive into Sema-chan (Semantic Graph) - she finds connections between similar ideas and concepts, clustering related memories together.
Key takeaway: Semantic similarity is great for finding related concepts, but it can't distinguish between cause and effect or time order.
Panel Layout
Panel Count: 3 Layout Type: focus panels
Panel 1 (Size: 1/2 page, Position: Top)
Scene: Sema-chan introducing herself Image Description:
Camera angle: Medium shot with sparkle frame
Characters: Sema-chan floating, surrounded by constellation-like connections
Expression: Gentle, wise, friendly
Text Elements:
Sema-chan: "I'm Sema-chan! I find things that are SIMILAR! ✨"
Caption: "Semantic Graph - connects concepts by meaning"
Panel 2 (Size: 1/4 page, Position: Bottom-left)
Scene: Demonstration of power Image Description:
Visual: Sema-chan connecting "Machine Learning" → "AI" → "Neural Networks"
Nodes glowing blue, soft undirected edges
Stars and sparkles around connections
Text Elements:
Sema-chan: "See? These ideas are all related! Like a constellation!"
Panel 3 (Size: 1/4 page, Position: Bottom-right)
Scene: Limitation revealed Image Description:
Visual: Sema-chan looking a bit worried
Question marks around "But which came first?"
Text Elements:
Sema-chan: "But I can't tell you WHEN or WHY... 💧"
Narrator: "That's where her friends help!"
Visual Prompt: Kawaii manga page featuring Sema-chan. Top half: Blue fluffy cloud character Sema-chan floating in space, surrounded by glowing constellation-like node connections, gentle expression, introduction pose. She's soft and cute with sparkles. Bottom left: Demonstration panel showing nodes labeled "Machine Learning", "AI", "Neural Networks" connected by soft blue glowing lines, Sema-chan proudly presenting. Bottom right: Sema-chan with cute worried expression, question marks floating, showing her limitation. Soft blue color scheme, constellation motifs, gentle atmosphere.
Page 4 / 10
Filename: 04-page-meet-tempo-kun.png Layout: mixed Narrative Layer: Character focus - Tempo-kun Core Message: Tempo-kun tracks time and order
Section Summary
What this section covers: Introduction to Tempo-kun (Temporal Graph) - he remembers WHEN things happened and keeps everything in chronological order.
Key takeaway: Temporal relationships are crucial for understanding sequences and resolving "when" questions.
Panel Layout
Panel Count: 3 Layout Type: focus panels
Panel 1 (Size: 1/2 page, Position: Top)
Scene: Tempo-kun's energetic introduction Image Description:
Camera angle: Dynamic action shot
Characters: Tempo-kun with clock theme, running along a timeline
Expression: Energetic, determined, friendly
Timeline scarf flowing behind
Text Elements:
Tempo-kun: "I'm Tempo-kun! Time is my specialty! ⏰"
Caption: "Temporal Graph - strict chronological order"
Panel 2 (Size: 1/4 page, Position: Bottom-left)
Scene: Demonstration of power Image Description:
Visual: Timeline with labeled events: "Monday → Tuesday → Wednesday"
Tempo-kun sliding along the immutable chain
Clock motifs and time symbols
Text Elements:
Tempo-kun: "Events flow in ONE direction! Past → Present → Future!"
Panel 3 (Size: 1/4 page, Position: Bottom-right)
Scene: Solving "when" questions Image Description:
Visual: Tempo-kun confidently answering "When did we discuss the project?"
Calendar/clock visualization
Text Elements:
Tempo-kun: "Ask me WHEN, and I'll find it! 📅✨"
Magi: "Amazing!"
Visual Prompt: Kawaii manga page featuring Tempo-kun. Top half: Green clock-themed character Tempo-kun in energetic running pose along a glowing timeline path, timeline scarf flowing behind, clock motifs around, enthusiastic expression. He's dynamic and lively! Bottom left: Timeline visualization showing sequential events with arrows, Tempo-kun sliding along like a surfer, diamond-shaped time nodes. Bottom right: Tempo-kun confidently pointing at a calendar, answering a "When?" question, Magi looking impressed. Green color scheme, clock/timeline motifs, energetic atmosphere.
Page 5 / 10
Filename: 05-page-meet-causa-san.png Layout: mixed Narrative Layer: Character focus - Causa-san Core Message: Causa-san understands cause and effect
Section Summary
What this section covers: Introduction to Causa-san (Causal Graph) - the detective of the group who traces WHY things happened by following cause-effect chains.
Key takeaway: Causal reasoning is essential for answering "why" questions, which pure semantic similarity cannot handle.
Panel Layout
Panel Count: 3 Layout Type: focus panels
Panel 1 (Size: 1/2 page, Position: Top)
Scene: Causa-san's detective-style introduction Image Description:
Camera angle: Cool pose, detective stance
Characters: Causa-san with detective hat, magnifying glass
Expression: Cool, analytical, confident
Background: Evidence board with connected nodes
Text Elements:
Causa-san: "I'm Causa-san. I find out WHY things happen. 🔍"
Caption: "Causal Graph - tracks cause and effect"
Panel 2 (Size: 1/4 page, Position: Bottom-left)
Scene: Demonstration of power Image Description:
Visual: Causa-san tracing "Bug found → Code fix → Test passed"
Directed arrows showing causation
Detective deduction visual effect
Text Elements:
Causa-san: "This happened BECAUSE of that. Elementary."
Panel 3 (Size: 1/4 page, Position: Bottom-right)
Scene: The key difference explained Image Description:
Visual: Comparison - "WHAT happened" (dim) vs "WHY it happened" (bright)
Causa-san proudly pointing at the WHY
Text Elements:
Causa-san: "Others know WHAT. I know WHY. 🧡"
Narrator: "The missing piece of the puzzle!"
Visual Prompt: Kawaii manga page featuring Causa-san. Top half: Orange detective-styled character Causa-san in cool investigative pose, wearing cute detective hat, holding magnifying glass, evidence board behind with connected clues, confident expression. Bottom left: Demonstration showing "Bug found → Code fix → Test passed" with bold directional arrows, Causa-san tracing the chain with magnifying glass, deduction sparkles. Bottom right: Split visual showing dim "WHAT?" vs bright glowing "WHY!", Causa-san pointing proudly. Orange color scheme, detective noir meets kawaii, analytical atmosphere.
Page 6 / 10
Filename: 06-page-meet-enti-chan.png Layout: mixed Narrative Layer: Character focus - Enti-chan Core Message: Enti-chan tracks entities across time
Section Summary
What this section covers: Introduction to Enti-chan (Entity Graph) - she remembers people, places, and things, tracking them across different conversations.
Key takeaway: Entity persistence is crucial for maintaining coherent understanding of who/what across disjoint timeline segments.
Panel Layout
Panel Count: 3 Layout Type: focus panels
Panel 1 (Size: 1/2 page, Position: Top)
Scene: Enti-chan's friendly introduction Image Description:
Camera angle: Welcoming pose
Characters: Enti-chan with hub-and-spoke design, ribbons radiating
Expression: Warm, caring, attentive
Surrounded by floating name tags and entity markers
Text Elements:
Enti-chan: "I'm Enti-chan! I remember EVERYONE and EVERYTHING! 💜"
Caption: "Entity Graph - tracks people, places, things"
Panel 2 (Size: 1/4 page, Position: Bottom-left)
Scene: Demonstration of power Image Description:
Visual: "Alice" appearing in conversations 1, 5, and 12
Enti-chan connecting all the mentions
Connection ribbons linking instances
Text Elements:
Enti-chan: "Alice was mentioned here, here, AND here! I keep track!"
Panel 3 (Size: 1/4 page, Position: Bottom-right)
Scene: Object permanence solved Image Description:
Visual: Enti-chan bridging two distant conversation segments
"Project X" connected across time gap
Text Elements:
Enti-chan: "Even if topics change, I remember who's who! ✨"
Magi: "That's so helpful!"
Visual Prompt: Kawaii manga page featuring Enti-chan. Top half: Purple hub-shaped character Enti-chan with cute radiating ribbons extending outward, welcoming pose, surrounded by floating name tags and entity markers ("Alice", "Project X", "Tokyo Office"), warm caring expression. Bottom left: Visualization showing "Alice" entity connected to conversation 1, 5, and 12 with purple ribbons, Enti-chan proudly maintaining connections. Bottom right: Enti-chan bridging two distant timeline segments for "Project X", Magi impressed. Purple color scheme, hub-and-spoke motifs, warm connecting atmosphere.
Page 7 / 10
Filename: 07-page-team-together.png Layout: cinematic Narrative Layer: Team synergy Core Message: Together they form MAGMA!
Section Summary
What this section covers: The four characters come together, explaining how their combined powers create the MAGMA system - greater than the sum of their parts.
Key takeaway: Multi-graph architecture works because each graph handles a different dimension of memory, and the Adaptive Traversal Policy knows which to consult for each query.
Panel Layout
Panel Count: 3 Layout Type: cinematic flow
Panel 1 (Size: 1/3 page, Position: Top)
Scene: The team assembling Image Description:
Camera angle: Team formation shot
Characters: All four characters taking positions around Magi
Action: Power-up sequence beginning
Text Elements:
All: "When we work together..."
Panel 2 (Size: 1/3 page, Position: Middle)
Scene: The MAGMA formation Image Description:
Camera angle: Epic transformation
Visual: Four characters merging their powers into one unified system
Energy swirls, sparkles, combination effect
MAGMA logo forming in center
Text Elements:
Caption: "We become... MAGMA!"
Sound effect: "COMBINE! ★"
Panel 3 (Size: 1/3 page, Position: Bottom)
Scene: The Router explains Image Description:
Camera angle: Diagram with cute characters
Visual: Intent Router personified as cute traffic controller
Directing queries to the right character based on type
Text Elements:
Router: "I figure out WHO should help with each question!"
Labels: "Why? → Causa-san" "When? → Tempo-kun" "Who/What? → Enti-chan" "Related? → Sema-chan"
Visual Prompt: Kawaii manga page showing team synergy. Top panel: Four characters taking heroic positions around Magi, power-up energy beginning to flow. Middle panel: Epic combination sequence! All four characters merging their colored energy (blue, green, orange, purple) into a swirling mixture, MAGMA text forming in center with rainbow effect, sparkles everywhere. Bottom panel: Cute traffic controller character (Intent Router) with hat and flag, directing incoming question bubbles to the appropriate character - "Why?" arrow to Causa-san, "When?" to Tempo-kun, etc. Dynamic combination energy, teamwork atmosphere.
Page 8 / 10
Filename: 08-page-solving-puzzle.png Layout: mixed Narrative Layer: Problem solving Core Message: Memory Squad solves Magi's problem!
Section Summary
What this section covers: The team in action! When Magi receives the question about "that project from last month," the Memory Squad works together - Tempo-kun finds when, Enti-chan finds what project, Causa-san explains why it mattered.
Key takeaway: Real queries often need multiple types of reasoning - MAGMA's adaptive traversal consults the right combination.
Panel Layout
Panel Count: 4 Layout Type: action sequence
Panel 1-4: The team solving the earlier question together
Visual Prompt: Action sequence page. Panel 1: Original user question returns - "Remember that project from last month?" Panel 2: Tempo-kun racing along timeline to find "last month", clock hands spinning. Panel 3: Enti-chan identifying "Project Alpha" entity, connecting the mentions. Panel 4: Causa-san explaining why the project mattered with cause-effect chain. Final reveal: All info combining into clear answer for Magi! Magi celebrating with sparkles, users happy. Dynamic teamwork, problem-solving energy, colorful action.
Page 9 / 10
Filename: 09-page-results-victory.png Layout: mixed Narrative Layer: Validation Core Message: MAGMA wins against all challenges!
Section Summary
What this section covers: Victory montage showing MAGMA (as the Memory Squad) outperforming other approaches in the benchmark tests.
Key takeaway: The multi-graph approach delivers 45% improvement over baseline - teamwork really does make the dream work!
Panel Layout
Panel Count: 3 Layout Type: victory montage
Visual Prompt: Victory montage page. Top: Scoreboard showing MAGMA squad at 70% with trophy, other competitors (shown as generic grey figures) at lower scores. Confetti and celebration. Middle: The team in victory poses, each with their score contribution highlighted. Bottom: Magi hugging all four squad members, hearts and sparkles, "Thank you, Memory Squad!" Celebration atmosphere, bright colors, achievement unlocked vibes.
Page 10 / 10
Filename: 10-page-friends-forever.png Layout: splash Narrative Layer: Conclusion Core Message: The future is bright with organized memory!
Section Summary
What this section covers: Warm conclusion with Magi and the Memory Squad as permanent friends, ready to help with any memory challenge.
Key takeaway: Good memory architecture isn't just about technology - it's about having the right specialized helpers working together!
Panel Layout
Panel Count: 1 Layout Type: full splash
Visual Prompt: Heartwarming conclusion splash. Magi surrounded by all four Memory Squad friends in a group photo pose, warm sunset-like lighting, sparkles and stars. Each character showing their personality - Sema-chan floating gently, Tempo-kun energetic, Causa-san cool, Enti-chan hugging Magi. Quote: "With good friends, no memory is ever lost! ✨" GitHub link at bottom in cute banner. Kawaii ending, friendship theme, hopeful future, soft pastel colors, group photo composition.
Last updated