agentic ai compaction