> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Explore a codebase

> Ask Replit to explain an unfamiliar repository, trace a feature through its components, and identify where a focused change belongs without editing the code.

Whether you are new to a repository or exploring a new one, ask Replit to explain it to you. Understand its components without waiting for a teammate to walk you through the code. No edits or running preview required.

Use your repository, or try the private [Cloud Agent Demo](https://github.com/replit/cloud-agent-demo) if you have access.

Before starting, [connect to your repository](https://docs.replit.com/build/code/connect-your-repository.md) so Replit can read the code.

## Explore your repository

**1. Understand the project**

Ask Replit to explain the repository. Replace the URL to use your own.

Explain [https://github.com/replit/cloud-agent-demo](https://github.com/replit/cloud-agent-demo).
What does it do, and how are its main components organized?
Use plain language, link to relevant files, and do not edit anything.

![A request in the chat composer asking Replit to explain the Cloud Agent Demo without editing code.](https://mintcdn.com/replit/ZvLiuMLrojYoqf3I/images/code-contributions/explore-code-request.jpg?fit=max\&auto=format\&n=ZvLiuMLrojYoqf3I\&q=85\&s=d96bfb4779d96052c8400bc044d1a35e)

Replit explains the project and links to the files behind its components.

![Replit explaining the demo's purpose and listing its main files with descriptions and source links.](https://mintcdn.com/replit/ZvLiuMLrojYoqf3I/images/code-contributions/explore-code-response.jpg?fit=max\&auto=format\&n=ZvLiuMLrojYoqf3I\&q=85\&s=e26196a7226c44a5e7a53d2f650a6492)

**2. Ask follow-up questions**

Explore any part you want to understand better. For example:

How does this page adapt to mobile screens?
Explain the layout styles and show me where they are defined.

![Replit answering a follow-up question about mobile layout, explaining screen-width breakpoints and linking to the stylesheet.](https://mintcdn.com/replit/ZvLiuMLrojYoqf3I/images/code-contributions/explore-code-follow-up.jpg?fit=max\&auto=format\&n=ZvLiuMLrojYoqf3I\&q=85\&s=98e5ca084c4758b2a31976f3d6b53374)

You can also ask about components, dependencies, or potential changes. Check the file references; your team may still need to explain business decisions that aren't documented in the code.

Ready to make a change? [Run your app in Replit](https://docs.replit.com/build/code/run-your-first-preview.md), then [make a contribution](https://docs.replit.com/build/code/first-contribution.md).
