Semantic Context for Agent Diagnostics