Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk5 min

How to Install and Run a Local Open-Source AI Agent on Your Computer

Install OpenHands, connect it to a local model server such as Ollama or LM Studio, and verify tool use with a small, reversible task. Hardware requirements depend on the model.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can run an open-source AI agent on your computer by installing an agent application, starting a separate local model server, and connecting the two. A practical route is OpenHands with Ollama or LM Studio; Open Interpreter is an alternative if you prefer a terminal-based coding agent. The agent handles tasks and tool access, while the model runtime serves the language model.

What you need before installing a local AI agent

Check that your operating system and hardware fit the particular application and model you intend to use. OpenHands documents support for macOS with Docker Desktop, Linux, and Windows with WSL and Docker Desktop. Its setup guidance recommends a modern processor and at least 4GB of RAM for OpenHands itself; that figure is not a guarantee that a local language model will fit or run well. OpenHands setup documentation

As an Amazon Associate I earn from qualifying purchases.

For Windows, install WSL and Ubuntu, verify that WSL 2 is in use, and enable Docker Desktop’s WSL 2 engine and integration. OpenHands says it tested Ubuntu 22.04. Run Docker-related commands from the WSL terminal.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Local model requirements vary with model size, quantization, context length, and hardware. As one model-specific example, OpenHands’ current guide for quantized Qwen3.6-35B-A3B variants calls for either a recent GPU with at least 24GB of VRAM or Apple Silicon with at least 64GB of unified memory. Those figures apply to that example, not to every local model. OpenHands local LLM documentation

#1 Best Overall
Dell Optiplex 3060 Desktop Computer | Intel i5-8500 (3.2) | 32GB DDR4 RAM | 1TB SSD Solid State | Built in WiFi | Bluetooth | Windows 11 Professional | Home or Office PC (Renewed)
  • [INTEL POWERED CONTENT] - Built with a 8th Generation Hexa-Core Intel i5 and 32GB of DDR4 RAM; Modern, Windows 11 ready, with 4K support, Executive multitasking, media streaming and smooth, multi-tab web browsing; Perfect as an all-purpose multimedia computer; built for content creators; Plenty of RAM and Mass storage for photo and video editing powered by Intel HD 630
  • [LATEST WIRELESS TECH] - This Dell Desktop Computer easily connects to the internet through the Built In WiFi / Bluetooth
  • [SOLID STATE STORAGE] - This Dell Computer setup comes with an ultra-fast 1TB Solid State Drive (SSD); Setup as the primary boot device; Boot and load programs with lightning speed ; Additional expansion available
  • [BUY & OWN WITH CONFIDENCE] - From the world's largest Microsoft Authorized Refurbisher; Quality Guarantee and Free Tech Support; Award-winning Customer Service; | Support Sustainable Business
  • [MODERN HI-SPEED PORTS] - USB 3.0 (x4) | USB 2.0 (x4) | DisplayPort (x1) | HDMI Port (x1) | Audio Combo Jack (x1) | Audio Out (x1) | RJ-45 Ethernet (x1) | Internal SATA (x3)

How to install and run OpenHands with a local model

1. Install OpenHands

OpenHands recommends its CLI launcher, installed with uv and Python 3.12. After installing uv, run:

uv tool install openhands --python 3.12
openhands serve

The serve command starts OpenHands; follow the terminal output to open its interface. The documentation also describes a Docker installation route. Use its current instructions and image tags rather than relying on an old, version-pinned command. If you use NVIDIA Docker, the documented CLI option for GPU support is openhands serve --gpu. To give OpenHands access to the current working directory, it documents openhands serve --mount-cwd. Review the access implications before mounting a project.

Rank #2
Dell Optiplex 7050 SFF Desktop PC Intel i7-7700 4-Cores 3.60GHz 32GB DDR4 1TB SSD WiFi BT HDMI Duel Monitor Support Windows 11 Pro Excellent Condition(Renewed)
  • Model: Dell OptiPlex 7050 Small Form Factor (SFF)
  • Processor: Intel Core i7-7700 3.60 GHz
  • Memory: 32GB DDR4 Ram
  • Storage: 1TB Solid State Drive (SSD) Fast Boot + Storage
  • Operating System: Windows 11 Pro (64-bit)

2. Install a local model runtime

OpenHands documents local backends including LM Studio, Ollama, vLLM, and SGLang. LM Studio is the guide’s straightforward graphical option. If you choose Ollama, its installer commands are:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

macOS or Linux:

curl -fsSL https://ollama.com/install.sh | sh

Windows PowerShell:

irm https://ollama.com/install.ps1 | iex

These commands come from Ollama’s download page. Install a model that fits your available memory and your needs for speed, context, and agent tool use. Ollama notes that local speed depends on hardware and that large models can be slow without a strong GPU; the available documentation does not establish a universal specification or a cross-machine speed comparison.

Rank #3
Sale
HP All-in-OneDesktop Computer, 16GB DDR5 RAM, Intel Quad-Cores, 128GB SSD, WiFi6, Keyboard & Mouse, Windows 11
  • IMMERSIVE 24 INCH DISPLAY: Experience stunning clarity on a Full HD IPS screen with ultra-thin bezels, offering a 90% screen-to-body ratio that makes everything from spreadsheets to streaming come alive with vibrant colors and crisp details.
  • POWERFUL INTEL PROCESSING: Tackle demanding tasks with ease thanks to the Intel processor and 16GB of high-speed memory, delivering smooth performance whether you're multitasking between applications or running productivity software.
  • GENEROUS STORAGE: Store all your important files, photos, and programs with blazing-fast solid state drive technology that ensures quick boot times, rapid file access, and plenty of space for your digital life.
  • ENHANCED PRIVACY AND COLLABORATION: Work confidently with the pop-up privacy camera that tucks away when not in use, plus dual microphones with noise reduction for crystal-clear video calls that keep you connected professionally.
  • ECO-CONSCIOUS DESIGN: Feel good about your purchase with an EPEAT Gold registered and ENERGY STAR certified computer that combines premium performance with responsible environmental manufacturing practices.

3. Connect OpenHands to the model server

In OpenHands settings, choose the local provider and enter the model identifier and the backend’s base URL. The exact values depend on the runtime and model, so use the current backend-specific instructions in the OpenHands local LLM guide. Its LM Studio example uses a local API endpoint and the placeholder API key local-llm for a local endpoint that does not require authentication.

Networking needs attention when OpenHands runs in Docker but the model server runs directly on the host. The OpenHands guide uses host.docker.internal in its connectivity check and notes that Linux users may need to enable LM Studio’s “Serve on Local Network” setting. For Ollama, follow the guide’s model-specific configuration, including its context-length and host-binding guidance.

Rank #4
Dell Optiplex 3050 SFF Desktop Computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD, WiFi, 4K Support, DP, HDMI, Windows 11 Pro 64 Bit (Renewed)
  • This Certified Refurbished product is tested and certified to look and work like new. The refurbishing process includes functionality testing, basic cleaning, inspection, and repackaging. The product ships with all relevant accessories, a minimum 90-day warranty, and may arrive in a generic box. Only select sellers who maintain a high-performance bar may offer Certified Refurbished products on Amazon.com.
  • Dell Optiplex 3050 SFF Desktop computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD
  • Includes: USB Keyboard & Mouse, USB WiFi adapter, Microsoft office 30 days free trail.
  • Port: Front: USB 3.0(2), USB 2.0(2); Rear: DP, HDMI, USB 3.0(2), USB 2.0(2), RJ-45.
  • Support 4K (3840x2160) Dual display, makes it easy to connect two monitors at the same time, and you can expand working Windows, mirror content, or expand a single window across multiple monitors.

4. Set an appropriate context length for the documented Ollama example

For its Qwen3.6-35B-A3B Ollama example, OpenHands says to set a context length of at least 22,000 tokens and recommends 32,768 where hardware allows. It warns that Ollama’s 4,096-token default is too small for that setup’s system prompt and tools. These numbers describe this documented model-and-agent configuration; they are not general requirements for every runtime or model.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Try a small, reversible task

Start in a disposable project or a copy of a project. Ask for a bounded change, then inspect the files and confirm that the agent used tools as expected before giving it access to important work. OpenHands warns that a local model may act like a chatbot, refuse tool or file operations, or repeatedly fail tool calls. A successful connection proves the components can communicate; it does not prove that the model will reliably operate as an agent.

Best Value
Dell Windows 11 Desktop Computer OptiPlex 5060 | Intel Core i5-8500 Six Core (4.3GHz Turbo) | 16GB DDR4 RAM | 500GB SSD Solid State + 1TB HDD | WiFi + Bluetooth | Home or Office PC (Renewed)
  • Connectivity: Includes WiFi, Bluetooth, and LAN for wireless and wired connections
  • Memory: Features 16GB DDR4 RAM for smooth multitasking and performance
  • Storage: Combines 500GB SSD and 1TB HDD for ample storage space
  • Graphics: Integrated Intel UHD Graphics 630 for crisp visuals and video playback
  • Design: Sleek desktop tower with black color and slim profile for modern look
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What hardware does a local AI agent need?

