इस प्रोजेक्ट के बारे में

# open-computer-use `open-computer-use` एक ओपन-सोर्स `Computer Use` सेवा है जिसे `MCP` (Model Context Protocol) के रूप में लपेटा गया है। कोई भी AI एजेंट या MCP क्लाइंट इसे macOS, Linux और Windows पर Computer Use चलाने के लिए उपयोग कर सकता है। यह प्रोजेक्ट OpenAI के [Codex Computer Use](https://openai.com/index/codex-for-almost-everything/) से प्रेरित था। इसने दिखाया कि Accessibility APIs के ऊपर गैर-अंतर्वेधी CUA (Computer Use Agent) बनाया जा सकता है, इसलिए यह प्रोजेक्ट एक ओपन-सोर्स कार्यान्वयन प्रदान करता है। ## डेमो - **Codex App और Codex CLI**: Codex App और Codex CLI में Computer Use के रूप में उपयोग किया जाता है, जो आधिकारिक अनुभव से मेल खाता है। - **Gemini CLI**: MCP के माध्यम से `open-computer-use` से जुड़ता है और पूर्ण Computer Use क्रियाएँ चलाता है। - **Linux**: Linux पर चलता है। ## त्वरित शुरुआत ```bash npm i -g open-computer-use ``` npm पैकेज `ocu` को संक्षिप्त CLI उपनाम के रूप में भी उजागर करता है। > **महत्वपूर्ण**: macOS रनटाइम के लिए macOS 14.0 या बाद का संस्करण आवश्यक है। **macOS पर, इसे एक बार चलाएँ और `Accessibility` तथा `Screen Recording` प्रदान करें। Windows और Linux को इस चरण की आवश्यकता नहीं है।** ```bash open-computer-use # or ocu ``` इसका उपयोग करने से पहले, इसे अपने एजेंट में इंस्टॉल करें: ```bash # Install into Codex by writing to ~/.codex/config.toml open-computer-use install-codex-mcp ``` या इसे अपने क्लाइंट में मैन्युअल रूप से जोड़ें: ```json { "mcpServers": { "open-computer-use": { "command": "open-computer-use", "args": ["mcp"] } } } ``` ## स्किल स्किल को सीधे इंस्टॉल करें: ```bash # Install for Codex npx skills add iFurySt/open-codex-computer-use -g -a codex --skill open-computer-use -y npx skills ls -g -a codex | rg 'open-computer-use' ``` Claude Code के लिए इंस्टॉल करें: ```bash npx skills add iFurySt/open-codex-computer-use -g -a claude-code --skill open-computer-use -y ``` मौजूदा ग्लोबल इंस्टॉल को अपडेट करें, जिसमें ऊपर बनाया गया Codex इंस्टॉल भी शामिल है: ```bash npx skills update open-computer-use -g -y ``` आप मैन्युअल रूप से [`open-computer-use` skill](./skills/open-computer-use) भी डाउनलोड और इंस्टॉल कर सकते हैं। ## अधिक कमांड ऊपर दिए गए MCP JSON कॉन्फ़िग के अलावा, आप अंतर्निहित कमांड भी उपयोग कर सकते हैं: ```bash # Install into Codex by writing to ~/.codex/config.toml open-computer-use install-codex-mcp ocu install-codex-mcp # Install as a Codex plugin, mainly for Codex App open-computer-use install-codex-plugin # Install into Claude Code by writing to ~/.claude.json open-computer-use install-claude-mcp # Install into Gemini CLI for the current project by writing to ./.gemini/settings.json open-computer-use install-gemini-mcp # Install into Gemini CLI user config instead open-computer-use install-gemini-mcp --scope user # Install into opencode by writing to ~/.config/opencode/opencode.json (or the active config file) open-computer-use install-opencode-mcp # Install through DeepSeek Harness's generic MCP compatibility path open-computer-use install-dsh-mcp ./scripts/install-dsh-mcp.sh --profile web --no-hook # Call a single Computer Use tool and print the MCP-style JSON result open-computer-use call list_apps ocu call list_apps open-computer-use call get_app_state --args '{"app":"TextEdit"}' # Inspect code-first runtime availability ocu capabilities ocu capabilities --json # Run one JavaScript evaluation, from an argument, stdin, or a file ocu js 'var apps = await cua.listApps({ emit: false }); nodeRepl.write(apps)' printf '%s' 'nodeRepl.write(6 * 7)' | ocu js - ocu js --file ./automation.mjs # Keep JavaScript and cua bindings for the current terminal session ocu repl # Run a sequence in one process so element_index state can be reused open-computer-use call --calls '[{"tool":"get_app_state","args":{"app":"TextEdit"}},{"tool":"press_key","args":{"app":"TextEdit","key":"Return"}}]' open-computer-use call --calls-file examples/textedit-overlay-seq.json --sleep 0.5 # Check permissions; onboarding only opens when something is missing open-computer-use doctor # Run local validation from a source checkout make smoke OPEN_COMPUTER_USE_STRESS_LOOPS=20 make stress make agent-smoke make agent-smoke SCENARIO=fixture-full node ./scripts/run-agent-smoke-tests.mjs --agents=claude,codex --command=open-computer-use node ./scripts/run-agent-smoke-tests.mjs --scenario=fixture --agents=claude,codex --command=open-computer-use node ./scripts/run-agent-smoke-tests.mjs --scenario=fixture-full --agents=claude,codex --command=open-computer-use OPEN_COMPUTER_USE_HERMES_PROVIDER=anthropic OPEN_COMPUTER_USE_HERMES_MODEL=claude-opus-4-20250514 make agent-smoke AGENTS=hermes SCENARIO=fixture-full node ./scripts/run-agent-smoke-tests.mjs --agents=hermes --hermes-provider=anthropic --hermes-model=claude-opus-4-20250514 node ./scripts/run-agent-smoke-tests.mjs --scenario=fixture --agents=hermes --hermes-provider=anthropic --hermes-model=claude-opus-4-20250514 node ./scripts/run-agent-smoke-tests.mjs --scenario=fixture-full --agents=hermes --hermes-provider=anthropic --hermes-model=claude-opus-4-20250514 --hermes-max-turns=12 # Show help open-computer-use -h ocu -h ``` `ocu js` एक मूल्यांकन के बाद अपने JavaScript Worker और native MCP child को बंद कर देता है। `ocu repl` उन्हें वर्तमान टर्मिनल सत्र के लिए `.exit`, Ctrl-D, या समाप्ति तक बनाए रखता है; `.reset` इसके bindings को साफ़ करता है। macOS पर, अलग छिपा हुआ `Open Computer Use.app` permission agent निवासी रह सकता है ताकि बाद के कमांड उसी permission identity का पुन: उपयोग कर सकें। `ocu mcp` मूल नौ-टूल compatibility surface को उजागर करना जारी रखता है। npm launcher को वर्तमान में Node.js 18 या नए की आवश्यकता है। इसकी सहायता हमेशा `js` / `repl` को सूचीबद्ध करती है, जबकि `ocu capabilities --json` बताता है कि Node, REPL adapter/kernel, और native runtime उपलब्ध हैं या नहीं। एक बार शुरू होने के बाद, यह PATH पर किसी अन्य `node` को खोजने के बजाय वर्तमान Node executable का पुन: उपयोग करता है। ## Cursor Motion Cursor Motion macOS के लिए एक ओपन-सोर्स cursor motion सिस्टम है, जो Software.Inc टीम के सदस्यों द्वारा साझा की गई सार्वजनिक जानकारी पर आधारित है। आप ऐप को [Releases page](https://github.com/iFurySt/open-codex-computer-use/releases) से डाउनलोड कर सकते हैं। ## Star History समय के साथ प्रोजेक्ट की लोकप्रियता के लिए [Star History Chart](https://www.star-history.com/?repos=iFurySt%2Fopen-codex-computer-use&type=date&legend=top-left) देखें। ## लाइसेंस [MIT](./LICENSE)।