Skip to main content

ADR: ArgoCD Agent - OOM Protection Architecture

Status: 🟢 In-use Category: Architecture & Design Date: November 5, 2025 Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>

Protection Layer Summary​

LayerLocationLimitWhat It Protects
1. MCP Paginationtools/api_v1_*.py20 default, 100 max per pageAPI fetch size, prevents loading all data
2. Search Tooltools/search.py100 items per typeFetch size, client-side filtering
6. Search Limitstools/search.py1,000 total matchesTotal results, rejects overly broad queries
3. LLM Promptagent.pyPrefer search, paginate >50LLM decision making, output formatting
4. Context Mgmtbase_langgraph_agent.py20K tokens, 5KB outputsContext window, conversation history
5. Docker Limitsdocker-compose.dev.yaml4GB hard limitContainer memory, system stability