There is no single memory requirement for all local agents. Separate the agent application’s needs from the model server’s needs, then check the specific model’s memory and context guidance. OpenHands states that effective local-model agent use requires capable hardware and models tuned for instruction following and agent-style behavior. Its setup recommendation of 4GB RAM concerns OpenHands, while the much larger figures below are tied to a named model example.

Documented OpenHands example Requirement or guidance
OpenHands application setup At least 4GB RAM recommended for the OpenHands system setup; this is not a local model requirement.
Quantized Qwen3.6-35B-A3B At least 24GB GPU VRAM, or at least 64GB Apple Silicon unified memory.
Qwen3.6-35B-A3B with Ollama At least 22,000 tokens of context; 32,768 recommended where hardware permits.
Ollama default in that example 4,096 tokens, described by OpenHands as too small for that setup’s system prompt and tools.

These are OpenHands documentation recommendations for the stated application and example, not independent performance benchmarks. Smaller models or different quantizations may have different needs. Choosing a model that loads is only part of the decision: it must also follow instructions and make tool calls reliably enough for your task.

OpenHands or Open Interpreter?

Both offer ways to use a local model, but their interfaces differ. OpenHands provides a serve-and-UI workflow; Open Interpreter is a terminal coding-agent workflow. OpenHands documents LM Studio, Ollama, vLLM, and SGLang backends, while Open Interpreter’s quickstart describes connecting to Ollama or LM Studio.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Consideration OpenHands Open Interpreter
Interface Serve command and UI. Interactive terminal session, started with i or interpreter.
Documented local model options LM Studio, Ollama, vLLM, and SGLang. Ollama or LM Studio in the quickstart.
Host setup Documents macOS with Docker Desktop, Linux, and Windows with WSL and Docker Desktop. Quickstart documents installer paths for macOS/Linux and Windows PowerShell; check its current setup instructions for the requirements of your system.

For the Open Interpreter route, follow its official quickstart for the current installer. Its first-run flow prompts for provider setup, and the quickstart says its default local workflow works in the current workspace and asks before actions requiring more access. Check the permissions and access behavior in either application before using it on valuable files.

Quick Recap

Bestseller No. 2
Dell Optiplex 7050 SFF Desktop PC Intel i7-7700 4-Cores 3.60GHz 32GB DDR4 1TB SSD WiFi BT HDMI Duel Monitor Support Windows 11 Pro Excellent Condition(Renewed)
Dell Optiplex 7050 SFF Desktop PC Intel i7-7700 4-Cores 3.60GHz 32GB DDR4 1TB SSD WiFi BT HDMI Duel Monitor Support Windows 11 Pro Excellent Condition(Renewed)
Model: Dell OptiPlex 7050 Small Form Factor (SFF); Processor: Intel Core i7-7700 3.60 GHz; Memory: 32GB DDR4 Ram
$392.99
Bestseller No. 4
Dell Optiplex 3050 SFF Desktop Computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD, WiFi, 4K Support, DP, HDMI, Windows 11 Pro 64 Bit (Renewed)
Dell Optiplex 3050 SFF Desktop Computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD, WiFi, 4K Support, DP, HDMI, Windows 11 Pro 64 Bit (Renewed)
Includes: USB Keyboard & Mouse, USB WiFi adapter, Microsoft office 30 days free trail.; Port: Front: USB 3.0(2), USB 2.0(2); Rear: DP, HDMI, USB 3.0(2), USB 2.0(2), RJ-45.
$179.98
Bestseller No. 5
Dell Windows 11 Desktop Computer OptiPlex 5060 | Intel Core i5-8500 Six Core (4.3GHz Turbo) | 16GB DDR4 RAM | 500GB SSD Solid State + 1TB HDD | WiFi + Bluetooth | Home or Office PC (Renewed)
Dell Windows 11 Desktop Computer OptiPlex 5060 | Intel Core i5-8500 Six Core (4.3GHz Turbo) | 16GB DDR4 RAM | 500GB SSD Solid State + 1TB HDD | WiFi + Bluetooth | Home or Office PC (Renewed)
Connectivity: Includes WiFi, Bluetooth, and LAN for wireless and wired connections; Memory: Features 16GB DDR4 RAM for smooth multitasking and performance
$255.00

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.