docs/workspaces/multi-repo-sessions.mdx
Workspaces support working across multiple repositories and running multiple agent sessions simultaneously.
Add multiple repositories to a single workspace to work on cross-repo tasks.
When creating a new workspace, add multiple repositories from the create view:
With multiple repositories in a workspace:
Each repository in the workspace shows:
| Information | Description |
|---|---|
| Repository name | With status indicator |
| Current branch | The working branch |
| Target branch | Branch to merge into |
| Changes count | Uncommitted modifications |
| Commits ahead/behind | Relative to target branch |
Access repository-specific actions via the command bar:
Create multiple agent conversation sessions within a single workspace.
The session dropdown in the chat box toolbar shows all sessions:
| Indicator | Meaning |
|---|---|
| Running | Agent is actively processing |
| Idle | Session waiting for input |
| Agent icon | Shows which agent is assigned |
Different sessions can use different coding agents:
Here's a practical workflow for implementing a feature across frontend and backend repositories:
<Steps> <Step title="Create workspace with both repos"> Create a new workspace, select your project, and add both `frontend` and `backend` repositories. Set target branches to `main` for both. </Step> <Step title="Describe the full task"> In your initial message, describe the complete feature:Add a user profile page:
- Backend: Create GET /api/users/:id endpoint returning user data
- Frontend: Add /profile/:id route with a UserProfile component
- The frontend should fetch from the backend endpoint