Skip to content

feat(agent): add isolated cloud computer use#3569

Draft
richardsolomou wants to merge 3 commits into
posthog-code/feat/computer-usefrom
posthog-code/feat/cloud-computer-use
Draft

feat(agent): add isolated cloud computer use#3569
richardsolomou wants to merge 3 commits into
posthog-code/feat/computer-usefrom
posthog-code/feat/cloud-computer-use

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 19, 2026

Copy link
Copy Markdown
Member

Problem

Cloud task agents need a computer they can control without reaching back into the user's Mac. Local computer control and cloud-owned computer control have different trust and lifecycle boundaries.

Changes

  • Send an opt-in computer-use capability when creating cloud runs and bypass pre-warmed runs that lack it.
  • Expose the shared computer tools to cloud Linux sessions while keeping local control limited to macOS sessions.
  • Implement Linux screenshot, application, mouse, and keyboard actions against the task sandbox display.
  • Remove the computer-specific desktop relay behavior while preserving the generic cloud MCP relay.

Companion sandbox and backend changes: PostHog/posthog#72186

How did you test this?

  • Focused Vitest suites: 24 agent tests, 68 API client tests, and 32 core task-creation tests passed.
  • pnpm build:deps, including the packaged local-tools MCP smoke check.
  • pnpm typecheck across the full workspace.
  • Biome checks on changed files. A broader package lint reports existing warnings outside this diff.
  • I could not exercise the real virtual desktop from this environment because the companion sandbox image requires Docker.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

Generated-By: PostHog Code
Task-Id: c424306e-3221-4201-bbce-83723deb6a13
@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 98441cb.

Generated-By: PostHog Code
Task-Id: c6d78416-85c8-4304-bd69-e309562468c4
Generated-By: PostHog Code
Task-Id: c6d78416-85c8-4304-bd69-e309562468c4
@richardsolomou richardsolomou self-assigned this Jul 19, 2026
@richardsolomou richardsolomou changed the title feat(agent): relay computer use to cloud tasks feat(agent): add isolated cloud computer use Jul 19, 2026
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.

1 participant