OpenManus Deployment Guide: A Step-by-Step Tutorial to Running AI Agents Locally

OpenManus is the open-source agent framework that reproduces much of what the proprietary Manus AI does — autonomous browsing, planning, code and shell execution — on your own machine, with a model of your choice. This guide covers the corrected install, the model configuration that actually works in late 2026, and the two traps the old tutorials walk you into: a moved repository and a retired default model.

What Changed Since March 2025

This guide was written in March 2025, when OpenManus was a week old and had just passed 3,300 stars. The project has changed a lot since then, and the old instructions no longer work as written:

  • The repository moved. The project now lives at FoundationAgents/OpenManus, not mannaandpoem/openmanus. The old address redirects, but every link in the old version of this guide points at the old home.
  • It is far bigger — and still maintained. The repository has about 58,900 stars (checked November 7, 2026), is MIT-licensed, and was last pushed to on November 2, 2026. The latest tagged release is v0.3.0 (April 10, 2025), and there have been 157 commits to main since that tag, so the project moves through the main branch rather than through new releases.
  • The default model changed — and then retired. The shipped config.example.toml defaults to Claude 3.7 Sonnet, and the README example uses gpt-4o. The Claude 3.7 model ID in the shipped config was retired on February 19, 2026, so copying the config as-is now fails. The configuration section below covers what to put there instead.
  • Browser automation is now a real dependency. The agent drives a browser through Playwright and Browser Use, and the browser binaries have to be installed — the old guide never mentions this step.
OpenManus interface display

Install OpenManus

You need Python 3.12 or later, Git, and uv. The README leads with uv — it is roughly ten times faster than pip on cold installs and produces a clean isolated .venv. Conda still works and is kept below as the alternative, but uv is the recommended path.

First, install uv (macOS and Linux):

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows, install Python 3.12 from the official Python site, install uv from the same Astral installer page, and install Git. Then clone the repository — note the new organization name:

git clone https://github.com/FoundationAgents/OpenManus.git
cd OpenManus
uv venv --python 3.12
source .venv/bin/activate

On Windows, activate with .venv\Scripts\activate instead of the source line. Then install the dependencies:

uv pip install -r requirements.txt

Now the step the old guide is missing: install the Playwright browser binaries, or any task that browses the web will fail. Chromium is the one to install:

playwright install chromium

If you would rather use Conda, the equivalent path is conda create -n open_manus python=3.12 && conda activate open_manus, then clone the same repository and run pip install -r requirements.txt, followed by the same playwright install chromium. Do not mix the two — pick uv or Conda for one install, not both.

Configure Your Model

All settings live in config/config.toml. Copy the template first:

cp config/config.example.toml config/config.toml

Then open config.toml and set your model, base URL, and API key under [llm]. Here is the trap: the shipped template defaults to model = "claude-3-7-sonnet-20250219", and Anthropic retired that exact model ID on February 19, 2026. Requests to a retired model fail, so do not leave the template value in place. Replace it with a current model — for example a current Claude Sonnet, gpt-4o, or a DeepSeek model — and put your key in the same block:

[llm]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..."

The repository ships commented templates for Anthropic, OpenAI, Azure OpenAI, Google, Amazon Bedrock, and Ollama, so pick the block that matches your provider and fill in the same three fields.

OpenManus configuration settings

Running it on a local model with Ollama

Ollama is one of the supported backends, not the default. If you want the agent to run fully locally, install Ollama, pull a model, and point the config at Ollama’s OpenAI-compatible endpoint:

ollama run qwen2.5-coder:14b
[llm]
model = "qwen2.5-coder:14b"
base_url = "http://localhost:11434/v1"
api_key = "ollama"

Be honest about what you get: a 14B local model can drive the agent loop, but it is weaker at multi-step planning than the cloud models, and it will be slower on long tasks. Treat Ollama as the private, zero-API-cost option, not as the strongest one. The supported local models listed in the original guide — qwen2.5-coder:14b, qwen2.5-coder:32b, and minicpm-v — still apply; the 14B size is the practical starting point on a home PC.

Config file snippet

Two more settings worth knowing: max_tokens = 4096 caps the length of a single model reply, and temperature = 0.0 keeps the agent’s output deterministic. For an agent that plans and executes, leave temperature at or near zero — a creative agent is an unreliable one.

