Best open-source AI agent to self-host and inspect
Short answer: Hermes Agent scores highest in our provisional ranking: MIT-licensed, free to run, with persistent memory, scheduled tasks and sub-agents; you bring your own model provider. OpenClaw (MIT, chat-app first) and Dify (open-source visual builder, free Community Edition) follow, with the open-source Codex CLI and n8n close behind. Note that n8n uses a fair-code licence rather than an OSI-approved one, and the OpenAI, Anthropic or Google models these agents call are not open. Scores are editorial estimates.
An agent I can self-host and inspect.
Scores are provisional editorial estimates: price and free-tier scores are read from each tool's official pricing page on the date shown; quality, ease and trust come from the vendors' own docs and product pages. No hands-on tests were run for this page.
The ranking
- #1
Hermes AgentMIT licence; memory, scheduled tasks and sub-agents; you pay only your model provider.
Score breakdown (provisional)
73/100 · provisional - #2
OpenClawMIT licence; runs on your machine and answers from WhatsApp or Telegram; no hosted tier.
Score breakdown (provisional)
72/100 · provisional - #3
DifyOpen-source visual builder; free Community Edition, cloud from $59/mo.
Score breakdown (provisional)
72/100 · provisional - #4
OpenAI CodexOpenAI's coding agent for the CLI, IDE, web and desktop app; included in ChatGPT plans.
Score breakdown (provisional)
72/100 · provisional - #5
n8nOpen-source workflow automation and AI agents; self-host or cloud.
Score breakdown (provisional)
71/100 · provisional - #6
KortixOpen-source AI operating system: agents with their own cloud computer, skills and company memory in one git repo.
Score breakdown (provisional)
61/100 · provisional
Related pages
FAQ
Is open source free to run?
The agent software is free, but it calls a model. Hermes Agent, OpenClaw and Kortix let you bring your own API key (OpenAI, Anthropic, Google or a local model), so you pay the provider per use. Dify and n8n also sell hosted plans if you would rather not run a server. Budget for model usage before you commit.
Why is Jules not on this list?
Jules, Devin, Manus and the other hosted agents publish no source code, so you cannot self-host or audit them. The Codex CLI is on the list because its command-line client is open source on GitHub, even though the models behind it are not. For hosted coding agents see our coding agent ranking.
Does anyone pay for these positions?
Rankings are built to avoid bias: no payment, commission or sponsorship changes a score or a position. Some links may become affiliate links (marked “Affiliate link”, rel="sponsored"). No affiliate links are active yet.