Skip to content

v2.0: ComputerUseAgent — multi-modal action model that drives apps via screen + keyboard #737

Closed

Description

@AmitoVrito

Summary

Add a ComputerUseAgent that perceives the screen (vision) and acts via mouse + keyboard — driving any GUI app. Wraps Claude computer-use, OpenAI Operator, and open-source equivalents behind a single SynapseKit interface, fully integrated with the existing tool framework.

Motivation

The next interface boundary is the screen itself. Most enterprise workflows still live in legacy GUIs with no API. A unified, provider-agnostic computer-use agent makes SynapseKit the natural choice for automation that goes beyond REST calls.

Design Sketch

from synapsekit import ComputerUseAgent, ScreenProvider

agent = ComputerUseAgent(
    llm=AnthropicLLM.claude_computer_use(),  # or operator, or open-source
    screen=ScreenProvider.local(),            # or .browser(), .vnc(host=...)
    safety=SafetyPolicy(
        confirm_before=[\"delete\", \"send\", \"purchase\", \"navigate_to_new_domain\"],
        forbidden_apps=[\"keychain\", \"1password\"],
        record_session=True,
    ),
)

await agent.run(\"Open the Q2 spreadsheet in Excel, sum column D, paste the total into the Slack #finance channel\")

Components

  • ComputerUseAgent base class
  • ScreenProvider interface — local (pyautogui), browser (Playwright), remote (VNC)
  • Provider wrappers: Anthropic computer-use, OpenAI Operator, open-source (e.g. Cua, OS-Atlas)
  • SafetyPolicy — confirm-before-act, app allowlist, action audit log
  • SessionRecorder — full screen + action log for replay/debugging
  • Tool integration: existing BrowserTool becomes a special case of ComputerUseAgent with browser screen provider
  • @requires_human_confirmation decorator for sensitive actions
  • Sandbox runner: container/VM mode for risky tasks

Use Cases

  • Legacy GUI automation (SAP, Oracle, on-prem ERPs)
  • QA: agent drives the app like a user, runs test scenarios
  • Data entry from PDFs into ancient web portals
  • Accessibility: voice → computer-use for motor-impaired users
  • Self-onboarding agents that learn workflows by watching

Risks

  • Safety is the Add MarkdownTextSplitter #1 concern. Default to confirm-before-act for anything destructive. Hard-block credential managers.
  • Determinism — screen state varies. Need robust retry + visual grounding ("click button labeled X" not "click pixel 400,200").
  • Cross-platform — macOS / Windows / Linux screen APIs differ. Start with macOS + Linux; Windows in a follow-up.

Acceptance Criteria

  • End-to-end demo: agent fills out a form on a legacy web app + posts result to Slack
  • Safety policy blocks a malicious instruction in test suite (e.g. "delete all files")
  • Session recordings are replayable
  • At least 2 providers wired (Anthropic + 1 open-source)
  • Docs: safety guide is mandatory reading

Related

  • Extends BrowserTool (already shipped)
  • Synergy with WorldModelRAG — agent observes app state into the world model

Activity

  1. added
    enhancement
    v2.0
    agents
    on Jun 25, 2026
  2. added this to the v2.0.0 milestone on Jun 25, 2026
  3. added
    v2.0.1
    and removed
    v2.0
    on Jul 18, 2026
  4. modified the milestones: v2.0.0, v2.0.1 on Jul 18, 2026
  5. AmitoVrito commented on Aug 1, 2026

    @AmitoVrito
    CollaboratorAuthor

    Status: implementation complete (exceeds spec) — one acceptance item pending

    Shipped (in src/synapsekit/computer_use/): ComputerUseAgent (agent.py), ScreenProvider + BrowserScreenProvider (local/browser/VNC), 3 providers wired — AnthropicComputerUseProvider, OpenAIComputerUseProvider, OpenSourceComputerUseProvider (acceptance asked for 2); SafetyPolicy with forbidden-apps/domain allow+block lists (4 "blocks malicious instruction" tests), SessionRecorder, @requires_human_confirmation; 22 tests; safety guide docs/computer-use-safety.md.

    Pending to close this issue (acceptance criteria):

    • End-to-end demo: agent fills a form on a legacy web app + posts the result to Slack — as an examples/ script (none exists yet).
    • Explicit session-replay test — SessionRecorder exists; add a test that replays a recorded session to satisfy "recordings are replayable."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentsenhancementv2.0.1

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions