Close Menu
NCIJ Network NCIJ Network
    What's Hot

    China, Not Iran, Is Trump’s Real Foreign-Policy Debacle

    September 18, 2026

    Illegal mining in Niger state: 37 suspects die in Nigerian custody

    September 18, 2026

    Warm words on Canada’s EU ‘associate membership’ but no guarantees

    September 18, 2026
    Facebook X (Twitter) Instagram
    Trending
    • China, Not Iran, Is Trump’s Real Foreign-Policy Debacle
    • Illegal mining in Niger state: 37 suspects die in Nigerian custody
    • Warm words on Canada’s EU ‘associate membership’ but no guarantees
    • Joining the dots between big AI
    • He Won the Nobel Prize for Protein Design. Now He Uses AI to Create Molecules Not Found in Nature
    • Best Open-Source Agent Harnesses for Local LLMs in 2026
    • Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven npm Stealer
    • SOL news: Solana speeds up blocks by 17%, but transaction capacity stays the same
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Friday, September 18
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    Best Open-Source Agent Harnesses for Local LLMs in 2026

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKSeptember 18, 2026 Artificial Intelligence No Comments7 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    ” style=”width:100%;height:600px;border:0;display:block;background:#111;” scrolling=”no” loading=”lazy”>

    1. OpenCode

    OpenCode documents 3 local paths in its own provider docs: Ollama, LM Studio, and llama.cpp’s llama-server. Each uses the @ai-sdk/openai-compatible package with a local baseURL. The docs claim support for 75+ providers overall.

    Setup can be one command. Ollama’s OpenCode page shows ollama launch opencode. It recommends a context window of at least 64k tokens. OpenCode’s own docs add a practical tip. If tool calls fail, raise num_ctx to around 16k to 32k.

    It ships 2 built-in agents. build has full access. plan is read-only and asks before running bash commands.

    Best for: Developers who want the widest documented local setup in one terminal tool.

    2. Pi

    Pi is the minimalist pick. Its README gives the model 4 tools: read, write, edit, and bash. It deliberately skips MCP, sub-agents, plan mode, and permission popups. Those features arrive through TypeScript extensions and packages.

    Pi has native support for the llama.cpp router server. The router discovers multiple GGUF files and loads them on demand. You manage models inside Pi with /llama. Ollama supports it too. ollama launch pi installs Pi, configures the provider, and opens a session.

    One caveat matters for local use. Pi has no built-in permission system. It runs with your user’s permissions. The README recommends Docker, a micro-VM extension, or a policy sandbox for isolation.

    The old badlogic/pi-mono URL now redirects to earendil-works/pi. Earendil acquired Pi in April 2026, and creator Mario Zechner joined the company. The Pragmatic Engineer reports that Pi is the foundation OpenClaw is built on.

    Best for: Small local models, where a short tool list leaves more context for code.

    3. Goose

    Goose documents the most local runtimes of any harness here. Its provider docs list Ollama, LM Studio, Docker Model Runner, Ramalama, and Atomic Chat. vLLM and KServe work through the OpenAI-compatible provider. Custom providers can skip the API key for local servers.

    Governance is a differentiator. The Linux Foundation formed the Agentic AI Foundation on December 9, 2025, with Block contributing goose. The repo now lives at aaif-goose/goose. Goose is written in Rust and ships a desktop app, a CLI, and an API. The README cites 70+ MCP extensions.

    Ollama setup is short. Run goose configure, select Ollama, and enter a model name.

    Best for: General automation beyond code, under neutral foundation governance.

    4. Cline

    Cline is the strongest editor-based option. Its local guide recommends one setting above all: enable “Use Compact Prompt” for local inference. It also advises focused tasks and fresh sessions when context grows.

    Every file edit and command needs approval by default. Auto-approve is optional. Plan and Act modes separate strategy from execution.

    One licensing detail deserves attention. Cline’s own README says the JetBrains plugins are not open-sourced. The VS Code extension, CLI, and SDK are in the Apache-2.0 repo.

    Best for: VS Code users who want human-in-the-loop approvals with a local model.

    5. OpenHands

    OpenHands publishes the most specific local guidance. Its local LLM guide recommends Qwen3.6-35B-A3B as the first local model to try, as of May 21, 2026. Hardware needs are stated plainly. Quantized variants need at least 24GB of VRAM, or an Apple Silicon Mac with 64GB of unified memory.

    Context guidance is equally direct. Set context length to at least 22,000 tokens, with 32,768 recommended. The guide warns that Ollama’s 4,096 default cannot even fit the system prompt.

    Linux users face one trap. LM Studio binds to 127.0.0.1 by default, so a Dockerized OpenHands cannot reach it. Enabling “Serve on Local Network” fixes it.

    Best for: Containerized, longer-running tasks on a workstation or server GPU.

    6. Aider

    Aider handles weak tool calling differently. Its edit formats have the model return edits as text. The whole format returns full files. The diff format returns search and replace blocks. Aider also sends a repository map of key symbols with each request.

    Its Ollama docs flag a real hazard. Ollama silently discards context beyond the window. Aider counters this by sizing the window per request, plus 8k tokens for the reply. Note that the page still cites an older 2k Ollama default.

    Maintenance is the concern. PyPI shows version 0.86.2 on February 12, 2026. The prior release was August 13, 2025.

    Best for: Git-native pair programming with models that struggle at function calling.

    7. Codex CLI

    Codex CLI is Apache-2.0 and ships 2 built-in local providers. The source code defines ollama on port 11434 and lmstudio on port 1234. Per Ollama’s Codex page, codex --oss defaults to gpt-oss:20b. The -m flag selects another model.

    There is one hard constraint. Codex now speaks only the Responses API at /v1/responses. The source rejects wire_api = "chat" and points to this discussion. Your local server must expose that endpoint.

    The repo includes dedicated sandbox crates for Linux and Windows.

    Best for: Teams standardized on gpt-oss who want built-in sandboxing.

    8. Qwen Code

    Qwen Code’s README lists OpenAI, Anthropic, Gemini, and Qwen protocols. It names Ollama and vLLM for local models. The project began from Google Gemini CLI v0.8.2. It stopped syncing upstream at v0.1. The npm install requires Node.js 22 or newer.

    Best for: Pairing open-weight Qwen models with a harness tuned by the same lab.

    9. Kilo Code

    Kilo’s README states that the Kilo CLI is a fork of OpenCode. Kilo says it started as a Roo fork in 2025. It shipped a rebuilt VS Code extension on April 2, 2026. Its local model docs cover Ollama, LM Studio, and Atomic Chat. The same page warns that local models often lack prompt caching and computer use.

    Best for: Former Roo Code users who want a maintained path with local support.

    10. Hermes Agent

    Hermes Agent from Nous Research is a general-purpose agent, not a coding tool. Its README describes a learning loop that creates skills from experience. Ollama says it ships with 70+ skills and cross-session memory. Setup points Hermes at http://127.0.0.1:11434/v1, and context length can auto-detect. Messaging gateways include Telegram, Discord, Slack, WhatsApp, Signal, and Email.

    Best for: A persistent personal agent running on local models.

    11. OpenClaw

    OpenClaw is the most-starred project in this guide. Ollama describes it as a personal assistant that bridges messaging services to AI agents through a central gateway. For local models, Ollama recommends at least a 64k context window. First launch shows a security notice explaining the risks of tool access. Take it seriously. This harness connects to your messaging accounts.

    Best for: Messaging-first assistants, for users prepared to manage the security surface.

    Key Takeaways

    • OpenCode documents the most local paths among coding harnesses: Ollama, LM Studio, and llama.cpp.
    • Set context to 64,000 tokens before blaming the harness or the model.
    • Pi’s 4-tool design suits small models, but it needs a sandbox you provide.
    • Codex CLI works locally only through servers exposing the Responses API.
    • Check licenses per component: Crush is FSL, and Cline’s JetBrains plugin is closed.


    Asif Razzaq is the CEO of Marktechpost AI Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.






    Previous articleAlibaba Qwen Releases Qwen3.8-Omni-Flash: A 1M-Context Omni-Modal Model Built Around Agentic Audio-Video Understanding and Tool Use





























    Get AI Dev Signals

    The newsletter 50,000+ AI builders read. Model releases, tools and research, without the hype.




    agent Harnesses LLMs local OpenSource
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Alibaba Qwen Releases Qwen3.8-Omni-Flash: A 1M-Context Omni-Modal Model Built Around Agentic Audio-Video Understanding and Tool Use

    ‘A man threatened to shoot me’: the abuse pushing UK councillors out of politics | Local politics

    Salesforce Agentforce: Bridging the Enterprise AI Gap from ‘Vibe Coding’ to Battle-Tested Orchestration

    Microsoft Open-Sources TauGrid: A Kubernetes-Native Stack for GPU AI Workloads

    Anthropic Launches Claude Code Projects in Beta: Parallel Cloud Sessions That Keep Running After You Close Your Laptop

    Claude Code’s revised projects adds AI orchestration, but local developers must wait

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    China, Not Iran, Is Trump’s Real Foreign-Policy Debacle

    September 18, 2026

    Illegal mining in Niger state: 37 suspects die in Nigerian custody

    September 18, 2026

    Warm words on Canada’s EU ‘associate membership’ but no guarantees

    September 18, 2026

    Joining the dots between big AI

    September 18, 2026
    Latest Posts

    ADNOC, SLB roll out AI-powered tool across over 120 rigs to enhance drilling ops

    August 4, 2026

    Mining threat persists in Raja Ampat, Indonesia’s ‘Amazon of the Seas’

    August 4, 2026

    Smoke Streams Across Eastern Washington

    August 4, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    China, Not Iran, Is Trump’s Real Foreign-Policy Debacle

    September 18, 2026

    Illegal mining in Niger state: 37 suspects die in Nigerian custody

    September 18, 2026

    Warm words on Canada’s EU ‘associate membership’ but no guarantees

    September 18, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.