reposwarm/reposwarm
Open-source multi-repo architecture discovery for AI coding agents. Analyze repositories, generate standardized .arch.md files, and keep them in a central results hub for agent context, onboarding and architecture reviews. GitHub, GitLab, CodeCommit, Azure DevOps and Bitbucket. Apache-2.0.
What it solves
AI coding agents often lack context across multiple repositories. RepoSwarm automatically analyzes your codebase portfolio and generates standardized architecture documentation in .arch.md files. These are committed to a shared hub repository that agents can read, giving them a consistent view of your systems. It also serves humans for onboarding and architecture reviews.
How it works
RepoSwarm runs a pipeline: cache check, clone repository, detect type, analyze structure, select type-specific prompts, run AI analysis (using Claude via Anthropic, Bedrock, or LiteLLM), store results, and clean up. It uses Temporal workflows to manage the process. It checks repository commits, branches, and prompt versions to decide when to re-analyze. Results are cached in DynamoDB or local files. The generated .arch.md files are committed to a results hub repo.
Who it's for
Architects and developers who need to onboard new team members, review architecture, or provide AI coding agents with context across multiple repositories. It supports GitHub, GitLab, AWS CodeCommit, Azure DevOps, and Bitbucket. Requires Docker for local setup.
Highlights
- AI-powered analysis using Claude to deeply understand codebases.
- Standardized output: consistent
.arch.mdfiles. - Incremental updates: only re-analyzes when commits, branches, or prompts change.
- Smart caching with DynamoDB or file-based storage.
- Type-aware prompts for backend, frontend, mobile, infra, libraries, and shared concerns.
- Multi-provider support for LLMs (Anthropic, Bedrock, LiteLLM) and git providers.
- CLI, API, UI, and AskBox components in the ecosystem.
- Automatic Docker image builds for multi-arch.
Related
- Project
- Project
- Project
- Project