EXTRA - Native Computer Use

io.github.AIYantra由 GitHub 账号 AIYantra 发布v0.2.5更新于 Oct 28, 2026

Flashless macOS & Windows native computer-use engine for AI vision, mouse & keyboard automation

发布方自己的服务:NativeExpress

概览

AI 生成的概览

本地 MCP 服务器,让 AI 助手在 macOS、Windows 和 Linux 桌面上“看得见、点得动”:截屏、点击、输入、快捷键与窗口控制。

可以做什么
  • 启动应用与网址,聚焦、吸附并排列窗口
  • 点击、拖拽、滚动、绘制笔迹,发送快捷键或输入文字
  • 检查无障碍树,并按元素 ID 或语义目标点击界面元素
  • 截取屏幕截图(可加视觉标记),从 Chrome 或 Edge 提取 DOM 内容
  • 执行批量动作与批量文件系统操作
  • 回忆过往任务流程,并把验证过的快速路径固化为可复用技能
适用场景
适合需要助手真正操作桌面软件而非只输出文字的场景:填写表格、整理文件、在浏览器中录入数据、修改系统设置或控制影音应用。适合希望在本机进行本地化屏幕级自动化的用户。
运行要求
以本地进程方式运行在用户桌面上(macOS 12.3+、Windows 10/11 64 位,或带 Wayland/X11 的 Linux)。README 中的安装脚本会创建 Python 3.10+ 虚拟环境并配置 MCP 客户端;也提供 npx 包与 Python 模块两种启动方式。未声明任何 API 密钥或环境变量。macOS 上通常需要授予屏幕录制与辅助功能权限。
安装前请注意
它把桌面完全交给助手:会点击、输入、启动应用、发送快捷键,并执行包括删除在内的批量文件操作,误操作可能改动或删除数据。README 建议用管道把远程安装脚本直接交给 shell 执行,这将以你的用户权限运行第三方代码,请先审阅。文档称屏幕内容与按键不会离开本机,但助手模型本身仍会收到屏幕与界面数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 EXTRA - Native Computer Use,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README


What is Extra and Why Does It Exist?

Extra is an open-source Computer Use protocol and Model Context Protocol (MCP) server developed by yantraOS. It bridges LLMs (including ChatGPT, Claude, Cursor, and Gemini) directly to physical desktop operating systems across Linux, macOS, and Windows. Extra replaces fragile vision-only screenshot loops with native OS accessibility trees and sub-3ms GPU frame streaming, delivering pixel-perfect clicking, instant typing, and up to 225× lower token costs.

Today's AI assistants can write brilliant essays and code, but they are trapped inside a chat window. When you need them to click a button, open an app, organize your files, or input data into a spreadsheet, they can only give you text instructions.

Extra gives your AI hands and eyes on Linux, macOS & Windows.

It connects Claude, Google Antigravity, Cursor, AGY, or any autonomous agent directly to your desktop with high-speed screen vision, pixel-perfect clicking, and instant typing.

  • No clunky browser extensions.
  • No expensive cloud servers watching your screen.
  • 100% open source, local, and private.

What Can an AI Assistant Do With Extra?

Once Extra is running, you can talk to your AI like a real human assistant sitting at your desk:

  • 📊 Spreadsheets & Data: "Open Excel or LibreOffice Calc, calculate total revenue from the invoice CSVs in my Downloads folder, and create a summary chart."
  • 🗂️ Desktop & File Cleanup: "Clean up my messy desktop by moving screenshots into Pictures, PDFs into Documents, and deleting empty folders."
  • 🌐 Web Research & Data Entry: "Open Chrome or Firefox, find the top 5 flights to Tokyo under $800, and copy their flight numbers and dates into a text note."
  • ⚙️ System Administration: "Open Settings or terminal, check system updates, and verify service health."
  • 🎵 App Control: "Launch Spotify or VLC, search for low-fi focus beats, and start playing."

⚡ Quickstart (1 Minute)

