OpenCode is a terminal-based AI assistant designed for developers, currently in early development. Built with Go, it features a Terminal User Interface (TUI) and supports various AI models, including those from OpenAI and Google Gemini. Key functionalities include session management, a Vim-like editor, integration with Language Server Protocol (LSP) for code intelligence, and persistent storage via SQLite. Users can run commands, search files, and modify code directly from the terminal. The app automates conversation summaries to prevent context loss and supports custom commands through Markdown files. Installation can be done via scripts or package managers like Homebrew. Configuration options for AI models, shell paths, and environment variables are provided. The project encourages contributions and is open for collaboration as it evolves. Note that it is not yet production-ready, and features may change.
Source link