GitHub Repository Explorer
Submission for the Agentic AI x AWS Challenge
Created on 10th November 2025
•
GitHub Repository Explorer
Submission for the Agentic AI x AWS Challenge
The problem GitHub Repository Explorer solves
Understanding a new or complex code repository is incredibly difficult and time-consuming. Developers, managers, and new contributors often spend hours or even days just trying to answer basic questions:
- What does this repository actually do?
- What is the tech stack?
- Is this project actively maintained?
- Where do I even start looking in the code?
GitHub Repo Explainer solves this problem by acting as an AI-powered agent that does the heavy lifting for you.
You can use it to:
- Get Instant Summaries: Instantly understand the purpose of any repository with an AI-generated summary.
- Automate Tech Stack Analysis: Automatically identify all key languages, frameworks, and libraries from files like package.json or requirements.txt.
- Analyze Activity: Get a quick overview of repository activity and who the most important contributors are.
- Explain Any File: This is the key innovation. Instead of reading dense code, you can click any file and get a plain-English explanation of what it does and how it fits into the larger project.
- Chat with the Codebase: Ask the AI assistant natural language questions (e.g., "How do I install this?", "Show me a code example") and get answers sourced directly from the repository's README.
This tool makes the existing task of code discovery dramatically faster and easier. It turns hours of manual code-reading and documentation-hunting into a 3-minute automated analysis.
Challenges I ran into
We faced a few key challenges during this hackathon, which we managed to overcome with specific solutions:
-
Navigating AWS as First-Time Users: As this was our first major project with AWS, the ecosystem was initially a bit overwhelming.
- How we got over it: We found the services to be very intuitive. We focused on a core serverless stack (Cognito, API Gateway, Lambda, and Bedrock) and used the documentation to build a coherent, interconnected workflow rather than just standalone services. This "start small" approach allowed us to learn quickly and build a robust architecture.
-
Bedrock Token & Context Limits: Our agent needs to read entire READMEs and code files. We quickly discovered that large repositories (like boto3) would exceed Bedrock's context window, causing the agent to fail.
- How we got over it: We engineered a defensive, multi-step agent. Our Lambda function first checks the size of the input text. If it's too large, it first calls Bedrock with a "summarize" task, and then uses that smaller, condensed text to perform the real task (like "Tech Stack Analysis"). This context-aware, self-correcting logic made our agent far more stable.
-
Lambda Dependencies & Iteration Speed: We initially planned to use the popular
requestslibrary for GitHub API calls. This would have required us to create a Lambda deployment package (a .zip file), which is slow to update and debug during a fast-paced hackathon.- How we got over it: We pivoted to using Python's built-in
urlliblibrary for all GitHub API calls. This was a major strategic win. It kept our code dependency-free, allowing us to edit and test ourlambda_function.pydirectly in the AWS console, which dramatically increased our iteration speed.
- How we got over it: We pivoted to using Python's built-in
