Give your AI agents the architecture context they need — across hundreds of repositories.
RepoSwarm is an AI-powered platform that automatically analyzes your entire codebase portfolio and generates standardized .arch.md architecture documents. Feed them to your coding agents, use them for onboarding, or keep them as living architecture docs. Works with GitHub, CodeCommit, GitLab, Azure DevOps, and Bitbucket.
curl -fsSL https://raw.githubusercontent.com/reposwarm/reposwarm-cli/main/install.sh | sh
reposwarm new --local && reposwarm investigate my-app🎬 Watch the demo → · 📋 Sample output →
| Repo | What it does |
|---|---|
| reposwarm | Core engine — Temporal workflows + AI analysis worker |
| reposwarm-cli | CLI — setup, investigate, diagnose, view results. Single binary, zero deps |
| reposwarm-api | REST API server for repos, workflows, prompts, and wiki |
| reposwarm-ui | Next.js dashboard for browsing investigations and results |
| reposwarm-askbox | AI agent for querying architecture docs via natural language |
| ask-cli | CLI for querying architecture docs — the read side of RepoSwarm |
| e2e-arch-hub | E2E test architecture hub (generated .arch.md output) |
Point RepoSwarm at your repos. It clones, detects the repo type (backend, frontend, mobile, infra, library), picks specialized analysis prompts, and sends the codebase to an LLM for deep architecture analysis. The output — clean, structured .arch.md files — gets committed to a results hub repo that your agents can reference.
Investigations run as Temporal workflows with automatic retries, incremental updates (only re-analyzes repos with new commits), and parallel execution across your entire portfolio. Supports Anthropic, Amazon Bedrock, and LiteLLM as providers.
All Docker images are multi-arch (linux/amd64 + linux/arm64) and published automatically on every push to main.