Alternatives / Amp

9 open-source alternatives

9 Best Open Source Amp Alternatives in 2026

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.

Maxime DERAME's profile

Written by Maxime DERAME

Last updated:

Best Amp alternatives at a glance

AlternativeBest forLicense
OpenCodeFlexible terminal, desktop, and IDE agentMIT
piMinimal extensible terminal agentMIT
OpenHandsAutonomous agents that open PRsMIT core / Enterprise components
ClineVS Code agent with Plan and ActApache-2.0
AiderTerminal pair programmerApache-2.0
Grok BuildTerminal agent for Grok modelsApache-2.0
KiloAgent for many IDEsMIT
ForgecodeZSH-native multi-agentApache-2.0
ZeroGo single-binary agent with sandboxingMIT

How we chose these Amp alternatives

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.

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.

Terminal agents

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.

Important: limits

Grok Build is tied to Grok models. Aider's last commit was in May 2026, and OpenCode's desktop app is beta.

License details

OpenCode, pi, Kilo, and Zero are MIT. OpenHands core is MIT. Cline, Aider, Grok Build, and Forgecode are Apache-2.0.

Maintenance status

Most had commits within days or weeks of this update.

Why look for a Amp alternative?

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.

opencode.ai
1

OpenCode

Open-source multi-provider coding agent for terminal and desktop

MIT AI coding agent for terminals, desktop apps, and development environments. Supports many cloud and local model providers, codebase understanding, LSP, tools, permissions, sessions, custom commands, MCP, and agent workflows.

219.5K29.3KMITSelf-hosted

Pricing: Open-source client; model API or provider subscription costs may apply.

  • Terminal and desktop workflows with IDE integrations
  • Many model providers, including local models
  • LSP, MCP, tools, permissions, sessions, and custom commands
  • Powerful tool permissions require careful configuration
  • Terminal-first approach may not suit every developer
  • Rapidly changing feature set and external APIs for some providers
pi.dev
2

pi

Minimal extensible terminal coding agent

MIT terminal coding agent with a deliberately small core that developers can extend through TypeScript. Extensions can add tools, commands, keyboard shortcuts, UI, editors, behaviors, and integrations; the agent supports multiple providers, local models, skills, prompt templates, tree-structured sessions, RPC, and scripted modes.

116.9K14.9KMITSelf-hosted

Pricing: Open-source agent; model provider usage is separate.

  • Minimal core designed for extensibility
  • Multiple providers and local model support
  • TypeScript extensions, skills, templates, interactive and scripted modes
  • More configuration-oriented and less turnkey
  • Less opinionated out of the box
  • Developers seeking a complete IDE UX may prefer Cline or Kilo
openhands.dev
3

OpenHands

Autonomous software engineering agents in isolated environments

MIT-core software engineering agent platform for tasks that require repository inspection, file changes, command execution, testing, debugging, and integration with issue trackers and source-control platforms. Provides Docker and Kubernetes environments, web UI, CLI, SDK, GitHub and GitLab integration, and multi-agent capabilities; Enterprise components are separately licensed.

91.5K12.1KMIT core / Enterprise componentsSelf-hosted

Pricing: Open-source core with separately licensed Enterprise functionality and hosted options.

  • Autonomous coding in isolated Docker or Kubernetes environments
  • Web UI, CLI, SDK, GitHub/GitLab, and issue-driven workflows
  • Multi-agent support and self-hosting
  • Heavier infrastructure than terminal agents
  • Enterprise functionality is separately licensed
  • Autonomous operation needs carefully scoped permissions
cline.bot
4

Cline

Open-source VS Code and CLI coding agent

Apache-2.0 coding agent for VS Code and command line. It can read and edit files, execute terminal commands, use browsers, run tests, and perform multi-step tasks with a choice of model providers or local models. Includes Plan/Act workflows, MCP, custom rules, and CI/CD usage.

70.7K7.7KApache-2.0Self-hosted

Pricing: Open-source client; model API usage is separate.

  • Strong VS Code integration and CLI
  • Multi-file edits, terminal execution, browser control, and tests
  • Bring-your-own model, local models, MCP, and custom rules
  • Agent workflows can consume significant tokens
  • VS Code remains its strongest environment
  • Autonomous operation requires careful permission settings
