# Work across repositories

Index several repositories as one workspace and see the contracts, co-changes and service dependencies that cross their boundaries.

When your system spans several repositories, a change in one can break
another. A Repowise workspace indexes them together, links the API contracts
and co-changes between them into a service-level system graph, and gives your
agent one MCP server that answers across every repository.

Start with the [workspace quickstart](https://docs.repowise.dev/multi-repo/workspace-setup), then
read the pages below for what each part does.

## Set up

- [Workspace quickstart](https://docs.repowise.dev/multi-repo/workspace-setup): index several repositories, connect your agent and keep the workspace current.
- [Workspace MCP](https://docs.repowise.dev/multi-repo/workspace-mcp): how your agent addresses each repository, fans out with `repo="all"`, and the three opt-in workspace tools.

## Understand the system

- [Cross-repo intelligence](https://docs.repowise.dev/multi-repo/cross-repo): co-change pairs, HTTP, gRPC and topic contracts, and package dependencies across repositories.
- [System graph and map](https://docs.repowise.dev/multi-repo/system-map): the service-level graph the cross-repo signals fold into, and the map that draws it.
- [Architecture metrics](https://docs.repowise.dev/multi-repo/architecture-metrics): propagation cost, the cyclic core, service roles and a 1 to 10 architecture score.

## Change safely across repositories

- [Cross-repo blast radius](https://docs.repowise.dev/multi-repo/blast-radius): which downstream services and repositories a change can break.
- [Breaking-change guard](https://docs.repowise.dev/multi-repo/breaking-changes): incompatible contract changes on every update, with the consumer files they hit.
- [Architecture conformance](https://docs.repowise.dev/multi-repo/conformance): declared dependency rules and cycle detection, checked in CI with `repowise workspace check`.

## Next

- [Workspace quickstart](https://docs.repowise.dev/multi-repo/workspace-setup) set up your first workspace.
- [`repowise workspace`](https://docs.repowise.dev/cli/workspace) every workspace subcommand.
