Agent context compaction