preparing data for AI agents