
opencode
The open source coding agent.
The Lens
opencode is an open-source coding agent that runs in your terminal as a TUI. Built by the terminal.shop team, it ships with two agents (build for full access, plan for read-only) and works with Claude, OpenAI, Google, or local models. MIT licensed, no provider lock-in.
Setup is a one-line install via bash, brew, or your package manager of choice. A client/server split lets you run the agent on a remote box and connect from any machine. LSP support is built in. The desktop app is still in beta if you'd rather not live in the terminal.
Solo developers and small teams get the best deal. You bring your own model API key, you keep the data local, and you can switch providers without changing tools. Teams already paying for Cursor or Copilot don't need this. Use it if you want one open agent across every model you touch.
The catch: you manage your own model accounts and bills. No integrated subscription, no SSO, no team policy yet. If finance wants one invoice and security wants one audit log, this isn't there.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
Free vs Self-Hosted vs Paid
fully free**Free tier:** Everything. The agent itself is MIT licensed. You install it and use it.
**Self-hosted:** N/A. There's no service to host. The agent runs locally and connects to whichever model API you point it at.
**Paid:** OpenCode Zen offers managed model access at standard rates if you don't want to manage your own provider keys. Otherwise you pay your model provider directly (Claude $3-15/M tokens, OpenAI $2.50-10/M, etc.).
Free tool. You only pay your chosen model provider's API bill.
Similar Tools

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.

aider is AI pair programming in your terminal

Your favorite Terminal Coding Agent, now in Rust & a Breakdown of the Claude Code leak & discoveries
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: ✓ Yes
About
- Owner
- Anomaly (Organization)
- Stars
- 154,005
- Forks
- 17,825
Explore Further
More tools in the directory
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
367.9k ★claw-code
The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex.
189.7k ★n8n
Fair-code workflow automation with native AI capabilities
186.6k ★