index codebase for ai