Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving