Skip to content

Commit 8a4574f

Browse files
authored
Merge pull request #105 from Dooders/dev
Add step validation memory configuration and test suite for step sear…
2 parents 4a468b3 + 59ea427 commit 8a4574f

File tree

2 files changed

+484
-0
lines changed

2 files changed

+484
-0
lines changed
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
{
2+
"config": {
3+
"logging_level": "INFO",
4+
"cleanup_interval": 100,
5+
"enable_memory_hooks": false,
6+
"stm_config": {
7+
"host": "127.0.0.1",
8+
"port": 6379,
9+
"db": 0,
10+
"namespace": "agent-stm",
11+
"use_mock": true
12+
},
13+
"im_config": {
14+
"host": "127.0.0.1",
15+
"port": 6379,
16+
"db": 1,
17+
"namespace": "agent-im",
18+
"use_mock": true
19+
},
20+
"ltm_config": {
21+
"db_path": "memory.db",
22+
"compression_level": 2,
23+
"batch_size": 20
24+
}
25+
},
26+
"agents": {
27+
"test-agent-step-search": {
28+
"agent_id": "test-agent-step-search",
29+
"memories": [
30+
{
31+
"memory_id": "test-agent-step-search-stm-1",
32+
"agent_id": "test-agent-step-search",
33+
"step_number": 100,
34+
"timestamp": 1686816000,
35+
"content": {
36+
"content": "Initial system configuration completed",
37+
"metadata": {
38+
"type": "state",
39+
"importance": "high",
40+
"tags": ["configuration", "initialization"],
41+
"source": "system"
42+
}
43+
},
44+
"metadata": {
45+
"creation_time": 1686816000,
46+
"last_access_time": 1686816000,
47+
"compression_level": 0,
48+
"importance_score": 0.9,
49+
"retrieval_count": 0,
50+
"memory_type": "state",
51+
"current_tier": "stm",
52+
"checksum": "a1b2c3d4e5f6g7h8i9j0"
53+
},
54+
"type": "state",
55+
"embeddings": {}
56+
},
57+
{
58+
"memory_id": "test-agent-step-search-stm-2",
59+
"agent_id": "test-agent-step-search",
60+
"step_number": 150,
61+
"timestamp": 1686816100,
62+
"content": {
63+
"content": "User authentication system initialized",
64+
"metadata": {
65+
"type": "state",
66+
"importance": "high",
67+
"tags": ["auth", "security"],
68+
"source": "system"
69+
}
70+
},
71+
"metadata": {
72+
"creation_time": 1686816100,
73+
"last_access_time": 1686816100,
74+
"compression_level": 0,
75+
"importance_score": 0.85,
76+
"retrieval_count": 0,
77+
"memory_type": "state",
78+
"current_tier": "stm",
79+
"checksum": "b2c3d4e5f6g7h8i9j0k1"
80+
},
81+
"type": "state",
82+
"embeddings": {}
83+
},
84+
{
85+
"memory_id": "test-agent-step-search-im-1",
86+
"agent_id": "test-agent-step-search",
87+
"step_number": 200,
88+
"timestamp": 1686816200,
89+
"content": {
90+
"content": "Database connection established",
91+
"metadata": {
92+
"type": "action",
93+
"importance": "medium",
94+
"tags": ["database", "connection"],
95+
"source": "system"
96+
}
97+
},
98+
"metadata": {
99+
"creation_time": 1686816200,
100+
"last_access_time": 1686816200,
101+
"compression_level": 1,
102+
"importance_score": 0.7,
103+
"retrieval_count": 0,
104+
"memory_type": "action",
105+
"current_tier": "im",
106+
"checksum": "c3d4e5f6g7h8i9j0k1l2"
107+
},
108+
"type": "action",
109+
"embeddings": {}
110+
},
111+
{
112+
"memory_id": "test-agent-step-search-im-2",
113+
"agent_id": "test-agent-step-search",
114+
"step_number": 250,
115+
"timestamp": 1686816300,
116+
"content": {
117+
"content": "API endpoints configured",
118+
"metadata": {
119+
"type": "action",
120+
"importance": "medium",
121+
"tags": ["api", "configuration"],
122+
"source": "system"
123+
}
124+
},
125+
"metadata": {
126+
"creation_time": 1686816300,
127+
"last_access_time": 1686816300,
128+
"compression_level": 1,
129+
"importance_score": 0.75,
130+
"retrieval_count": 0,
131+
"memory_type": "action",
132+
"current_tier": "im",
133+
"checksum": "d4e5f6g7h8i9j0k1l2m3"
134+
},
135+
"type": "action",
136+
"embeddings": {}
137+
},
138+
{
139+
"memory_id": "test-agent-step-search-ltm-1",
140+
"agent_id": "test-agent-step-search",
141+
"step_number": 300,
142+
"timestamp": 1686816400,
143+
"content": {
144+
"content": "System startup sequence completed",
145+
"metadata": {
146+
"type": "state",
147+
"importance": "high",
148+
"tags": ["startup", "initialization"],
149+
"source": "system"
150+
}
151+
},
152+
"metadata": {
153+
"creation_time": 1686816400,
154+
"last_access_time": 1686816400,
155+
"compression_level": 2,
156+
"importance_score": 0.95,
157+
"retrieval_count": 0,
158+
"memory_type": "state",
159+
"current_tier": "ltm",
160+
"checksum": "e5f6g7h8i9j0k1l2m3n4"
161+
},
162+
"type": "state",
163+
"embeddings": {}
164+
},
165+
{
166+
"memory_id": "test-agent-step-search-ltm-2",
167+
"agent_id": "test-agent-step-search",
168+
"step_number": 350,
169+
"timestamp": 1686816500,
170+
"content": {
171+
"content": "Initial system health check passed",
172+
"metadata": {
173+
"type": "state",
174+
"importance": "high",
175+
"tags": ["health", "monitoring"],
176+
"source": "system"
177+
}
178+
},
179+
"metadata": {
180+
"creation_time": 1686816500,
181+
"last_access_time": 1686816500,
182+
"compression_level": 2,
183+
"importance_score": 0.9,
184+
"retrieval_count": 0,
185+
"memory_type": "state",
186+
"current_tier": "ltm",
187+
"checksum": "f6g7h8i9j0k1l2m3n4o5"
188+
},
189+
"type": "state",
190+
"embeddings": {}
191+
}
192+
]
193+
}
194+
}
195+
}

0 commit comments

Comments
 (0)