contenox

Open source AI agents: the best in 2026, every license checked

Updated

COMPARE Open source AI agents

An open source AI agent is a program you can read, build and change that gives a language model tools and runs it in a loop until a task is done: it browses, edits files, runs commands, calls APIs. The ones worth running in 2026 are goose for general work on the desktop, OpenCode for code in the terminal, Hermes Agent for an assistant that lives in Telegram, Slack or email, Agent Zero for an agent with its own Linux computer, and OpenHands when you want a dashboard that runs several agents at once. Below them sit the frameworks, LangGraph, CrewAI and Microsoft’s Agent Framework, which are not agents but the parts to build one.

The license is checked for every row, because “on GitHub” and “open source” stopped meaning the same thing: n8n, AutoGPT’s platform and Dify all publish their code under terms that are not open source, and Claude Code’s public repository reserves all rights.

Open source AI agents compared

AgentLicenseWhat it’s forRuns whereModelsMaintained by
gooseApache-2.0General work: research, writing, automation, codeDesktop app (macOS, Linux, Windows), CLI, API15+ providers; Ollama; Claude, ChatGPT and Gemini plans through ACP agentsAgentic AI Foundation at the Linux Foundation; started by Block
OpenCodeMITCodingTerminal, desktop app (beta), IDE extension, web75+ providers; ChatGPT and Copilot sign-in; Ollama, LM Studio, llama.cppAnomaly Innovations
Hermes AgentMITA personal assistant with memory that learns skillsDesktop (macOS, Windows), terminal on Linux, Telegram, Discord, Slack, WhatsApp, Signal, emailAny provider; Nous Portal with 200+ modelsNous Research
Agent ZeroMITAn agent with a full Linux computer: terminal, browser, desktop appsDocker, with a desktop launcher; web UI on localhostCloud providers, ChatGPT sign-in, local modelsAgent Zero
OpenHandsMITSoftware development; Agent Canvas runs other agents tooSelf-hosted web app, CLI, Docker, cloudAny model; runs Claude Code, Codex, OpenCode, Pi and ACP agentsAll Hands AI
CodexApache-2.0CodingTerminal, IDE extension, ChatGPT desktop app, cloudOpenAI with a ChatGPT plan or key; Ollama and LM Studio with --ossOpenAI
ClineApache-2.0Coding in the editorVS Code, JetBrains, CLI, desktop appMany providers with your keys; ChatGPT sign-inCline Bot Inc.
Kilo CodeMITCoding in the editor, with a model gatewayVS Code, JetBrains, CLI, desktop app (beta), cloud500+ models through Kilo Gateway, your keys, Ollama, LM StudioAnaconda, since July 2026
PiMITA minimal coding harness you extend yourself; powers OpenClawTerminal, SDKMany providers; llama.cpp built inMario Zechner
DeepSeek HarnessMITCoding; a developer previewLocal web UI, CLI, ACPDeepSeek, plus Anthropic, OpenAI, Kimi, GLM and custom endpointsDeepSeek
AiderApache-2.0Terminal pair programming with git commits per changeTerminalMost cloud and local modelsPaul Gauthier; last release February 2026
ContenoxApache-2.0Agents that ask first, under rules you can readDesktop app (Windows first), contenox-runtime for scriptsChatGPT plan, API keys for most providers, Ollama and vLLM; hosts Claude CodeAlexander Ertli

Every row was checked against the project’s own repository or docs in November 2026. OpenHands is the most-starred on this list; goose is the one with a foundation behind it, which matters if you’re choosing for a company.

Agent or framework?

Half the “best open source AI agent” lists are really framework lists. The difference decides whether you have something to run tonight or something to build for a month.

What you getExamplesLicense
AgentA finished program: install it, give it a taskgoose, OpenCode, Hermes, Agent Zero, OpenHandsSee the table above
FrameworkThe loop, state and tool plumbing as a library; you write the agentLangGraph, CrewAI, Microsoft Agent Framework, the OpenAI Agents SDK, the Claude Agent SDKMIT (LangGraph, CrewAI, Agent Framework); SDKs under their vendors’ terms
Visual builderA canvas where agents are workflows of boxesn8n, Dify, Flowisen8n: Sustainable Use License, source-available; Dify: Apache-2.0 with added conditions; Flowise: archived

