Team Collaboration
Work on workflows together with your team in real-time. See who else is working on the same project, watch their cursor move, and see changes as they happen—just like editing a document together in Google Docs.
Real-Time Collaboration
AgentCanvas uses WebSocket connections to enable real-time collaboration. When multiple team members work on the same workflow, they see each other's changes instantly:
- Live updates: Changes sync in real-time across all connected clients
- Presence awareness: See who's currently viewing or editing the workflow
- Cursor tracking: Watch teammates' cursors move as they work
- Color-coded cursors: Each person gets a unique color so you can tell who's doing what
- Activity indicators: See when someone is typing, selecting nodes, or making changes
The system uses operational transformation to handle concurrent edits gracefully, ensuring conflicts are resolved automatically. All changes are synced immediately via WebSocket messages.
Presence and Cursor Tracking
The collaboration system tracks presence and cursor positions:
- User presence: See who's currently active in the workflow (viewing or editing)
- Cursor positions: Live cursor positions for each collaborator, updated as they move
- Current focus: See what component or node each person is working on
- Last activity: Timestamps showing when each person was last active
- Status indicators: Visual indicators showing viewing, editing, or idle states
Presence updates are sent automatically as team members interact with the workflow. Cursor positions are broadcast in real-time so everyone knows what each person is working on.
Permissions and Access Control
Control who can view, edit, or manage your workflows:
- View-only: Team members can see the workflow but can't make changes
- Edit: Team members can modify nodes, connections, and configurations
- Manage: Full access including adding/removing team members and changing permissions
- Organization-level: Permissions can be set at the organization level for enterprise accounts
Permissions are enforced in real-time—when someone tries to make a change they don't have permission for, the system prevents it immediately.
Enterprise Features
Enterprise accounts get additional collaboration features:
- Voice and video calls: Start voice or video calls directly from the collaboration panel
- Screen sharing: Share your screen with team members during collaboration sessions
- Session management: Track active collaboration sessions and manage participants
- Analytics: Collaboration statistics and activity reports
Enterprise collaboration features are integrated with the real-time system, so you can communicate while working together on workflows.
How It Works
The collaboration system uses WebSocket connections:
- When you open a workflow, the system establishes a WebSocket connection to the collaboration server
- Your presence is broadcast to other collaborators currently viewing the same workflow
- As you move your cursor or make changes, messages are sent via WebSocket to all connected clients
- Other collaborators receive these messages and update their view in real-time
- Changes are merged automatically using operational transformation to prevent conflicts
All collaboration happens in real-time with low latency, ensuring a smooth experience even with multiple simultaneous editors.
Tips for Effective Collaboration
- Use clear node names so team members understand what each part does
- Communicate via comments or external chat when making major changes
- Test workflows together to catch issues early
- Use version history to track changes and revert if needed
- Set appropriate permissions based on team member roles