PrimeAgentOrchestrator: Memory-Primed Agent Spawning for Personal AI Infrastructure
Abstract
Large language model (LLM) coding agents start each session with an empty context window, discarding accumulated knowledge from prior work. We present PrimeAgentOrchestrator (PAO), a system that spawns new instances of Claude Code -- Anthropic's terminal-based coding agent -- pre-loaded with relevant memories compiled from the user's existing personal databases. At spawn time, PAO queries two independently-operated memory backends in parallel (a PostgreSQL entity-observation database and a Cloudflare Worker semantic search index), fuses results using backend-specific retrieval strategies, and delivers the compiled briefing via filesystem injection that exploits the host agent's configuration auto-read behavior. PAO manages the full agent lifecycle including trust pre-seeding, readiness polling with error detection, and adaptive terminal text injection. We report on four months of regular deployment (December 2025 through March 2026) as an experience report, documenting three generations of context delivery mechanisms, the failure modes that motivated each redesign, and the engineering tradeoffs of bridging heterogeneous memory systems rather than building a unified one.
Create a lesson
Metadata
- Categories
- cs.AI, cs.MA
- Comments
- 10 pages, 15 references, experience report
Related papers
EgoUseBench: Benchmarking Computer-Use Agents under Evolving First-Person Contexts
Shared title terminologycs.AIYurun Chen, Biao Yi, Qihang Yu et al.
HAGE: Harnessing Agentic Memory via RL-Driven Weighted Graph Evolution
Shared title terminologycs.AIDongming Jiang, Yi Li, Guanpeng Li et al.
EquiMem: Calibrating Shared Memory in Multi-Agent Debate via Game-Theoretic Equilibrium
Shared title terminologycs.AIYuqiao Meng, Luoxi Tang, Sakshi Sunil Narvekar et al.
Behavioral Determinants of Deployed AI Agents in Social Networks: A Multi-Factor Study of Personality, Model, and Guardrail Specification
Shared title terminologycs.AISarah Wilson, Diem Linh Dang, Usman Ali Moazzam et al.
Human-Inspired Memory Architecture for LLM Agents
Shared title terminologycs.AIDoga Kerestecioglu, Alexei Robsky, Clemens Vasters et al.
When Stored Evidence Stops Being Usable: Scale-Conditioned Evaluation of Agent Memory
Shared title terminologycs.AIJiaqi Shao, Yiyi Lu, Yunzhen Zhang et al.