Inspiration

The inspiration for this project is to empower developers and teams to improve the quality of their codebases by identifying security, performance, and maintainability issues in their GitHub repositories. We wanted to create a tool that makes it easy to get valuable insights and recommendations to enhance code quality.

What it does

Angel is an AI-powered code analysis platform that identifies security vulnerabilities, performance bottlenecks, and maintainability issues in GitHub repositories. It allows users to simply enter a GitHub repo URL, and leverages the powerful Claude AI to perform in-depth static analysis on all the code files. Angel then generates a comprehensive, well-organized report highlighting the identified issues, their severity levels, and provides recommendations for remediation.

How we built it

We built Angel by integrating the Claude AI API to intelligently analyze code files and provide detailed insights into potential issues. The frontend is a sleek Next.js application that allows users to input GitHub repo URLs and view the generated analysis reports. The backend is powered by a Python FastAPI server that handles the repository processing, file content extraction using the GitHub API, and orchestrates the interaction with the Claude API for code analysis. We designed a multi-threaded architecture to efficiently process files concurrently for optimal performance.

Challenges we ran into

During the development of Angel, we encountered several challenges. Designing an intuitive and visually appealing user interface required careful consideration of UX principles. Efficiently integrating the frontend with the backend API endpoints took some trial and error. Learning the intricacies of the Claude API and fine-tuning our prompts for accurate code analysis was an iterative process. Extracting file contents from GitHub repositories while handling authentication and rate limits presented its own set of hurdles. However, we tackled each challenge head-on and found innovative solutions to overcome them.

Accomplishments that we're proud of

We are proud of several accomplishments in building Angel. Firstly, we successfully integrated with the Claude AI API to enable intelligent code analysis, leveraging its powerful language understanding capabilities. Secondly, we designed and implemented a robust and efficient analysis engine that can process large codebases quickly by utilizing multi-threading. Thirdly, we created an intuitive and visually appealing frontend interface that makes it easy for users to input repos and navigate the analysis reports. Lastly, we delivered a comprehensive and valuable tool that can genuinely help developers improve their code quality.

What we learned

Throughout the development of Angel, we gained valuable knowledge and skills. We learned advanced code analysis techniques and how to effectively leverage AI for identifying issues in codebases. We deepened our understanding of API integration, particularly with the Claude API and GitHub API. We honed our skills in frontend development using Next.js and backend development using FastAPI. Collaborating as a team, we learned the importance of clear communication, task delegation, and agile development practices. Overall, this project has been an incredible learning experience for all of us.

What's next for Angel

Looking ahead, we have exciting plans for the future of Angel. We aim to further refine the frontend user experience based on user feedback and add more interactive features. We plan to enhance the analysis engine to cover an even wider range of issues, including code complexity, test coverage, and potential optimizations. Integrating with additional AI models and expanding support for more programming languages are also on our roadmap. Ultimately, our vision is to make Angel the go-to tool for developers seeking to comprehensively improve the quality of their codebases.

Built With

Share this project:

Updates