You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hybrid architecture for memory spaces with two integration points:
1. Pre-execution injection (graph node):
- New MEMORY_RECALL node added before INIT when MemoryConfig is provided
- Queries sdk.memory.search_async() and stores the server-generated
systemPromptInjection in inner_state.memory_injection
- INIT node reads memory_injection from state and appends to system prompt
- Visible in LangGraph traces, resume-safe (node already ran)
- Graph: START → MEMORY_RECALL → INIT → AGENT ↔ TOOLS → TERMINATE → END
2. Escalation memory (tool-level):
- Before creating HITL task: escalation_search_async() checks for cached answer
- Cache hit → returns cached result immediately, skips human escalation
- After human resolution: escalation_ingest_async() persists outcome
- Gated by isAgentMemoryEnabled + memorySpaceId on the escalation resource
New types:
- MemoryConfig: configuration dataclass (memory_space_id, folder_key, etc.)
- AgentGraphNode.MEMORY_RECALL: new graph node enum value
- InnerAgentGraphState.memory_injection: carries injection through state
Dependency: bumps uipath-platform >= 0.1.31 for MemoryService types (PR #1467)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments