
OpenCode
Open-source AI coding agent for terminal, desktop, and IDEs—plans changes, edits code, and can run tasks in GitHub via comments.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for OpenCode, derived from its capabilities.
Overview
OpenCode is an open-source AI coding agent designed to help developers plan, implement, and refactor code from a terminal-first workflow, with options to use it as a desktop app or IDE extension. It can connect to multiple model providers (or use included free models), apply changes across a codebase, and support common developer flows like asking questions, adding features, making edits, and undoing changes. OpenCode also integrates with GitHub workflows: you can mention a command in issues or pull requests to have it execute tasks inside a GitHub Actions runner.
Key features
- terminal ui
- ide extension
- desktop app
- code refactoring
- multi-file edits
- github actions
- ci automation
- model providers
Use cases
- Planning and implementing features directly from a terminal-based coding workflow.
- Refactoring and updating multi-file codebases with agentic change execution.
- Connecting your preferred LLM provider for coding help (or using included free models).
- Running repository tasks from GitHub issues/PRs by triggering OpenCode in CI via comments.