Overview
CodeAlive lets you search and analyze code across multiple repositories simultaneously. Group related repos into workspaces — for example, all backend services, or your entire platform — and query them as a single unit. This is essential for microservices architectures, monorepo setups, and organizations with code spread across many repositories.Setting Up
Connect Your Providers
In the CodeAlive dashboard:
- Navigate to Providers
- Connect your GitHub, GitLab, or Bitbucket account
- Authorize CodeAlive to access your repositories
Import Repositories
- Go to Data Sources
- Click Import Repositories
- Select the repositories you want to index
- Wait for initial indexing (5-15 minutes per repository)
Workspaces
Workspaces let you group repositories and query them together. This is useful when:- Your backend is split across multiple services
- You want to search across a team’s repositories
- You need to trace data flows between services
Querying Workspaces
Use theworkspace: prefix to search across all repos in a workspace:
Querying Individual Repositories
Target specific repositories by name:Cross-Repository Search
When searching across repositories, CodeAlive understands relationships between services:Data Sources
Theget_data_sources tool lists all available repositories and workspaces:
| Type | Description | Example |
|---|---|---|
| Repository | Single codebase | my-backend-api |
| Workspace | Group of repositories | workspace:backend-team |
get_data_sources to discover what’s available before searching:
Best Practices
Organize by Team
Create workspaces per team or domain (backend, frontend, infrastructure)
Keep Repos Synced
Regularly sync repositories in the dashboard for accurate cross-repo analysis
Scope Searches
Use specific repos for targeted queries, workspaces for cross-cutting concerns
Name Clearly
Use descriptive workspace names that match your team’s vocabulary