You can set up Extra in seconds on Linux, macOS, or Windows:

Option A: Ask Your AI To Set It Up (Primary Funnel — Easiest)

Copy and paste the single directive for your OS into Claude Desktop, Google Antigravity, Cursor, Windsurf, or any MCP agent:

  • 🐧 For Linux (Arch / yantraOS, Ubuntu, Debian, Fedora):

    text
    Setup Extra on my Linux machine: In Terminal run 'curl -sSL https://extra.yantraos.com/install.sh | bash', then read and configure ~/.extra/app/STARTER_PROMPT_LINUX.md so we are ready to use Extra.
  • 🍏 For macOS (Apple Silicon M1-M4 & Intel):

    text
    Setup Extra on my Mac: In Terminal run 'curl -sSL https://extra.yantraos.com/install.sh | bash', then read and configure ~/.extra/app/STARTER_PROMPT_MACOS.md so we are ready to use Extra.
  • 🪟 For Windows (11 / 10):

    text
    Setup Extra on my PC: In PowerShell run 'iwr -useb https://extra.yantraos.com/install.ps1 -OutFile "$env:TEMP\install_extra.ps1"; & "$env:TEMP\install_extra.ps1"', then read and configure ~/.extra/app/STARTER_PROMPT.md so we are ready to use Extra.

Your AI will run the installer, configure MCP and local rules, and reply:

"We are ready! Please restart <your AI application, e.g. Claude Desktop, Antigravity, Cursor, Windsurf> to make it work."


Option B: Run the One-Liner Yourself

  • 🐧 Linux Terminal (Arch / yantraOS, Ubuntu, Debian, Fedora):

    bash
    curl -sSL https://extra.yantraos.com/install.sh | bash
  • 🍏 macOS Terminal:

    bash
    curl -sSL https://extra.yantraos.com/install.sh | bash
  • 🪟 Windows PowerShell (Staged, Defender-Clean):

    powershell
    iwr -useb https://extra.yantraos.com/install.ps1 -OutFile "$env:TEMP\install_extra.ps1"; & "$env:TEMP\install_extra.ps1"

The automated installer will:

  • Verify OS architecture (Linux Wayland/X11, macOS 12.3+, or Windows 10/11 64-bit).
  • Provision isolated Python 3.10+ runtime (~/.extra/venv).
  • Auto-configure Claude Desktop, Cursor, Windsurf, and Antigravity (agy).
  • Run the health diagnostic doctor and present the 1-step starter prompt.

Option C: Developer Git Clone

bash
# Linux / macOS:git clone https://github.com/AIYantra/extra.git ~/.extra/appcd ~/.extra/app && ./install.sh
# Windows:git clone https://github.com/AIYantra/extra.git "$HOME\.extra\app"cd "$HOME\.extra\app" ; .\install.ps1

Connecting to Any MCP-Compatible AI

Extra works out of the box with any agent supporting the Model Context Protocol (MCP). If you use Cursor, Windsurf, or custom agents, add this snippet to your MCP config:

json
{  "mcpServers": {    "extra": {      "command": "npx",      "args": ["-y", "@yantraos/extra-desktop"]    }  }}

Or using native Python:

json
{  "mcpServers": {    "extra": {      "command": "python",      "args": ["-m", "extra.mcp.server"]    }  }}

How Does Extra Work Under the Hood?

Extra operates via a sovereign Dual-Plane Architecture that decouples visual perception from hardware actuation. For perception, Extra combines sub-3ms GPU frame capture (DirectX DXGI, Metal, Spectacle) with OS accessibility hierarchy inspection (COM UI Automation, AT-SPI2, Quartz). For actuation, Extra dispatches lossless kernel and Win32 hardware events with zero coordinate drift, guaranteeing deterministic control across all resolutions and display scaling factors.

Extra is engineered from the ground up for speed, reliability, and token efficiency:

  1. 👁️ Ultra-Fast Screen Capture (< 3ms): Uses native DirectX Desktop Duplication (DXGI) to take crystal-clear desktop frames in under 3 milliseconds—without lagging your PC or blurring text.
  2. 🎯 Pixel-Perfect Clicking: Rather than guessing coordinates from fuzzy screenshots, Extra queries the native Windows accessibility tree (UI Automation) to click the exact button, menu, or text field with 100% mathematical accuracy.
  3. ⚡ Instant Typing: Types 500 characters in under 5 milliseconds via native Win32 Unicode injection—with zero dropped letters and full support for emojis and international languages.
  4. 🛑 Infinite Loop Stall Protection: If an app freezes or a click produces no visual result, Extra immediately catches it and stops safely instead of burning your tokens in an endless loop.
  5. 🔒 100% Local & Private: Extra runs completely on your machine. Zero screenshots, keystrokes, or telemetry are ever sent to any cloud server.

📊 Performance Comparison

Metric / CapabilityLegacy Scripts (PyAutoGUI)Cloud Vision ModelsExtra Engine
Screen Grab Speed150 – 300 ms80 – 150 ms1.8 – 3.2 ms (DirectX DXGI)
Typing Speed (100 chars)2.5 – 5.0 seconds1.0 – 2.0 seconds< 0.005 seconds (Instant Win32)
Click Accuracy~60% (fails on display scaling)~82% (vision guess)99.4% (Native Windows UIA)
Multi-Monitor DPI SupportBroken on 125%/150% scalesRequires manual adjustmentAutomatic (PerMonitorV2)
AI Token CostHigh (full screenshot every step)High (full vision payload)70% Lower (Smart element tree)
Stall PreventionNone (gets stuck forever)Basic timeoutSmart visual delta detection

🛠️ Included Tools (MCP Suite — 20 Native Tools)

When connected to Extra, your AI assistant receives full sovereign desktop control across 20 native tools:

Tool NameWhat It Does
extra_launchOpens any app, utility, or URL directly (calc, notepad, settings, edge, chrome)
extra_focus_windowBrings any window to the front via native thread input attachment
extra_clickClicks with sub-pixel DPI accuracy, human-like Bezier curves, and semantic visual grounding (target="...")
extra_strokeDraws fluid, continuous brush splines across waypoints with pressure and Catmull-Rom smoothing
extra_typeInjects text instantly with zero lag, full emoji support, and Win32 Unicode packets
extra_hotkeySends keyboard shortcuts (Ctrl+C, Win+E, Alt+Tab, Enter)
extra_batch_actionsExecutes atomic lists of hardware & SOUL reflex actions (eval, assert, wait_for_state) in sub-milliseconds
extra_snap_layoutProgrammatically docks and arranges windows in side-by-side or split layouts in < 15ms
extra_fs_batchHigh-speed batch filesystem operations compliant with Windows Defender Controlled Folder Access
extra_inspect_uiScans accessible UI trees and interactive element nodes in real time
extra_click_elementClicks UI elements deterministically by accessible ID or semantic target
extra_scrollSmoothly scrolls wheels up, down, left, or right
extra_dragDrags and drops files, windows, or sliders between coordinates
extra_screenshotCaptures high-res desktop frames in < 25ms with optional Set-of-Mark visual badges
extra_browserDirectly extracts DOM content in Edge/Chrome or triggers synthesized API fast-paths
extra_task_startActivates ambient screen edge pulse and cursor tracking halo
extra_task_completeSignals task completion: flashes emerald border, plays acoustic chime, and analyzes trajectory
extra_indicate_statusDirect programmatic control over active, complete, and idle desktop indicators
extra_recall_memoryRecalls past task workflows, artifacts, and known quirks via KùzuDB + FastEmbed in < 2ms
extra_scout_appDiscovers UI frameworks (Electron/Win32/Viewport), universal hotkeys, and generates SKILL playbooks
extra_evolve_skillCrystallizes newly verified zero-stall fast paths into permanent skill playbooks

🏛️ Repository Structure

text
extra/├── assets/                 # Brand logos and banners├── bin/                    # Node.js CLI executable (npx @yantraos/extra-desktop)├── core/                   # Sovereign Core Automation Engine│   ├── platform/           # Platform Abstraction Layer (PAL facade for Win32 & macOS)│   │   ├── windows/        # Win32 SendInput, DXGI capture, UIA, and focus│   │   └── macos/          # ScreenCaptureKit, CoreGraphics, and AXUIElement│   ├── soul/               # System One Ultra-fast Layer (Decider, Eyes, Grammar, Schemas)│   ├── memory/             # KùzuDB episodic knowledge graph & FastEmbed embeddings│   ├── evolution/          # Autonomous skill crystallizer & API synthesizer│   ├── scout/              # Application discovery, CDP sniffer, and session vault│   ├── motion/             # Human-like Bezier cursor flight and spline dynamics│   ├── capture.py          # Unified high-speed desktop screen capture│   ├── geometry.py         # PerMonitorV2 DPI scaling & display normalization│   ├── indicators.py       # Ambient screen pulse, cursor halo, and harmonic chime│   ├── input_engine.py     # PAL input facade (clicks, strokes, typing, batching)│   ├── focus.py            # Window activation, snapping, and layout management│   ├── uia_plane.py        # Accessibility tree inspection and Set-of-Mark labeling│   └── stall_breaker.py    # Closed-loop perceptual diffing & safety killswitch├── fastpath/               # High-speed deterministic execution│   ├── shell.py            # Native app launcher with crash-recovery auto-suppression│   ├── browser.py          # Playwright & Chromium DevTools Protocol (CDP) bridge│   ├── fs.py               # CFA-compliant batch filesystem engine│   └── web/                # Synthesized Web-to-API fast-paths├── mcp/                    # Model Context Protocol│   └── server.py           # Standard JSON-RPC stdio/SSE server (20 native tools)├── tests/                  # Exhaustive 1,883-test official verification suite├── cli.py                  # CLI runner (extra doctor, test, indicators, run, inspect, snap)├── install.ps1             # 1-line PowerShell installer (Windows)├── install.sh              # 1-line bash installer (macOS)├── pyproject.toml          # PyPI package manifest (extra-desktop v0.3.3)├── package.json            # npm package manifest (@yantraos/extra-desktop v0.3.3)├── server.json             # Official MCP registry manifest├── glama.json              # Glama MCP ecosystem manifest├── smithery.yaml           # Smithery 1-click deployment manifest├── requirements.txt        # Enterprise-audited dependency manifest├── STARTER_PROMPT.md       # Master AI system prompt & setup directive├── docs/                   # Full System Architecture & Specifications└── RELEASE_NOTES.md        # Comprehensive version release notes

🛡️ Enterprise Trust & Safety

  • Zero Unverified Binary Blobs: No mysterious compiled .dll or .pyd files from solo maintainers.
  • Microsoft & Anthropic Standards: Built exclusively on Microsoft system calls (ctypes), Anthropic's official mcp SDK, and PSF packages.
  • Fail-Safe Protection: Includes a screen-corner emergency escape at (0, 0) and a global panic hotkey (Ctrl+Alt+Shift+Q).

🌌 Part of the yantraOS Sovereign Ecosystem

Extra is the Windows bridge for yantraOS, the sovereign Arch Linux operating system engineered for autonomous computing.

If you want bare-metal AI autonomy with zero operating system telemetry, sub-microsecond OS kernel scheduling, and native Wayland hardware control, explore yantraos.com.


🤝 Contributing

We welcome contributions from kernel hackers, automation researchers, and AI developers!
Please check out our Contributing Guide and Code of Conduct.

For vulnerability reporting, review our Security Policy.


📜 License

Distributed under the MIT License. See LICENSE for details.
Copyright (c) 2026 Euryale Ferox Private Limited.

来源:README.md,提交 3887fcc

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.2.5最新Sep 18, 2026
  2. v0.1.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Native 集成