MCPcopy
hub / github.com/browser-use/macOS-use

github.com/browser-use/macOS-use @main sqlite

repository ↗ · DeepWiki ↗
259 symbols 1,135 edges 37 files 150 documented · 58%
README

Shows a black Browser Use Logo in light color mode and a white one in dark color mode.

GitHub stars Discord Twitter Follow Twitter Follow Twitter Follow

Tell your MacBook what to do, and it's done—across ANY app.

Created by Ofir Ozeri ♥️ migrated in collaboration with Magnus and Gregor

macOS-use enables AI agents to interact with your Macbook see it in action!

Quick start

⚠️ Important: Review the Warning section before proceeding.

With pip:

pip install mlx-use

From github

Clone first

git clone https://github.com/browser-use/macOS-use.git && cd macOS-use

Don't forget API key

Supported providers: OAI, Anthropic or Gemini (deepseek R1 coming soon!)

At the moment, macOS-use works best with OAI or Anthropic API, although Gemini is free. While Gemini works great too, it is not as reliable.

cp .env.example .env
open ./.env

We recommend using macOS-use with uv environment

brew install uv && uv venv && source .venv/bin/activate

Install locally and you're good to go! try the first exmaple!

uv pip install --editable . && python examples/try.py

Try prompting it with

open the calculator app

Demos

Click the GIF for the full video!

prompt: Calculate how much is 5 X 4 and return the result, then call done.

python examples/calculate.py

calc-5-times-4

prompt: Go to auth0.com, sign in with google auth, choose ofiroz91 gmail account, login to the website and call done when you finish.

python examples/login_to_auth0.py

login-to-auth0

prompt: Can you check what hour is Shabbat in israel today? call done when you finish.

python examples/check_time_online.py

check-time-online

Our Vision:

TLDR: Tell every Apple device what to do, and see it done. on EVERY APP.

This project aimes to build the AI agent for the MLX by Apple framework that would allow the agent to perform any action on any Apple device. Our final goal is a open source that anyone can clone, powered by the mlx and mlx-vlm to run local private infrence at zero cost.

Roadmap goals:

  1. Support MacBooks at SOTA reliability

  2. [ ] Refine the Agent prompting.

  3. [ ] Release the first working version to pypi.
  4. [ ] Improve self-correction.
  5. [x] Adding ability to check which apps the machine has installed.
  6. [x] Add feature to allow the agent to check existing apps if failing, e.g. calendar app actual name is iCal.
  7. [ ] Add action for the agent to ask input from the user.
  8. [ ] Test Test Test! and let us know what and how to improve!
  9. [ ] Make task cheaper and more efficient.

  10. Support local inference with small fine tuned model.

  11. [ ] Add support for inference with local models using mlx and mlx-vlm.

  12. [ ] Fine tune a small model that every device can run inference with.
  13. [ ] SOTA reliability.

  14. Support iPhone/iPad

WARNING

This project is still under development and user discretion is advised! macOS-use can and will use your do login, use private credentials, auth services or stored passwords to complete its task, launch and interact WITH EVERY APP and UI component in your MacBook and restrictions to the model are still under active development! It is not recommended to operate it unsupervised YET macOS-use WILL NOT STOP at captcha or any other forms of bot identifications, so once again, user discretion is advised.

Disclaimer:

As this is an early stage release, You might experience varying success rates depending on task prompt, we're actively working on improvements.

talk me on X/Twitter or contact me on Discord, your input is crucial and highly valuable!

Contributing

We are a new project and would love contributors! Feel free to PR, open issues for bugs or feature requests.

Thanks

I would like to extend my heartfelt thanks to Twitter Follow and Twitter Follow for their incredible work in developing Browser Use. Their dedication and expertise have been invaluable, especially in helping with the migration process and I couldn't have done it without them!

Core symbols most depended-on inside this repo

update
called by 51
examples/basic_agent.py
run
called by 22
mlx_use/agent/service.py
model_dump
called by 12
mlx_use/agent/views.py
_get_attribute
called by 11
mlx_use/mac/tree.py
_add_message_with_tokens
called by 10
mlx_use/agent/message_manager/service.py
_cleanup_state
called by 8
gradio_app/src/models/app.py
done
called by 7
mlx_use/controller/service.py
get_terminal_output
called by 6
gradio_app/src/models/app.py

Shape

Method 152
Function 58
Class 47
Route 2

Languages

Python100%

Modules by API surface

mlx_use/agent/views.py27 symbols
mlx_use/agent/service.py22 symbols
gradio_app/src/models/app.py22 symbols
mlx_use/mac/context.py18 symbols
mlx_use/controller/service.py15 symbols
mlx_use/mac/element.py13 symbols
gradio_app/app.py12 symbols
mlx_use/agent/message_manager/service.py11 symbols
mlx_use/mac/tree.py10 symbols
mlx_use/controller/registry/service.py9 symbols
mlx_use/telemetry/views.py8 symbols
mlx_use/agent/prompts.py8 symbols

Dependencies from manifests, versioned

MainContentExtractor0.0.4 · 1×
beautifulsoup44.12.3 · 1×
gradio4.0.0 · 1×
httpx0.27.2 · 1×
langchain0.3.14 · 1×
langchain-anthropic0.3.3 · 1×
langchain-aws0.2.11 · 1×
langchain-fireworks0.2.6 · 1×
langchain-google-genai2.0.8 · 1×
langchain-ollama0.2.2 · 1×
langchain-openai0.3.1 · 1×
playwright1.49.0 · 1×

For agents

$ claude mcp add macOS-use \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact