Meet OpenCode

By (@samcodes) · · Code

OpenCode is a free, open-source AI helper that writes, edits, and runs code for you. It lives in your terminal (with desktop and editor options too) and works with almost any AI model you like.

How it works
You open OpenCode in a project folder and simply tell it what you want in plain English — “fix this bug,” “add a login page,” or “run the tests and clean up the failures.”
It looks at your files, plans the steps, makes the changes, runs commands, and checks the results. If something goes wrong, it tries to fix it. You stay in control the whole time.
It can use cloud models (Claude, GPT, Gemini, and many more) or models running on your own computer. The tool itself is free; you only pay for the AI model if it needs one.
How people use it
Everyday coding in the terminal Fixing bugs and adding features Exploring and understanding unfamiliar codebases Running multiple tasks side-by-side Working inside popular code editors
It’s especially popular with developers who want powerful AI help without being locked into one company’s tool or subscription.

Comments (2)

  1. Zainab ·

    <p>Love that it works with local models too.</p>

  2. Lateef ·

    <p>Definitely trying this in the terminal</p>

6 likes · 2 comments · 4 views

Explore more on Prompted