OpenCode

Give the Build agent a code task. It can inspect your project, edit files, run commands and use the results to continue.

Anomaly Innovations•Write code•Earliest fact checked 2026-11-15
Free to startOpen sourceNeeds self-hosting
Get started Official site We only link to official sites.

Good for: Editing a repository with a model you choose.

Not for: You need a guarantee that a cloud model won’t train on the code you send. Check the provider and model first.

What it does

Give the Build agent a code task. It can inspect your project, edit files, run commands and use the results to continue.

Checked 2026-11-15 · Source · Source 2

Good for you if…

  • Editing a repository with a model you choose.
  • Use the terminal, desktop app or web interface.

Think twice if…

  • You need a guarantee that a cloud model won’t train on the code you send. Check the provider and model first.
  • You want code suggestions without giving the app access to project operations.

How to start

  1. Follow the official install guide and open your project in OpenCode.
  2. Choose a model and select Build; give it a small, testable task.
  3. Review the changes and test results before keeping them.

Official install guide Checked 2026-11-15 · Source

Will it train AI on my code?

OpenCode says it passes prompts to the model provider and generally does not store them, with hosted agents as an exception. Check whether the selected provider and model allow training. OpenCode’s Go documentation identifies some opt-in models that improve or train on submitted prompts and responses.

Applies to OpenCode’s service and the upstream provider it calls.

From the official terms
Prompts are passed through to the upstream model provider
  • Iceman Contributor Free: Free for a limited time in exchange for permission to use your prompts and completions to improve the model. Source 2
Checked 2026-11-15 · Source · Source 2

Summary of the maker’s terms as checked on 2026-11-15. Always read the official terms; this is not legal advice.