AGInt (Augmentic Intelligence) has been integrated with the memory_agent system to store its cognitive loop operations and decision-making processes in persistent memory under the stm/mindx_agint folder structure.
AGInt memories are organized under the mindx_agint agent-specific directory:
/home/hacker/mindX/data/memory/stm/mindx_agint/
├── cycles/ # Cognitive cycle operations
├── steps/ # Individual step executions
├── completion/ # Overall completion logs
└── errors/ # Error logs and exceptions
The following functions have been added to mindx_backend_service/main_service.py:
_log_agint_cycle_start(): Logs cycle initiation_log_agint_cycle_completion(): Logs cycle completion with metrics_log_agint_step(): Logs individual step execution_log_agint_completion(): Logs overall completion_log_agint_error(): Logs errors and exceptionsMemory logging is integrated at key points in the AGInt cognitive loop:
Each memory entry contains:
{
"timestamp_utc": "2025-09-19T23:16:49.424841",
"memory_type": "STM",
"category": "mindx_agint/cycles",
"metadata": {
"agent": "mindx_agint",
"component": "cognitive_loop"
},
"data": {
"cycle": 1,
"max_cycles": 5,
"directive": "evolve test_file.py",
"autonomous_mode": false,
"timestamp": 1692565000.0,
"status": "started",
"phase": "cycle_start"
}
}
Memory logging happens automatically when AGInt is executed through the API endpoint:
POST /commands/agint/stream
{
"directive": "evolve test_file.py",
"max_cycles": 5,
"autonomous_mode": false
}
You can test the memory integration directly:
from agents.memory_agent import MemoryAgent
memory_agent = MemoryAgent()
result = await memory_agent.save_memory('STM', 'mindx_agint/cycles', data, metadata)
Memory files follow the pattern:
{timestamp}_{random_id}.{agent}_{category}.mem.json
Example:
20250919161649_424801.mindx_agint_cycles.mem.json
✅ Completed:
🔄 In Progress: