This release is a pre-release and may not be stable for production use.
Computer Use
openJiuwen's computer-operation engine and agent: agents that read the screen, act on controls and fill forms the way people do
English | 简体中文
Introduction
Computer Use is the desktop-operation component of the openJiuwen Agent System Service layer. It reads the accessibility tree and screenshots of desktop applications, operates controls through mouse and keyboard input, and returns operation receipts. It supports macOS, Windows and Linux.
Developers can adopt it in two ways:
Option 1: integrate the computer_use engine. Connect an agent through MCP or call the Python SDK directly. The MCP tool computer_use(title, code) runs Python against the Computer → App → Element interface, with variables retained across calls. Agents use accessibility trees and screenshots to locate controls and verify operation results.
Option 2: integrate the Computer Use DeepAgent. Use the agent assembled on openJiuwen DeepAgent through its standard invoke(), stream() and Runner interfaces. Applications pass natural-language tasks to the agent, which observes the desktop, performs operations and checks their results.
Quick Start
Runtime requirements
Run Computer Use on the computer you want to control, in a logged-in and unlocked graphical desktop session.
| Platform | OS version and runtime requirements |
|---|---|
| macOS | macOS 14.0 (Sonoma) or later on Apple silicon or Intel Macs. Grant Accessibility permission to read the accessibility tree and control apps, and Screen Recording permission to take screenshots. |
| Windows | Windows 10 version 1903 (build 18362) or later, or Windows 11, on x64. The driver requires .NET Framework 4.8 or 4.8.1. |
| Linux | A glibc-based distribution on x86_64 or ARM64. The driver needs PyGObject, AT-SPI 2, the graphical session's D-Bus, and the X11 and xkbcommon libraries. Debian 13's AT-SPI passed verification. The version shipped with Debian 12 can time out when listing apps. Screenshots and simulated mouse and keyboard input require an X11 session. On Wayland, Computer Use can read the accessibility tree and perform the accessibility actions exposed by the app. The minimum glibc version for a prebuilt wheel depends on the artifact. |
The SDK and MCP use standard CPython 3.11–3.15. DeepAgent uses CPython 3.11–3.13. Choose a prebuilt wheel that matches your Python minor version and system architecture. The Linux driver also needs a system Python 3.11 or later that can load PyGObject. See the source build guide for dependency installation and build steps.
Connect your existing agent with one prompt
Send the appropriate prompt to a coding agent that can edit your project and run commands:
Integrate DeepAgent:
Read https://gitcode.com/openJiuwen/computer-use/blob/main/docs/deepagent.en.md, follow its instructions to build and install Computer Use from source, integrate Computer Use DeepAgent into this project, and verify the integration.
Connect over MCP:
Read https://gitcode.com/openJiuwen/computer-use/blob/main/docs/mcp.en.md, follow its instructions to build and install Computer Use from source, connect it to the agent I am using over MCP, and verify the integration.
Architecture
The project has four layers: interfaces, agent assembly, the execution engine and OS adapters. Applications can integrate DeepAgent, connect an external agent over MCP, or call the SDK directly:
flowchart TD
App["Agent application"] --> Agent["computer_use_agent · DeepAgent"]
CLI["computer_use_agent/cli"] --> Agent
Agent --> MCP["interface_adapter/mcp"]
External["External agent"] --> MCP
MCP --> Engine["computer_use_engine · Python SDK"]
Python["Python application"] --> Engine
Engine --> OS["os_adapter · macOS / Windows / Linux"]
OS --> Desktop["Desktop applications"]
DeepAgent manages model calls, conversation context and the tool loop. The engine manages target identity, observations and operation routing. OS adapters prepare input receivers and dispatch operations.
Features
- DeepAgent integration: standard openJiuwen invocation, streaming and Runner integration, with computer-operation tools reusable in existing DeepAgent applications.
- Single-tool code execution: the model writes Python, variables persist across calls, one call can complete a multi-step workflow.
- Accessibility-tree first: elements are numbered by decimal refs;
element(path)queries, paged text reads and menu reads are supported. - Verifiable receipts: dispatch and post-action observation are reported separately. Observations show diffs by default. Request screenshots explicitly.
- Background-first input: App methods accept an optional
window=scope. On macOS, direct Computer methods send global input. - Cross-platform native drivers: one each for macOS, Windows and Linux behind the same protocol.
- Observable: every execution is journaled as JSONL under
~/.computer-use/logs, including code, observations and receipts.
Project Structure
The four layers and supporting files are organized as follows:
computer-use/
├── interface_adapter/ # access layer: MCP integration
│ └── mcp/ # stdio MCP host and persistent Python execution
├── computer_use_agent/ # agent assembly: DeepAgent, context and tool integration
│ └── cli/ # direct conversation and configuration
├── computer_use_engine/ # engine: public SDK, observation and operation pipelines
├── os_adapter/ # OS adaptation: native platform backends and resources
│ ├── macos/
│ ├── windows/
│ └── linux/
├── docs/ # build, installation and integration guides
├── scripts/ # native build, permissions and resource generation
├── tests/ # unit tests
├── pyproject.toml # package metadata, dependencies and CLI entry points
├── LICENSE # Apache License 2.0
└── OPEN_SOURCE_SOFTWARE_NOTICE.md
Documentation
-
DeepAgent integration: agent construction, standard invocation and conversation lifecycle.
-
DeepAgent tools: tools for existing openJiuwen applications.
-
SDK API reference: public interfaces and parameter types for
Computer,AppandElement. -
MCP server: tool schemas, execution instructions and global-input authorization.
-
Native setup commands: platform builds, permission checks and Linux session setup.
-
Direct conversation: CLI options and interactive commands.
Contributing
Issues and pull requests are welcome. Before submitting, please make sure that:
- native driver changes come with instructions that build cleanly on a local machine;
- engine-layer changes introduce no dependency on any agent framework;
- new behavior is covered by unit tests or a reproducible probe script.
License
This project is licensed under Apache License 2.0.
This product serves solely as a workflow orchestration tool and does not embed any AI model capabilities. When users integrate AI models for specific business scenarios, they shall bear full responsibility for compliance obligations under the EU AI Act and other relevant regulatory frameworks.
Metadata
Release files for openjiuwen-computeruse 0.1.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openjiuwen_computeruse-0.1.0b1.tar.gz | 2.1 MB | Without provenance | Details for openjiuwen_computeruse-0.1.0b1.tar.gz |
Built distributions (wheels)
Total release size: 71.1 MB
Release files / openjiuwen_computeruse-0.1.0b1.tar.gz
| Download URL | openjiuwen_computeruse-0.1.0b1.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f31ca5a6ef97e2e4b3b83029e294f60a21f6481bb7e6d3c0e04ba37c75aa3a52
|
|
BLAKE2b-256 checksum How to use checksums |
7dd43cec4d55e9583ba3d0d68e8f0c09ef0036401b4770e0f8fe0b60b5ae06da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-cp311-win_amd64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
674acd44a60e823b72119d06504c7dc84f3c804269b81065f6b35a63ae308280
|
|
BLAKE2b-256 checksum How to use checksums |
7f41123bdf2e0c47abc355961ccea17e14ad9030285edc8741d1981127ea7cfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
3e16dba59506094d3d123d62639c0c0d820b5f0e2cab679eddc6d1222c3a81d7
|
|
BLAKE2b-256 checksum How to use checksums |
3ffc4eac27354a5d7b7b38918920f499a1ef723fe6c265f7a4ce09829532ce65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-cp311-macosx_14_0_x86_64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-cp311-macosx_14_0_x86_64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.11 macOS 14.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
8f08e4508f6c4147551961ba1e66fb2d718f6d3164d855fb4b0850cc2a399583
|
|
BLAKE2b-256 checksum How to use checksums |
dd5836b4f56bd407a241fd02f097e00d3a7fff9941dc5e73a482d1859b8f860c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 8.0 MB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
00fdc18fb76832fc37e133302337c14c519f6aa95373354725ae79ba6527d883
|
|
BLAKE2b-256 checksum How to use checksums |
511c5d6dd3665e02be236c83bbf4274b976d33e28e4c9d5046bc3872424e299b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-win_amd64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
04382dfdf80aaa0b3e2eba261f53688b9b2947dcb0beee6ba162ad74b13e0c47
|
|
BLAKE2b-256 checksum How to use checksums |
43f9daf2e84eef350950dccf130eb8feaed12c1f6400b363524ad2418047de2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_34_x86_64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a4913165685575d59160496a6730809efcb9eaf4a4ec3a351b20a159c15d4ddd
|
|
BLAKE2b-256 checksum How to use checksums |
01181c73c77148dd9a7792058b0ea99385219f4f989a5abbc152e01d7f005245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_34_aarch64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ef344d9764b65627c7972194f64dae7efe0551fcec7ac51bcffaeb01da78b57d
|
|
BLAKE2b-256 checksum How to use checksums |
e5ea537509016f78ef65891ff4a803e388cde0c087862652b478d2993686e0ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7e4796c2a6cfac515e30993599f2ad9f47ab99ea424e43808688c923d84e677a
|
|
BLAKE2b-256 checksum How to use checksums |
c8d70c22fa351337db4e5158555c08fce12103c136b2d2ea7dccc919407270c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
27ee35af7df5eb9fb903934f9e9938335681fea634df7464b988d2bf3209a984
|
|
BLAKE2b-256 checksum How to use checksums |
e7c5623683d4b4e38f1ac2e50e4f7ae300c582d19d57699e392c17019d5218c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-macosx_14_0_x86_64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-macosx_14_0_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.11 abi3 macOS 14.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
1bdf44a37eeaff1524043f01941d60cee045a82db6972e9d1db8caf4e1308ed7
|
|
BLAKE2b-256 checksum How to use checksums |
8f3191cbed4bf705183c9624283deae0a6f68b18004e2bae4e868f065675f9ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / openjiuwen_computeruse-0.1.0b1-cp311-abi3-macosx_14_0_arm64.whl
| Download URL | openjiuwen_computeruse-0.1.0b1-cp311-abi3-macosx_14_0_arm64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | CPython 3.11 abi3 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6481e93fbae6970ac50631d3fc7e1009f7ddce71d955850eb48299ef55d31171
|
|
BLAKE2b-256 checksum How to use checksums |
96e072ba57a53a8e53704f48159ce053290c4788974135098f29cd10840201eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Security for openjiuwen-computeruse 0.1.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.