forked from strands-agents/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path03-memory.cast
More file actions
88 lines (88 loc) · 4.74 KB
/
Copy path03-memory.cast
File metadata and controls
88 lines (88 loc) · 4.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{"version": 2, "width": 110, "height": 32, "timestamp": 1778030237, "idle_time_limit": 2.0, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}, "title": "AIM308 \u2014 03-memory"}
[0.052467, "o", "\u001b[3J\u001b[H\u001b[2J"]
[0.053007, "o", "\u001b[1;36m╭─ AIM308 · Step 3 — Self-Learning (AgentCore Memory) ─────────────╮\u001b[0m\r\n"]
[0.053049, "o", "\u001b[1;36m│ Teach once. Agent remembers across sessions, per-user namespace. │\u001b[0m\r\n"]
[0.053124, "o", "\u001b[1;36m╰───────────────────────────────────────────────────────────────────╯\u001b[0m\r\n"]
[0.053133, "o", "\r\n"]
[1.067671, "o", "\u001b[1;32m$ \u001b[0me"]
[1.115654, "o", "c"]
[1.158583, "o", "h"]
[1.203664, "o", "o"]
[1.245012, "o", " "]
[1.284046, "o", "$"]
[1.326052, "o", "B"]
[1.358495, "o", "E"]
[1.389922, "o", "D"]
[1.41883, "o", "R"]
[1.446483, "o", "O"]
[1.477245, "o", "C"]
[1.504572, "o", "K"]
[1.535446, "o", "_"]
[1.566309, "o", "A"]
[1.596356, "o", "G"]
[1.627829, "o", "E"]
[1.658225, "o", "N"]
[1.691474, "o", "T"]
[1.72531, "o", "C"]
[1.760864, "o", "O"]
[1.794236, "o", "R"]
[1.828292, "o", "E"]
[1.866164, "o", "_"]
[1.903382, "o", "M"]
[1.942162, "o", "E"]
[1.979054, "o", "M"]
[2.013632, "o", "O"]
[2.048759, "o", "R"]
[2.085526, "o", "Y"]
[2.122176, "o", "_"]
[2.15847, "o", "I"]
[2.195983, "o", "D"]
[2.234199, "o", "\r\n"]
[2.55646, "o", "aim308_workshop_memory-R67FKS8cJG\r\n\r\n"]
[3.58564, "o", "\u001b[1;32m$ \u001b[0m"]
[3.586112, "o", "p"]
[3.633015, "o", "y"]
[3.669099, "o", "t"]
[3.707809, "o", "h"]
[3.751207, "o", "o"]
[3.792442, "o", "n"]
[3.83287, "o", " "]
[3.874936, "o", "d"]
[3.913486, "o", "r"]
[3.951419, "o", "i"]
[3.991464, "o", "v"]
[4.031912, "o", "e"]
[4.070869, "o", "r"]
[4.108106, "o", "."]
[4.146891, "o", "p"]
[4.187336, "o", "y"]
[4.228996, "o", "\r\n"]
[5.280859, "o", "\u001b[1;35m━━━ Fresh agent starts — user (Sam) was seen in previous sessions ━━━\u001b[0m\r\n"]
[6.236417, "o", "\r\n\u001b[1;36m🦆 I'm back. What do you remember about me? Retrieve from memory and summarize as a bullet list.\u001b[0m\r\n\r\n"]
[8.81924, "o", "I'll retrieve what I remember about you from memory.\r\nTool #1: agent_core_memory\r\n"]
[12.304508, "o", "Welcome back, Sam! Here's what I remember about you:\r\n\r\n•"]
[12.45722, "o", " **Name:** Sam Johnson\r\n• **Location:** You"]
[12.514055, "o", " live in San Francisco\r\n• **Work"]
[12.69993, "o", ":** You're building agricultural drones for precision farming\r\n• **Programming"]
[12.874843, "o", ":** Your favorite programming language is Python\r\n• **Ho"]
[13.409824, "o", "bbies:** You love sailing on weekends\r\n\r\n\u001b[1;36m🦆 Given what you know, suggest a weekend project idea.\u001b[0m\r\n\r\n"]
[15.728632, "o", "Based on what I know about you, here's a weekend project idea that combines your interests:\r\n\r\n##"]
[16.344198, "o", " **\"SailBot\" - A Sailing Weather & Conditions Analyzer**\r\n\r\nBuild"]
[16.763122, "o", " a Python application that helps optimize your weekend sailing trips by:\r\n\r\n**Core"]
[16.814984, "o", " Features:**\r\n- **"]
[17.438131, "o", "Weather API Integration**: Pull real-time wind speed, direction, and marine forecasts for San Francisco Bay\r\n- **Optimal"]
[17.796844, "o", " Sailing Time Predictor**: Analyze weather patterns to suggest the best sailing windows\r\n- **Route"]
[18.268276, "o", " Visualizer**: Map out sailing routes based on current conditions\r\n\r\n**Why"]
[18.4688, "o", " this fits you:**\r\n- "]
[18.731769, "o", "✅ **Python-based** - uses your favorite language\r\n- ✅ **"]
[19.044196, "o", "Sailing-related** - enhances your weekend hobby\r\n- ✅ **San"]
[19.35684, "o", " Francisco-specific** - tailored to Bay Area sailing conditions\r\n- ✅ **"]
[20.324298, "o", "Drone tech crossover** - you can apply similar sensor data processing and geospatial analysis skills you use with your agricultural drones\r\n\r\n**Bonus"]
[20.418819, "o", " Extension:**\r\nIf"]
[20.633711, "o", " you want to bridge it with your drone work, you could eventually add:\r\n- Wind"]
[20.891877, "o", " pattern visualization similar to agricultural field mapping\r\n- Integration"]
[21.255105, "o", " with small weather sensors (like a mini weather station)\r\n- Computer"]
[21.564091, "o", " vision to analyze Bay conditions from webcam feeds\r\n\r\nThis"]
[22.50575, "o", " project is manageable for a weekend, practical for your hobby, and lets you flex your Python skills while staying in your technical comfort zone! 🚤⚓\r\n\r\nWhat"]
[22.890508, "o", " do you think?"]
[23.034592, "o", "\r\n\u001b[1;33m✓ Facts saved in session A, retrieved after fresh restart in session B.\u001b[0m\r\n"]