qmetrics.net

Best Open-Source Alternatives to Gemini

Gemini by Google is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Gemini is Hermes Agent, with 266.6k GitHub stars. Other open-source alternatives to Gemini are Open WebUI, AnythingLLM, Cherry Studio and LocalAI (5 more below). Most Gemini alternatives here are AI Development Platforms tools, some are Machine Learning Infrastructure. None of these projects names Gemini itself, but each does the same job; its own description is shown under it.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Also does the same job as Gemini

These projects don't call themselves a Gemini alternative, but two independent checks of their own description found they do the same main job.

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

★ 266.6k⟳ todayMIT
Open Source Alternative to:Anthropic ClaudeChatGPTClaude Code+4
“The official Hermes Agent from Nous Research. A free, open-source AI agent with memory and skills. Download for Mac, Windows or Linux.”

Open WebUI

Self-hosted AI interface for Ollama and OpenAI-compatible models

Open WebUI is a self-hosted AI platform that runs offline and connects to local models through Ollama or to cloud models through OpenAI-compatible APIs. It can be extended with Python.

★ 159.7k⟳ 3 days agoBSD-3-Clause
Open Source Alternative to:Anthropic ClaudeChatGPTChatGPT Enterprise+3
“Open WebUI is a home for AI : an extensible, easy-to-use, self-hosted platform built to run entirely offline.”

AnythingLLM

All-in-one private AI app for chatting with documents and running agents

AnythingLLM is an AI application for chatting with your documents and using AI agents, connecting to local or cloud LLMs. It runs as a desktop app or a self-hosted multi-user Docker deployment.

★ 68.7k⟳ 3 days agoMIT
Open Source Alternative to:Anthropic ClaudeGeminiLM Studio+3
“A free, private AI assistant that runs on your device. No accounts, no API keys, no token limits.”

Cherry Studio

Desktop AI workstation for chat, agents, knowledge bases and images

Cherry Studio is a desktop AI client for Windows, macOS and Linux. It combines chat with many models, agents, local knowledge bases, image generation and translation in one app, with data kept on your device.

★ 53.9k⟳ todayAGPL-3.0
Open Source Alternative to:Anthropic ClaudeGeminiLM Studio
“Open-source AI desktop client for Mac, Windows and Linux. Run frontier models from DeepSeek, Qwen, GLM and more, with your data stored locally.”

LocalAI

Self-hosted OpenAI-compatible server for running open AI models locally

LocalAI runs open models for chat, images, speech, video and music on your own hardware, with OpenAI- and Anthropic-compatible APIs. It works on CPU or GPU and adds team chats, files, agents and add-ons.

★ 50.6k⟳ todayMIT
Open Source Alternative to:Anthropic APIChatGPTGemini+1
“Run open models for chat, images, speech and video on your own machines. Your team gets chats, files and documents on top, and the assistant can write and run code.”

nanobot

Lightweight self-hosted personal AI agent with WebUI, terminal UI and chat apps

Self-hosted personal AI agent written in Python. You talk to it from a browser, terminal or chat apps to work with files, use tools, keep memory and run scheduled tasks, using cloud or local models.

★ 50.4k⟳ todayMIT
Open Source Alternative to:Anthropic ClaudeGemini
“Chat with it from your browser, terminal, or favorite chat app to work with files, remember preferences, use tools, and run scheduled tasks—powered by any supported cloud or local AI model.”

TextGen

Local desktop chat and API for language models

Desktop application to run local LLMs with chat, vision, tools, and an OpenAI-compatible API without telemetry.

★ 47.8k⟳ 3 months agoAGPL-3.0
Open Source Alternative to:GeminiLM Studio
“Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.”

LibreChat

Self-hosted multi-provider AI chat platform with agents and MCP

Self-hosted AI chat platform that brings many model providers into one ChatGPT-style interface. It adds agents, MCP tools, a code interpreter, artifacts, web search, conversation search and multi-user authentication.

★ 47.6k⟳ 8 days agoMIT
“LibreChat brings together all your AI conversations in one unified, customizable interface.”

ZeroClaw

Single-binary Rust personal AI agent runtime you run yourself

ZeroClaw is an AI agent runtime shipped as one Rust binary. It connects to many LLM providers and 30+ chat channels, acts through tools, and runs on your own machine with supervised autonomy.

★ 33.6k⟳ yesterdayApache-2.0
Open Source Alternative to:Anthropic ClaudeGemini
“A lightweight, secure personal AI agent: one Rust binary on your machine, your keys or your local models. 30+ channels, supervised by default, open source.”

NanoClaw

Self-hosted personal AI assistant running agents in isolated containers

NanoClaw is a self-hosted personal AI assistant. Each agent runs in its own Docker container and can be messaged from Slack, WhatsApp, Telegram, Discord and other chat apps, using Claude, Codex, Cursor or OpenCode.

★ 31.2k⟳ yesterdayMIT
Open Source Alternative to:Gemini
“Your own always-on AI assistant: self-hosted, open source, lightweight. Each agent runs in its own container on your machine, on the harness you choose (Claude Code, Codex, Cursor, OpenCode). Talk to it from Slack, WhatsApp, Telegram, Discord and more.”

Compare Gemini alternatives

Questions about Gemini alternatives

Is there an open-source alternative to Gemini?

Yes. 10 open-source projects can replace Gemini, for example Hermes Agent, Open WebUI and AnythingLLM. They do the same job as Gemini, as their own documentation describes.

What is the best open-source alternative to Gemini?

Hermes Agent (266.6k GitHub stars) is the most popular open-source alternative to Gemini on GitHub. To run it on your own server, look at Open WebUI, LocalAI and nanobot, which are self-hostable. The best choice depends on your needs: compare them side by side, for example Hermes Agent vs Open WebUI.

Are the open-source alternatives to Gemini free?

All of the 10 projects listed here are free to use under an open-source license, with no license fee: 8 permissive (such as MIT), 2 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Claude Cowork

Anthropic

15 open-source alternatives

Google Analytics

Google

15 open-source alternatives

ChatGPT

OpenAI

12 open-source alternatives

Google Analytics 4

Google

12 open-source alternatives

Anthropic Claude

Anthropic

11 open-source alternatives

Claude Code

Anthropic

11 open-source alternatives