Two framework notes that change the choice: AutoGen is in maintenance mode, and Microsoft points new users to its Agent Framework. AutoGPT, the project that started the category in 2023, is now a platform under the PolyForm Shield license for its core, with MIT for the rest; it is not open source in the OSI sense.

If you want to build rather than run, the loop you’d be building is about twelve lines; what is an AI harness? shows it, and what the frameworks add on top.

Which open source AI agent should I pick?

  • General tasks on your own computer, with a window: goose. Desktop app on all three systems, 70+ MCP extensions, and a foundation rather than a startup behind it.
  • Coding in the terminal, any model: OpenCode. If you pay for ChatGPT, Codex; both are open source, and Codex has the only native Windows sandbox among them.
  • An assistant you message from your phone: Hermes Agent. It keeps memories and builds its own skills across sessions, and runs on Telegram, Discord, Slack, WhatsApp, Signal and email.
  • An agent that needs its own machine: Agent Zero. Each agent gets a Linux computer in Docker, with a browser and desktop apps you can watch or take over, and snapshots to roll back.
  • Several agents on a team dashboard: OpenHands Agent Canvas. It runs its own agent and the others, self-hosted.
  • Local models only: OpenCode, goose or Hermes, each with Ollama as a normal provider; or ollama launch opencode to skip the config. Run local LLMs for coding.
  • Something small enough to read in an evening: Pi. It has no permission prompts by design; run it in a container.
  • Rules you can read before anything runs: Contenox. Allow, ask or block per tool and per command, in a desktop app.

What open source gets you, and what it doesn’t

It gets you:

  • Code you can audit. What the agent sends, where, and which commands it may run are all in the source.
  • No lock-in to the vendor. When Roo Code was archived in May 2026, its code stayed available to fork. When Kilo Code was sold to Anaconda in July 2026, the MIT license stayed.
  • Model choice, usually. Most of these take any provider. Codex is the exception that proves it: open source, built around OpenAI.

It doesn’t get you:

  • A free model. The agent costs nothing; the tokens don’t. One month of our own use on the DeepSeek API was 23,815 requests and 7.86 billion tokens, about 330,000 tokens per request. A local model is the only free one. AI coding costs.
  • Privacy by default. Your files still go to whichever provider you pick. Only a local model keeps them on your machine.
  • No telemetry by default. Open source means you can check, not that nothing is sent. Codex sends usage metrics unless analytics.enabled = false is set in its config. Read each tool’s settings.
  • Safe defaults. goose’s default mode never asks before acting. Pi has no permission prompts at all. DeepSeek Harness asks you to read a safety notice before running it. Open code and careful defaults are different things; AI agent permissions says what to set.

The source-available trap: n8n’s Sustainable Use License, AutoGPT’s PolyForm Shield and Dify’s extra conditions all restrict what you may do with the code, usually competing with the vendor or offering it as a service. Crush uses the Functional Source License, which only turns into MIT two years after each release. Claude Code’s repository is public, but its license reserves all rights. If the license matters to you, read the file, not the README badge.

Is Claude Code open source?

No. The repository is public; the code is used under Anthropic’s commercial terms. The closest open-source agents are Codex and OpenCode. See Claude Code alternative.

Which open-source agents are no longer maintained?

  • AutoGen: maintenance mode; Microsoft Agent Framework is the successor.
  • Flowise: repository archived, end of life.
  • Roo Code: archived on 15 May 2026. Kilo Code and Cline are the usual next stops.
  • Continue: read-only after its final 2.0.0 release.
  • Rasa Open Source: maintenance mode; the commercial platform continues.
  • Aider: still works, last release February 2026.

An unmaintained agent still runs. It won’t learn new models’ tool formats or get security fixes.

Contenox

Contenox is an open-source (Apache-2.0) desktop app, built Windows-first, for working with agents that ask first. You open a project folder, pick a provider, and a policy engine decides what each tool call may do, by rules you can read in Permissions, not by a model’s judgment of its own risk. It hosts Claude Code and other ACP agents under the same rules. Download it here.

Related

Esc to close