Skip to content

docs: Agent Devices (hosted MCP device sessions) - #134

Merged
finalerock44 merged 6 commits into
mainfrom
agent-devices-docs
Nov 11, 2026
Merged

finalerock44 merged 6 commits into
mainfrom
agent-devices-docs

Conversation

@riglar

@riglar riglar commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Hold the merge until we decide to document Agent Devices publicly. They're a closed beta: the hosted MCP server serves no tools to an organization that isn't enrolled. Everything these pages describe is in production (dcd API and console) and in CLI 5.12.0.

This is Phase 8.1 and 8.2 of the dcd Agent Devices plan (docs/device-v1-plan.md).

Pages

  • mcp/agent-devices.md (new):
    • what Agent Devices are, with the closed-beta notice and pricing ($0.03/min in 30-second steps from device assignment, the same as Live)
    • connecting Claude Code, Cursor, VS Code, Claude Desktop, Codex and other Streamable HTTP + OAuth clients, matching what Settings → AI agents in the console generates
    • the ?read_only=true connection
    • headless use through dcd mcp with an API key, recommending a "Device sessions only" key
    • Settings → Account → Connected apps
    • how an agent works a device
    • asking a person for help, with the webhook and hand-back
    • watching and taking control in the console
    • secrets in env, recordings and artifacts, and the limits table, which matches the API defaults
  • mcp/agent-devices-tools.md (new): every tool with its description, inputs and limits, plus the session block's fields. It's generated from the production server's own tool list, through an in-memory MCP client, so it matches what clients see.
  • mcp/agent-devices-skill.md (new): an AGENTS.md section and a Claude Code skill.
  • api/device-sessions.md (new): the /device/sessions, /device/models and /device/bundles REST API, grouped into sessions, the device, flow bundles, asking a person and artifacts, plus secrets, rate limits and every error code. The code table was checked against the API's list.
  • cli/dcd-device.md (new): every dcd device subcommand in CLI 5.12.0, with --json and the exit codes.
  • cli/dcd-live.md: a deprecation notice pointing at dcd device.
  • cli/overview.md: dcd device and dcd mcp in the command table.
  • notifications/webhook-notifications.md: the device.needs_human event, with its payload. The event field is no longer described as "always upload.completed".
  • The README quick links and SUMMARY.md link the new pages, so they also appear in llms.txt.

Checked

  • Main is merged in (no force-push), and every callout uses VitePress ::: syntax.
  • npm run build and npm run check pass: all internal links and anchors are OK across 72 pages.

Overlaps

  • docs: connect an AI agent to the hosted MCP server or dcd mcp #164 also adds a page at the top of "AI Agents & MCP" in SUMMARY.md, so whichever merges second resolves a small conflict there. It also links dcd mcp from cli/overview.md, and the two should agree on where that link goes.
  • dcd mcp install codex isn't in CLI 5.12.0, so the local setup lists Claude Code, Claude Desktop, Cursor and VS Code only. Codex is covered for the hosted server.

🤖 Generated with Claude Code

riglar and others added 4 commits October 19, 2026 10:18
- mcp/agent-devices.md: what Agent Devices are; connecting Claude Code,
  Cursor and other MCP clients to https://api.devicecloud.dev/mcp (OAuth
  sign-in through the console, or an API key, ideally "Device sessions
  only"); connected apps; how an agent works a device; asking a person for
  help and handing back; watching and taking control in the console;
  secrets in env; recordings and artifacts; limits; pricing.
- mcp/agent-devices-tools.md: every tool, its description and inputs,
  generated from the server's own tool list.
- api/device-sessions.md: the /device/sessions REST API and its error
  codes.
- notifications/webhook-notifications.md: the device.needs_human event.
- README quick link, and SUMMARY entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018tQfgpTsA9UhcopKoDezUA
- New CLI page for dcd device: every subcommand, the --json envelope,
  exit codes and the default-session rule.
- Agent Devices: connecting through dcd mcp, with local files.
- Device sessions API: the flow bundle endpoints.
- dcd live is marked deprecated in favour of dcd device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018tQfgpTsA9UhcopKoDezUA
…de skill)

Plan 8.2. A page with a ready-to-copy AGENTS.md section and a Claude
Code skill that teach an agent the device loop: inspect, act, inspect,
ask a person when needed, and always stop the device. llms.txt is
generated from SUMMARY.md, so the new pages appear there on their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018tQfgpTsA9UhcopKoDezUA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018tQfgpTsA9UhcopKoDezUA
@finalerock44
finalerock44 marked this pull request as ready for review November 11, 2026 11:29
Comment thread mcp/agent-devices.md Resolved
Agent Devices reached production on 9 November, and main moved from
GitBook to VitePress, so:

- Callouts use VitePress syntax; GitBook {% hint %} no longer renders.
- The tool reference is regenerated from the production server's own
  tool list: wait on get_device_status and get_command_status,
  wait_seconds on run, all on inspect_screen, level and grep on
  get_logs, and the current descriptions. It now lists the session
  block's fields and marks the read-only tools.
- The Agent Devices page covers every client the console's Settings ->
  AI agents panel sets up (VS Code, Claude Desktop and Codex too), the
  ?read_only=true connection, and headless use through dcd mcp with an
  API key. Asking a person sends no email, so that line is gone. Taking
  control now holds the agent's steps rather than refusing them.
- The REST page adds waitSeconds, inspect ?all, the logs filters,
  deviceLocale, the press_key names, the per-session rate limits and
  LIVE_NOT_IN_CONTROL.
- dcd device adds request-human, human and inspect --all, and says what
  a directory run uploads.
- The agent instructions wait with get_device_status and share the
  session's monitor_url.
- The needs_human webhook example uses the model format the API sends.
@finalerock44
finalerock44 merged commit 4cbebbf into main Nov 11, 2026
2 checks passed
@finalerock44
finalerock44 deleted the agent-devices-docs branch November 11, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants