LibreAI / AIエージェント / agent-desktop
// agents · lahfir/agent-desktop

agent-desktop

agent-desktopは、lahfirが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: lahfir/agent-desktop)。GitHubスターは1,778、フォークは127で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2026年10月6日です。

Reliable computer use for any agent: drive real apps through accessibility trees, not pixel guessing.

★ 1.8k スター⑂ 127 フォークApache-2.0更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
lahfir/agent-desktop
GitHubスター
1,778
フォーク
127
ライセンス
Apache-2.0
GitHubでの最終更新
2026年10月6日
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your goal

    Decide which desktop workflow your agent must perform and which apps it involves.

  2. Get the project

    Install agent-desktop globally from npm, or build it from source with cargo.

  3. Install and configure

    Grant macOS Accessibility permission (and Screen Recording if you need screenshots), using the built-in permission request command.

  4. Run your first task

    Take a snapshot of the target app, note element references, act on them, and re-snapshot to verify the result, optionally inside a traced session.

// 機能

選ばれる理由

Accessibility-tree snapshots with stable refs

Snapshots return compact element references tied to a snapshot id, so agents act on identified controls rather than screen coordinates.

Progressive skeleton traversal

Dense apps can be explored through a shallow skeleton overview with targeted drill-down, which the project says cuts snapshot token use dramatically.

Headless-by-default interaction

Reference-based actions use accessibility APIs and avoid silently stealing focus, cursor, keyboard, or clipboard.

Broad command surface

Dozens of commands cover observation, interaction, keyboard, mouse, notifications, clipboard, window management, sessions, and trace export, all with structured JSON output.

Chromium interop via CDP

Launching a Chromium app with CDP opens a verified DevTools port so Playwright, Puppeteer, or agent-browser can drive web content while native UI stays on the accessibility path.

Sessions, traces, and FFI bindings

Shared sessions give multi-agent workflows a common snapshot namespace and JSONL traces exportable as a single HTML viewer, and a C-ABI library supports in-process use from many languages.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone and build from source (alternative to npm)

    The npm install is the recommended route; source builds need Rust 1.89+ and macOS 13+.

    git clone https://github.com/lahfir/agent-desktop.git
    cd agent-desktop
    cargo build --release
  2. Install from npm and grant permissions

    The package downloads the prebuilt binary automatically.

    npm install -g agent-desktop
    agent-desktop permissions --request
  3. Snapshot and act

    List a Finder window's interactive elements, then click one by reference.

    agent-desktop snapshot --app Finder -i
    agent-desktop click @e3 --snapshot <snapshot_id>
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains it?

It is maintained by lahfir on GitHub.

Is it free to use?

Yes, it is Apache-2.0 licensed and free; the AI model that decides what to click comes from your own agent setup.

Does it need a paid API key?

Agent Desktop needs no API key; it is a local control tool. The agent driving it uses your existing model access.

How does it compare to a well-known alternative?

Screenshot-based computer use guesses coordinates from pixels and breaks when layouts shift; Agent Desktop reads the real accessibility tree and acts on stable element references that are safe to retry.

How do I get started?

Run npm install -g agent-desktop, grant Accessibility permission, then take your first snapshot with agent-desktop snapshot --app Finder -i.

// さらに探索

似ているツール

AIエージェント

open-codex-computer-use

Open-source Computer Use as an MCP service: let any agent drive macOS, Linux, and Windows desktops.

★ 2.4k スターMIT
ガイドを見る →
AIエージェント

ESP32 iPhone Agent

ESP32 iPhone Agent — let an AI model use a real iPhone with a $7 ESP32: AirPlay eyes, USB HID hands, no computer, no jailbreak

★ 2.4k スターMIT
ガイドを見る →
AIエージェント

OSWorld-V2

Benchmark computer-use agents on long, real-world desktop tasks.

★ 353 スターApache-2.0
ガイドを見る →
AIエージェント

mobile-use

AI agents that use real Android and iOS apps like a human — from minitap.

★ 3.2k スターApache-2.0
ガイドを見る →
AIエージェント

pinvou-agent

Pinvou Agent — open-source desktop AI agent for tools, files, knowledge, workflows and real deliverables

★ 2.4k スターMIT
ガイドを見る →
AIエージェント

Jev Ultrafast

Jev Ultrafast — the fastest browser agent from browser-use: one decision-model request per action cycle drives a real browser, MIT

★ 23.7k スターMIT
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — agent-desktopが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でagent-desktopとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

agent-desktopを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。