Comparison
gemini-cli vs SWE-agent
Verdict
Pick gemini-cli if gemini CLI is an open-source AI agent software that facilitates interaction with Gemini's AI capabilities via a command-line interface in terminal environments. It supports multiple installation methods including npx,npm; pick SWE-agent if critical Facts for SWE-agent.
Markdown twin · gemini-cli alternatives · SWE-agent alternatives
GraphCanon updated 2d
Trust & integrity
| Signal | gemini-cli | SWE-agent |
|---|---|---|
| Maintenance | Very active (0d since push) As of 2d · github_public_v1 | Very active (1d since push) As of 2d · github_public_v1 |
| Provenance | Not a fork · Organization account As of 2d · github_public_v1 | Not a fork · Organization account As of 2d · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | No lockfile (source not queried) As of 1mo · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- gemini-cli
- An open-source AI agent that brings the power of Gemini directly into your terminal.
- SWE-agent
- Automatically fixes GitHub issues using a chosen language model
Stars
- gemini-cli
- 107k
- SWE-agent
- 20k
Forks
- gemini-cli
- 14k
- SWE-agent
- 2.2k
Open issues
- gemini-cli
- 782
- SWE-agent
- 82
Language
- gemini-cli
- TypeScript
- SWE-agent
- Python
Adopt for
- gemini-cli
- Gemini CLI is an open-source AI agent software that facilitates interaction with Gemini's AI capabilities via a command-line interface in terminal environments. It supports multiple installation methods including npx,npm
- SWE-agent
- Critical Facts for SWE-agent
Persona
- gemini-cli
- -
- SWE-agent
- -
Runtime
- gemini-cli
- -
- SWE-agent
- -
License
- gemini-cli
- Apache-2.0
- SWE-agent
- MIT
Last pushed
- gemini-cli
- Aug 19, 2026
- SWE-agent
- Aug 17, 2026
Categories
- gemini-cli
- AI Agents
- SWE-agent
- AI Agents, Developer Tools
Trust and health
Days since push
- gemini-cli
- 0d
- SWE-agent
- 1d
Open issues (now)
- gemini-cli
- 782
- SWE-agent
- 82
Stars delta
- gemini-cli
- +493 (30d)
- SWE-agent
- +227 (30d)
Open issues delta
- gemini-cli
- -600 (30d)
- SWE-agent
- +39 (30d)
Full report
- gemini-cli
- Trust report
- SWE-agent
- Trust report
Typed relationship
Choose gemini-cli if…
- gemini-cli is primarily TypeScript; SWE-agent is Python.
- License: gemini-cli is Apache-2.0, SWE-agent is MIT.
- SWE-agent自动处理GitHub问题并使用选定的语言模型尝试解决这些问题,而gemini-cli则通过终端接口提供AI模型的轻量级访问,并支持如Google搜索和壳命令执行等内置工具。两者都作为自动化AI代理工作,但专注于不同的功能集,因此它们具有替代关系。
- Tags unique to gemini-cli: ai-agents, cli, gemini-api, mcp-client.
- gemini-cli ships Docker support for self-hosted deployment.
- gemini-cli ships an MCP server manifest.
- Use gemini-cli when you need to access and interact with Gemini's AI features through a terminal for automation or scripting purposes.
When NOT to use gemini-cli
- Avoid using gemini-cli if you are looking for a graphical user interface (GUI) to interact with Gemini's AI services, as this tool is exclusively designed for terminal use.
- Do not select gemini-cli if your primary workflow does not benefit from the use of command-line interfaces and you prefer GUI-based tools.
Choose SWE-agent if…
- SWE-agent is primarily Python; gemini-cli is TypeScript.
- License: SWE-agent is MIT, gemini-cli is Apache-2.0.
- SWE-agent自动处理GitHub问题并使用选定的语言模型尝试解决这些问题,而gemini-cli则通过终端接口提供AI模型的轻量级访问,并支持如Google搜索和壳命令执行等内置工具。两者都作为自动化AI代理工作,但专注于不同的功能集,因此它们具有替代关系。
- Tags unique to SWE-agent: agent, agent-based-model, ai, cybersecurity.
- Also covers Developer Tools.
- You need to automatically fix GitHub issues using a selected language model and want the flexibility of defining which model powers the agent's responses.
When NOT to use SWE-agent
- If you prefer using a single fixed model for all issues without the option to select different language models based on the task's requirements.
- For projects that require deep domain-specific knowledge beyond general coding tasks or where human judgment plays an essential role.
- In scenarios where security standards are extremely stringent and automated systems, especially those that leverage external data for training like LLMs, may not meet compliance requirements.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (google-gemini/gemini-cli) · observed Aug 19, 2026
- GitHub forks (google-gemini/gemini-cli) · observed Aug 19, 2026
- Last push (google-gemini/gemini-cli) · observed Aug 19, 2026
- License file (Apache-2.0) · observed Aug 19, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (SWE-agent/SWE-agent) · observed Aug 19, 2026
- GitHub forks (SWE-agent/SWE-agent) · observed Aug 19, 2026
- Last push (SWE-agent/SWE-agent) · observed Aug 17, 2026
- License file (MIT) · observed Aug 19, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: gemini-cli 107k · SWE-agent 20k (synced Aug 19, 2026).
Common questions
- What is the difference between gemini-cli and SWE-agent?
- gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal.. SWE-agent: Automatically fixes GitHub issues using a chosen language model. See the comparison table for live GitHub stats and shared categories.
- When should I choose gemini-cli over SWE-agent?
- Choose gemini-cli over SWE-agent when gemini-cli is primarily TypeScript; SWE-agent is Python; License: gemini-cli is Apache-2.0, SWE-agent is MIT; SWE-agent自动处理GitHub问题并使用选定的语言模型尝试解决这些问题,而gemini-cli则通过终端接口提供AI模型的轻量级访问,并支持如Google搜索和壳命令执行等内置工具。两者都作为自动化AI代理工作,但专注于不同的功能集,因此它们具有替代关系。; Tags unique to gemini-cli: ai-agents, cli, gemini-api, mcp-client; gemini-cli ships Docker support for self-hosted deployment; gemini-cli ships an MCP server manifest; Use gemini-cli when you need to access and interact with Gemini's AI features through a terminal for automation or scripting purposes.
- When should I choose SWE-agent over gemini-cli?
- Choose SWE-agent over gemini-cli when SWE-agent is primarily Python; gemini-cli is TypeScript; License: SWE-agent is MIT, gemini-cli is Apache-2.0; SWE-agent自动处理GitHub问题并使用选定的语言模型尝试解决这些问题,而gemini-cli则通过终端接口提供AI模型的轻量级访问,并支持如Google搜索和壳命令执行等内置工具。两者都作为自动化AI代理工作,但专注于不同的功能集,因此它们具有替代关系。; Tags unique to SWE-agent: agent, agent-based-model, ai, cybersecurity; Also covers Developer Tools; You need to automatically fix GitHub issues using a selected language model and want the flexibility of defining which model powers the agent's responses.
- When should I avoid gemini-cli?
- Avoid using gemini-cli if you are looking for a graphical user interface (GUI) to interact with Gemini's AI services, as this tool is exclusively designed for terminal use. Do not select gemini-cli if your primary workflow does not benefit from the use of command-line interfaces and you prefer GUI-based tools.
- When should I avoid SWE-agent?
- If you prefer using a single fixed model for all issues without the option to select different language models based on the task's requirements. For projects that require deep domain-specific knowledge beyond general coding tasks or where human judgment plays an essential role. In scenarios where security standards are extremely stringent and automated systems, especially those that leverage external data for training like LLMs, may not meet compliance requirements.
- Is gemini-cli or SWE-agent more popular on GitHub?
- gemini-cli has more GitHub stars (106,571 vs 20,079). Stars measure visibility, not whether either tool fits your constraints.
- Are gemini-cli and SWE-agent open source?
- Yes - both are open-source projects on GitHub (gemini-cli: Apache-2.0, SWE-agent: MIT).
- Where can I find alternatives to gemini-cli or SWE-agent?
- GraphCanon lists graph-backed alternatives at gemini-cli alternatives and SWE-agent alternatives (gemini-cli markdown twin, SWE-agent markdown twin), ranked by typed relationship edges rather than popularity votes.
- Is there a machine-readable version of this comparison?
- Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, gemini-cli or SWE-agent?
- gemini-cli: Very active. SWE-agent: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
- Where are the full trust reports for gemini-cli and SWE-agent?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: gemini-cli trust report; SWE-agent trust report.