Connecting workspaces
- Click the workspace panel in the sidebar
- Click Add workspace and select a folder
- The workspace appears in the panel — the agent can now access it

What agents can do with workspaces
Once connected, agents can:- Read any file or directory
- Create, edit, and delete files
- Search code with glob patterns and regex
- Run shell commands with the workspace as working directory
How agents see workspaces
Connected workspaces appear as mount points. Auto-generated project analysis in.stagewise/WORKSPACE.md helps the agent understand each workspace:
- Project type, languages, and runtime
- Package structure and dependency graph
- Build scripts and configuration
- Key files and their purposes
.gitignore.
Multi-workspace workflows
Connecting multiple workspaces enables patterns like:- Frontend + Backend — Separate frontend and backend repos as individual workspaces, so agents work across the full stack
- Shared libraries — Connect a component library alongside your main project, letting agents modify both in context
- Configuration — Connect a dotfiles or config repo for agents to reference
Workspace safety
Every change is tracked and reversible. Use diff review to inspect, accept, or reject changes.What’s next
Agent context
Understand how WORKSPACE.md, skills, and @mentions give agents project awareness.
How agents work
See the full agent loop — from message to tool use to response.