Leading agents
OpenCode is a terminal, desktop, and IDE agent with 75+ providers and built-in LSP. OpenHands runs autonomous agents that open pull requests in Docker or Kubernetes, and Cline works in VS Code and the CLI with Plan and Act modes.
Alternatives / Amp
Looking for an open source Amp alternative? We compared 9 open source AI coding agents by license, models, and maintenance. OpenCode, OpenHands, and Cline lead, while pi and Zero are minimal terminal agents and Grok Build is tied to Grok models.
Written by Maxime DERAME
Last updated:
| Alternative | Best for | License |
|---|---|---|
| OpenCode | Flexible terminal, desktop, and IDE agent | MIT |
| pi | Minimal extensible terminal agent | MIT |
| OpenHands | Autonomous agents that open PRs | MIT core / Enterprise components |
| Cline | VS Code agent with Plan and Act | Apache-2.0 |
| Aider | Terminal pair programmer | Apache-2.0 |
| Grok Build | Terminal agent for Grok models | Apache-2.0 |
| Kilo | Agent for many IDEs | MIT |
| Forgecode | ZSH-native multi-agent | Apache-2.0 |
| Zero | Go single-binary agent with sandboxing | MIT |
We looked for open-source coding agents that work in a terminal or IDE like Amp. We verified each project's license, recent activity, stars, and self-hosting in its repository. See our methodology for the full criteria.
OpenCode is a terminal, desktop, and IDE agent with 75+ providers and built-in LSP. OpenHands runs autonomous agents that open pull requests in Docker or Kubernetes, and Cline works in VS Code and the CLI with Plan and Act modes.
Aider is a terminal pair programmer with Git-aware commits. pi is a minimal terminal agent extended through TypeScript, Forgecode is a ZSH-native agent that mixes models, and Zero is a Go-based single-binary agent with sandboxing and no telemetry. Kilo covers VS Code, JetBrains, and the CLI.
Grok Build is tied to Grok models. Aider's last commit was in May 2026, and OpenCode's desktop app is beta.
OpenCode, pi, Kilo, and Zero are MIT. OpenHands core is MIT. Cline, Aider, Grok Build, and Forgecode are Apache-2.0.
Most had commits within days or weeks of this update.
Amp is a proprietary agent billed by usage. Open-source agents let you choose models and keep code on your machine, but you manage API keys and costs.
| Alternative | Type | License | Self-hosted | Best for |
|---|---|---|---|---|
| OpenCode | Coding agent | MIT | Local | Provider flexibility |
| pi | Coding agent | MIT | Local | Customizing the agent |
| OpenHands | Coding agent | MIT (core) | Yes | Team automation |
| Cline | Coding agent | Apache-2.0 | Local | IDE users |
| Aider | Coding agent | Apache-2.0 | Local CLI | Git-based editing |
| Grok Build | Coding agent | Apache-2.0 | Local CLI | Grok users |
| Kilo | Coding agent | MIT | Local | Many models |
| Forgecode | Coding agent | Apache-2.0 | Local CLI | ZSH users |
| Zero | Coding agent | MIT | Local | Security-minded users |
Want the most flexible agent
OpenCode supports 75+ providers and parallel agents.
Want a minimal agent to customize
pi is a lean terminal agent extended through TypeScript.
Want autonomous pull requests
OpenHands takes issues through to pull requests.