Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
O

opencode

> AI 编程
开源

A powerful AI coding agent. Built for the terminal.

195.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Archived: Project has Moved This repository is no longer maintained and has been archived for provenance. The project has continued under the name [Crush][crush], developed by the original author and the Charm team. Please follow [Crush][crush] for ongoing development. [crush]: https://github.com/charmbracelet/crush ⌬ OpenCode <p align="center"><img src="https://github.com/user-attachments/assets/9ae61ef6-70e5-4876-bc45-5bcb4e52c714" width="800"></p> > **⚠️ Early Development Notice:** This project is in early development and is not yet ready for production use. Features may change, break, or be incomplete. Use at your own risk. A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal. Overview OpenCode is a Go-based CLI application that brings AI assistance to your terminal. It provides a TUI (Terminal User Interface) for interacting with various AI models to help with coding tasks, debugging, and more. <p>For a quick video overview, check out <a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="25" src="https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg"> OpenCode + Gemini 2.5 Pro: BYE Claude Code! I'm SWITCHING To the FASTEST AI Coder!</a></p> <a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="550" src="https://i3.ytimg.com/vi/P8luPmEa1QI/maxresdefault.jpg"></a><p> Features - **Interactive TUI**: Built with Bubble Tea for a smooth terminal experience - **Multiple AI Providers**: Support for OpenAI, Anthropic Claude, Google Gemini, AWS Bedrock, Groq, Azure OpenAI, and OpenRouter - **Session Management**: Save and manage multiple conversation sessions - **Tool Integration**: AI can execute commands, search files, and modify code - **Vim-like Editor**: Integrated editor with text input capabilities - **Persistent Storage**: SQLite database for storing conversations and sessions - **LSP Integration**: Language Server Protocol support for code intelligence - **File Change Tracking**: Track and visualize file changes during sessions - **External Editor Support**: Open your preferred editor for composing messages - **Named Arguments for Custom Commands**: Create powerful custom commands with multiple named placeholders Installation Using the Install Script Using Homebrew (macOS and Linux) Using AUR (Arch Linux) Using Go Configuration OpenCode looks for configuration in the following locations: - `$HOME/.opencode.json` - `$XDG_CONFIG_HOME/opencode/.opencode.json` - `./.opencode.json` (local directory) Auto Compact Feature OpenCode includes an auto compact feature that automatically summarizes your conversation when it approaches the model's context window limit. When enabled (default setting), this feature: - Monitors token usage during your conversation - Automatically triggers summarization when usage reaches 95% of the model's context window - Creates a new session with the summary, allowing you to continue your work without losing context - Helps prevent "out of context" errors that can occur with long conversations You can enable or disable this feature in your configuration file: Environment Variables You can configure OpenCode using environment variables: | Environment Variable | Purpose | | -------------------------- | -------------------------------------------------------------------------------- | | `ANTHROPIC_API_KEY` | For Claude models | | `OPENAI_API_KEY` | For OpenAI models | | `GEMINI_API_KEY` | For Google Gemini models | | `GITHUB_TOKEN` | For Github Copilot models (see Using Github Copilot) | | `VERTEXAI_PROJECT` | For Google Cloud VertexAI (Gemini) | | `VERTEXAI_LOCATION` | For Google Cloud VertexAI (Gemini) | | `GROQ_API_KEY` | For Groq models | | `AWS_ACCESS_KEY_ID` | For AWS Bedrock (Claude) | | `AWS_SECRET_ACCESS_KEY` | For AWS Bedrock (Claude) | | `AWS_R

核心特点

  • •Archived: Project has Moved
  • •This repository is no longer maintained and has been archived for provenance.
  • •The project has continued under the name [Crush][crush], developed by the original author and the Charm team.
  • •Please follow [Crush][crush] for ongoing development.
  • •[crush]: https://github.com/charmbracelet/crush
  • •⌬ OpenCode
  • •<p align="center"><img src="https://github.com/user-attachments/assets/9ae61ef6-70e5-4876-bc45-5bcb4e52c714" width="800"></p>
  • •A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.

> 标签

Goaiclaudecodellm

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年8月9日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
AI 编程助手,上下文感知代码补全
C
Cursor
面向 AI 结对编程的代码编辑器
S
skills
Skills for Real Engineers. Straight from my .agents directory.
Baike.dev

baike.dev helps you discover great languages, frameworks, databases, DevOps and cloud-native tools.

Quick links

  • Home
  • All tools
  • Trending
  • Open source

About

  • About us
  • Community
  • News

Contribute

Found a great developer tool? Share it with the community.

Submit a tool
© 2026 baike.dev Developer EncyclopediaUpdated daily · Discover great developer tools