Repo Connect currently supports Typescript and Python.
We are working on adding support for other languages and configuration for Docker in Docker.
If you have suggestions or are interested in a specific language, please contact us at support@runloop.ai.
Overview
Repo Connect revolutionizes how AI agents interact with your codebase by automatically analyzing and understanding your repository’s structure, dependencies, and build processes. This enables your AI agent to work with existing projects just like a human developer would - with the ability to build, test, and run your code without manual prompting.About Repo Connect
Repo Connect uses a GitHub token to securely access your repository and employs a combination of semantic analysis and AI agents to intelligently discover:- Setup and build commands
- Test execution procedures
- Package managers and dependency installation
- Environment initialization requirements
- Available project commands and scripts
Creating a Repo Connect Analysis
Basic Repository Analysis
Understanding Analysis Results
When Repo Connect completes its analysis, you’ll receive detailed information about your repository’s structure and requirements:Successful Analysis
A successful analysis provides:- Extracted Tools: Discovered commands for building, testing, and running your project
- Package Manager: Identified dependency management system (npm, pip, maven, etc.)
- Setup Commands: Environment initialization and workspace preparation steps
- Blueprint: A reusable configuration for future Devbox instances
Partial Analysis
If Repo Connect cannot fully analyze your repository, it generates a partial inspection with discovered information pre-filled. You can then edit and complete the missing details to achieve a working state for your AI agent. The analysis results follow this structure:Using Analyzed Repositories
Once Repo Connect has analyzed your repository, you can create Devboxes that are immediately ready for AI agent interaction:- Execute discovered build and test commands
- Navigate and understand your codebase structure
- Make informed changes based on project conventions
- Debug and trace execution paths
- Install and manage dependencies automatically
Containerized services within a Repo Connect
Repositories often have dependencies on containerized services that run alongside your agent, codebase, or devbox. Our repository connection process surfaces any service declared in the repository’s Github Actions workflow files as a part of the final blueprint. You can confirm this by querying the blueprint and before launching a devbox with the available services initialized. You will need:blueprint_id
from a Repo Connect Inspection to confirm the available servicesblueprint_id
orrepo_connection_id
to launch a devbox with the services
rpc_123456789
that’s created blueprint with id bpt_123456789
with the postgres
service available.
The required_services
when launching a devbox will be used to determine which services to start and each service must match one of the name elements in the containerized_services
list otherwise the devbox will fail to start.
Refreshing Repo Connect
As your repository evolves, you can refresh the Repo Connect analysis to capture new changes, dependencies, or build processes:Best Practices
Repository Preparation
- Clear Documentation: Well-documented README.md or AGENTS.md files help Repo Connect understand your project structure
- Standard Build Files: Use conventional build files (package.json, requirements.txt, Makefile) when possible
- Environment Files: Include .env.example or similar files to help identify required environment variables. Repo Connect will ask for secret values if required
Token Security
- Use GitHub tokens with appropriate repository access permissions
- Regularly rotate your tokens and update Repo Connect configurations
- Monitor token usage and revoke access if needed
Blueprint Management
- Review generated blueprints to ensure they capture your project’s requirements accurately
- Version your blueprints alongside your code to maintain consistency
- Test blueprints with fresh Devbox instances to verify completeness
Repo Connect works best with repositories that follow standard project conventions and include clear build instructions. For complex or non-standard setups, review the partial analysis results and add any missing configuration details.