Improvements to Arc Memory’s simulation feature
arc_memory/simulate/langgraph_flow.py
arc_memory/simulate/code_interpreter.py
not visible to usersmemory/storage.py
to include all metadatamemory/query.py
to retrieve complete simulation dataarc_memory/memory/storage.py
arc_memory/memory/query.py
arc_memory/cli/sim.py
(history command)langgraph_flow.py
to request more detailed explanationsarc_memory/simulate/langgraph_flow.py
arc_memory/simulate/llm.py
(if exists, or create it)code_interpreter.py
to capture more detailed information--verbose
flag)arc_memory/simulate/code_interpreter.py
arc_memory/cli/sim.py
arc_memory/cli/sim.py
arc_memory/cli/utils.py
(create if doesn’t exist)--format
option to allow output in different formats (text, markdown, json)arc_memory/cli/sim.py
arc_memory/cli/utils.py
docs/cli/sim.md
docs/examples/simulation.md
Feature | LangGraph | Smol Agents |
---|---|---|
Architecture | Graph-based workflow with nodes and edges | Code-centric agent approach with Python execution |
Complexity | Higher complexity with state management and graph definitions | Lower complexity with more direct code execution |
Security | No built-in sandboxing | Built-in sandboxing options (local, E2B, Docker) |
Control Flow | Explicit graph definition with conditional edges | More natural Python control flow |
Debugging | Requires understanding graph state transitions | More straightforward Python debugging |
Integration with E2B | Requires custom integration | Native integration with E2B |
Code Size | Our implementation is ~1500 lines in one file | Would likely be more modular and smaller |
Agent Autonomy | Limited by graph structure | Higher autonomy with code execution |
langgraph_flow.py
into appropriate modules--memory
flag and history subcommand