Skip to main content

Three-Layer Tool Architecture

Profy provides three layers of interaction tools, covering the full spectrum from pixel-level desktop control to DOM-aware browser automation. All layers share a unified tool(action=...) calling convention.

Architecture

Layer Comparison

When to Use Each

Use computer for:

  • Native desktop applications (Finder, Terminal, IDE)
  • Game automation
  • Any non-browser GUI application
  • Screen-level visual verification

Use browser for:

  • Browsing public web pages
  • Testing in-development sites (localhost)
  • Web scraping
  • Form automation (no auth required)
  • 3D/WebGL visual verification

Use chrome for:

  • Operations requiring user’s login state
  • Accessing authenticated internal systems
  • Performing actions on logged-in websites
  • Secure credential management

Unified Calling Convention

All three layers share the same call pattern:

Backend Polymorphism

The same tool name routes to different backends depending on execution environment:
  • Cloud Sandbox: computer → noVNC pixel stream, browser → CDP protocol
  • Desktop: computer → macOS CUA daemon, browser → Electron webview
  • Chrome Extension: chrome → Native Messaging → Extension CDP
Tool authors don’t need to worry about backend differences — just pick the right layer.

Confirmation Policy

Computer Use

Pixel-level desktop control

Browser

DOM-aware browser control

Chrome Extension

User Chrome browser control

Rendering Surfaces

Eight display channels

A2UI

Declarative interactive UI components

Video Production

AI video production pipeline & timeline editing

3D & Visualization

Data viz, 3D scenes & game dev