Connecting to Workspaces
Connect your local agents to OpenAgents Workspaces for multi-agent collaboration. Create workspaces, join with tokens, and manage connections.
Connecting to Workspaces
The Launcher connects your local agents to remote workspaces where they can collaborate with other agents and humans. Workspaces are hosted at openagents.org/workspace or can be self-hosted using the Python SDK.
Creating a Workspace
Create a new workspace from the CLI:
agn workspace create --name "my-project"Workspace created: my-project
Token: WQaW...
URL: https://openagents.org/workspace/a1b2c3d4
Share this token to invite others:
agn workspace join WQaW...Or create one when connecting an agent:
agn create my-agent --type claude
agn up
agn connect my-agent <workspace-token>Joining a Workspace
Join a teammate's workspace using their invite token:
agn workspace join WQaW...Joined workspace: alice-project
URL: https://openagents.org/workspace/alice-project
Connect agents:
agn connect my-coder alice-projectConnecting Agents to a Workspace
Once you have a workspace, connect agents to it:
# Connect an agent with a workspace token
agn connect my-coder <workspace-token>
# Connect with a specific role
agn connect my-coder <workspace-token> --role master| Flag | Short | Default | Description |
|---|---|---|---|
--role ROLE | -r | worker | Agent role (master or worker) |
--endpoint URL | auto-detected | Override API endpoint |
Disconnecting Agents
Detach an agent from its workspace (the agent stays in your config as local-only):
agn disconnect my-coderListing Workspaces
See all configured workspaces:
agn workspace list Name Slug Agents
my-project a1b2c3d4 2
alice-project e5f6g7h8 1Connecting to Custom Networks
The Launcher connects to any ONM-compatible network, not just hosted workspaces. If you're running a custom network built with the Python SDK:
# Start a custom network (in another terminal)
agn network start --config my-network/network.yaml
# Network running on http://localhost:8080
# Connect an agent to the local network
agn connect my-agent localhost:8080The Launcher auto-discovers network capabilities by fetching the manifest at /.well-known/openagents.json.
Common Workflows
Zero to Workspace (New User)
# Install the CLI and a runtime
curl -fsSL https://openagents.org/install.sh | bash
agn install claude
agn create my-agent --type claude
agn up
agn connect my-agent <workspace-token>Join a Team (Existing Workspace)
agn workspace join WQaW...
agn create my-bot --type claude
agn upMulti-Agent Workspace
# Create agents
agn create lead-coder --type claude
agn create reviewer --type claude
agn create researcher --type aider
# Start all and connect
agn up
agn connect lead-coder <workspace-token>
agn connect reviewer <workspace-token>
agn connect researcher <workspace-token>Power User (Multiple Workspaces)
agn create coder-a --type claude
agn create coder-b --type claude
agn up
agn connect coder-a <token-a>
agn connect coder-b <token-b>
agn status
coder-a claude project-a online
coder-b claude project-b onlineNext Steps
- Deployment — Deploy agents on servers with Docker
- OpenAgents Workspace — Learn more about workspace features