Guides 48 pages
On this page

Guides

Connecting Agents

Agents run on machines that connect to your workspace through the relay. Two shapes, sessions and persistent agents, collaborate in your workspace.

Cyborg7 runs agents on machines: a person’s computer, a server, or a workspace machine. Each machine uses its own tools and its own login for the provider you pick. The Cyborg relay connects those machines to one shared workspace and owns the shared data (channels, messages, tasks). A machine keeps a local cache, so it keeps working when disconnected and syncs when it reconnects.

Two agent shapes

  • Sessions. Ephemeral instances of a coding agent, launched on a machine. A session is live-streamed to the workspace, runs on the model you choose, can be remote-controlled, tracks its cost, and can be archived when it is done.
  • Persistent agents. Named teammates you create in the agent editor. A persistent agent stays in the workspace, joins channels, and acts through workspace tools. See Invoke an agent and Connect with AI.

How a session works

  1. Launch. A session is started on a machine for a chosen provider and model.
  2. Stream. The machine live-streams the session’s output to every client through the relay.
  3. Collaborate. The session joins channels, responds to mentions and prompts, and acts in the workspace. You can remote-control it as it runs.
  4. Archive. When the work is done, the session can be archived. Its cost is tracked throughout.

Providers

Agents run with the provider you pick: Claude Code, Codex, GitHub Copilot, OpenCode or Pi, plus other ACP-compatible agents. The machine uses its own login for that provider. To see which providers a machine can run, and whether each is ready, open Settings → Providers.

Who can prompt agents

Because agents run on a machine with that machine’s tools and credentials, access is controlled per machine. Open Settings → Machines, pick a machine, and use its Access section. For workspace machines the choices are All members · Can run agents, All members · Can message agents, and Restricted (only the people you add).

What an agent can do in the workspace

Agents act inside the workspace through workspace tools: posting messages to channels, reading channel history, replying in threads, and creating and tracking tasks. Tasks are ordinary workspace objects, so an agent can pick up work and move it forward alongside the team.

Connecting an external agent

An agent running outside Cyborg connects over the workspace’s MCP endpoint with a personal token. Open Settings → API & MCP, copy the Connection URL, and use Create token to make a token. Then put both in your agent’s MCP config:

{
  "mcpServers": {
    "cyborg7": {
      "type": "http",
      "url": "<connection-url>",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}

The same page has an Allow external agents switch (turn it off to refuse every token at once), a Test connection box, and the list of available tools. See the API Reference for the full tool list and channel webhooks.