aider.chat
5

Aider

Git-native terminal pair programmer for multi-file changes

Apache-2.0 terminal pair-programming tool that works in existing Git repositories. Coordinates multi-file edits, integrates changes with Git, and can run lint and test commands. Supports many model providers, repository maps, editor-independent workflows, and voice input.

49.7K5.1KApache-2.0Self-hosted

Pricing: Open-source client; model API usage is separate.

  • Works directly in Git repositories and can commit changes
  • Multi-file edits, repository maps, lint, and test integration
  • Many model providers and editor-independent terminal workflow
  • Less visual than IDE agents
  • Primarily conversational rather than multi-agent
  • Recent development activity is lower than some newer tools
kilocode.ai
6

Kilo

Multi-model coding agent for VS Code, JetBrains, and CLI

MIT agentic coding platform for VS Code, JetBrains IDEs, and the command line. Supports more than 500 model options, bring-your-own API keys, local models, coding, debugging, planning, and codebase Q&A modes, an MCP marketplace, autonomous CI/CD, and mid-task model switching.

27.7K3.3KMITSelf-hosted

Pricing: Open-source tooling; model API usage and optional cloud features are separate.

  • VS Code, JetBrains, and CLI support
  • 500+ model options, BYOK, local models, and model switching
  • Coding, architect, debug, MCP, and CI/CD workflows
  • Large feature set can be complex
  • Cloud features add another layer beyond local development
  • Product changes rapidly
github.com
7

Grok Build

Terminal coding agent for the full development lifecycle

Apache-2.0 terminal agent that can plan changes, edit code, run tests, commit to Git, and use parallel subagents. Also supports worktrees, skills, plugins, MCP, hooks, sandboxed execution, headless CI/CD, web search, and project memory.

27.5K5.2KApache-2.0Self-hosted

Pricing: Open-source agent; model access may require provider credentials.

  • Plan, edit, test, and commit workflows with parallel subagents
  • Git worktrees, skills, plugins, MCP, and hooks
  • Sandboxed and headless CI/CD operation
  • Newer project with developing ecosystem
  • Strong Grok branding and positioning
  • Provider access may depend on external APIs
forgecode.dev
8

Forgecode

Terminal-native multi-agent coding harness with model mixing

Apache-2.0 terminal coding harness using specialized agents for development tasks and aiming to minimize unnecessary model context. Supports model selection for planning, coding, and analysis, skills, and a broad set of LLM providers.

7.6K1.5KApache-2.0Self-hosted

Pricing: Open-source harness; model provider costs are separate.

  • Terminal-native multi-agent architecture
  • Mix models across planning, coding, and analysis
  • Skills and broad LLM provider support
  • Smaller community than OpenCode or Cline
  • Terminal workflow is more technical
  • Newer ecosystem
zero.gitlawb.com
9

Zero

Configurable terminal coding agent with model choice and permissions.

Zero can inspect repositories, edit files, run commands, and complete development tasks while giving developers control over models and agent permissions.

1.7K204MITSelf-hosted

Pricing: Open source; model-provider costs may apply.

  • Terminal-first workflow
  • Repository awareness
  • Configurable permissions
  • Younger project
  • Smaller community and ecosystem

Compare Amp alternatives

AlternativeTypeLicenseSelf-hostedBest for
OpenCodeCoding agentMITLocalProvider flexibility
piCoding agentMITLocalCustomizing the agent
OpenHandsCoding agentMIT (core)YesTeam automation
ClineCoding agentApache-2.0LocalIDE users
AiderCoding agentApache-2.0Local CLIGit-based editing
Grok BuildCoding agentApache-2.0Local CLIGrok users
KiloCoding agentMITLocalMany models
ForgecodeCoding agentApache-2.0Local CLIZSH users
ZeroCoding agentMITLocalSecurity-minded users

Which one should you choose?

Want the most flexible agent

OpenCode supports 75+ providers and parallel agents.

OpenCode

Want a minimal agent to customize

pi is a lean terminal agent extended through TypeScript.

pi

Want autonomous pull requests

OpenHands takes issues through to pull requests.

OpenHands