Run It and What It Can Do

Start the agent from the project directory:

python main.py

There is no built-in web UI — you type your task in the terminal, and the agent works through it in a loop: plan the task, browse or run code, read the results, and continue until it is done or stuck. The Hugging Face demo that used to exist is paused, so the terminal is the way in. The development entry point from the old guide, python run_flow.py, still exists in the repository.

What the agent can actually do, in practice:

  • Browse the web. Browser Use runs as a default MCP server (uvx browser-use --cli-mcp on startup), and its local mode attaches to your installed Chrome or Chromium without an API key. Run uvx browser-use --doctor to check the browser setup. This is how the agent researches, opens pages, and reads content.
  • Work with files. Read, write, and organize files on the machine it runs on — the agent’s main way of producing deliverables.
  • Run code and shell commands. Execute code and shell commands as part of a task, with a Docker sandbox available for running untrusted code more safely.
  • Manage models. List installed Ollama models with ollama list and remove one with ollama rm model_name.

Limits and Troubleshooting

  • Model ID retired. If the first run fails with a model-not-found or retired-model error, you left the shipped claude-3-7-sonnet-20250219 in place. Replace it with a current model ID as described above.
  • Browser tasks fail immediately. Playwright’s browsers are not installed. Run playwright install chromium and check with uvx browser-use --doctor.
  • Ollama backend cannot connect. Make sure Ollama is actually running (ollama list should respond) and that base_url is http://localhost:11434/v1. If Ollama is not running, start it before python main.py.
  • Dependency errors on install. You are probably mixing uv and Conda, or using the wrong Python. Use Python 3.12 exactly — not 3.11 or 3.13 — and one environment tool for the whole install.
  • The agent loops or stalls. Long, vague tasks are the usual cause. Break the task into a concrete first step, and keep temperature at 0.0. A local 14B model will also stall more often than a cloud model on multi-step plans — that is a model limit, not an install problem.
  • There is no web UI. That is by design. OpenManus runs in the terminal; if you want a chat interface in front of a local model, use Open WebUI or LobeHub instead and keep OpenManus for agent tasks.

What is the relationship between OpenManus and Manus?

OpenManus is an independent open-source project that replicates much of what the proprietary Manus AI does — autonomous planning, browsing, and task execution. It is not Manus itself, it has no connection to the Manus company, and it needs no invite code. You run it yourself with your own model key.

Can I still use the old tutorials after the repository moved?

Mostly, but not as written. The code moved from mannaandpoem/OpenManus to FoundationAgents/OpenManus, the install now leads with uv plus a Playwright browser install, and the shipped default model was retired in February 2026. Follow the corrected steps above instead of copying a 2025 tutorial verbatim.

Can I run it on a local model, or do I need a paid API?

Both work. Ollama is a supported backend — point the config at http://localhost:11434/v1 and use a local model such as qwen2.5-coder:14b. It costs nothing in API fees, but a 14B local model plans worse and runs slower than a cloud model on long tasks. For the strongest results, use a current cloud model; for privacy and zero API cost, use Ollama.

I installed it — what do I do first, and how do I know it works?

Run python main.py and give it a small, concrete task, such as researching a topic and writing a summary file. If it plans, browses, and writes the file, the install works. If it fails immediately, check the three usual causes in order: the model ID in config.toml, the Playwright browser install, and whether Ollama is running if you use the local backend.

Related Reading

If you want an agent without writing code, Build AI Agents Without Code: Run Docker Agent via YAML and Connect Local Models Without API Keys runs an agent from a YAML file and connects local models. And if the browsing part is what interests you, Agent Reach: Give Your AI Agent Eyes to Search Twitter, Reddit, and More in One Line adds web search to an agent in one line.

OpenManus is a research-grade agent framework, not a finished product: it is free, open, and genuinely capable, but it expects you to bring your own model key and to read its errors. Set it up with the corrected steps above, and it will run.

OpenManus is an open-source project built by contributors from the MetaGPT ecosystem, inspired by Manus AI and by the anthropic-computer-use demo and MetaGPT. It is licensed under MIT. For community discussion and contributions, use the FoundationAgents/OpenManus repository.

Leave a Comment