- #125
Opencode: A Command-Line Tool That Connects All AI
Compared to Cursor or Windsurf, the latest trend is the rise of lightweight command-line tools that let developers seamlessly integrate AI into their workflows—such as Claude Code 、Gemini CLI and Codex.
The problem is that new and more powerful models keep emerging:
- Each vendor is unlikely to support competitors or local models.
- Switching between models and adjusting configurations often feels fragmented.
- As models continue to evolve, their performance gaps will narrow and costs will drop—making vendor independence increasingly crucial.
That’s where Opencode comes in as a great solution:
- 100% open source under the MIT license
- Vendor-agnostic by design
- Built-in support for LSP (Language Server Protocol)
- Focused on the terminal user interface (TUI) — created by Neovim users and the creator of terminal.shop
Before installing, you’ll need a modern Terminal Emulator for the best experience (I’m using Warp)。Then, set up your models using opencode auth login. There’s a full doc page detailing how to configure each model provider.
Among the available options, Opencode Zen is a curated set of models tested and optimized by the Opencode team in direct collaboration with the developers of those models. This list represents the most reliable and fine-tuned options. Some models, such as Grok Code Fast 1 and Code Supernova, are released for free as part of Opencode’s testing program.
Opencode also includes features found in other CLIs:
Further Reading
- #124
- #123
- #122
- #121
- #120
- #119
- #118
- #117
- #116
- #115
- #114
- #113
- #112
- #111
- #110
- #109
- #108
- #107
- #106
- #105
- #104
- #103
- #102
- #101
- #100
- #99
- #98
- #97
- #96
- #95
- #94
- #93
- #92
- #91
- #90
- #89
- #88
- #87
- #86
- #85
- #84
- #83
- #82
- #81
- #80
- #79
- #78
- #77
- #76
- #75
- #74
- #73
- #72
- #71
- #70
- #69
- #68
- #67
- #66
- #65
- #64
- #63
- #62
- #61
- #60
- #59
- #58
- #57
- #56
- #55
- #54
- #53
- #52
- #51
- #50
- #49
- #48
- #47
- #46
- #45
- #44
- #43
- #42
- #41
- #40
- #39
- #38
- #37
- #36
- #35
- #34
- #33
- #32
- #31
- #30
- #29
- #28
- #27
- #26
- #25
- #24
- #23
- #22
- #21
- #20
- #19
- #18
- #17
- #16
- #15
- #14
- #13
- #12
- #11
- #10
- #9
- #8
- #7
- #6
- #5
- #4
- #3
- #2
- #1