Include your OpenAI and Anthropic API keys in the set.sh script
bash set.sh
Initialize RepoAgent from any github repo, or your local codebase.
from tools.agent import *
repo_url = "https://github.com/xjdr-alt/entropix.git"
temp_repo = decide_temp_repo(repo_url)
clone_repo(repo_url, temp_repo)
agent = RAgent(temp_repo) # temp_repo is local codebase path
Watch your repository come to life with dynamic animations of its file structure:
agent.visualize_file() # Generate static visualization
agent.animate_file(frame_count=50, fps=10) # Create dynamic animation
Zoom in on individual functions, classes, or files with detailed visualizations:
agent.animate_module(file_name_or_number, frame_count=50, fps=10, cap_node_number=10, depth=3)
agent.visualize_module(file_name_or_number, cap_node_number=10, depth=3)
Turn your repository into a podcast and listen to its structure and key components:
Listen to the codebase podcast
agent.generate_podcast()
RepoAgent dynamically retrieves relevant info from the codebase, including the dependency graph to answer your questions.
Get started with the Streamlit app:
streamlit run app.py
Interested in collaborating to make it even better? Let's connect! 🌟💻🔍