Skip to main content

OpenCode: Open-source coding agent you can fully customize

An open-source coding agent for the terminal and editor that works with many models and can be modified or built on.

What OpenCode does

OpenCode is an open-source AI coding agent, similar in spirit to Claude Code, that runs in your terminal or editor and works with many model providers. Because the code is open, teams build their own harnesses on top of it.

Why it matters for marketing

For teams that want an agent they fully control and can customize, or want to avoid lock-in to one model vendor.

How to use OpenCode

  • Run a coding agent on the model of your choice
  • Build a custom agent harness on an open base
  • Avoid single-vendor lock-in

What to watch out for

  • Its separate cloud service was caught up in a security incident; the open-source CLI was not
  • More setup than a polished commercial agent

OpenCode FAQ

What is OpenCode?

OpenCode is an open-source AI coding agent, similar in spirit to Claude Code, that runs in your terminal or editor and works with many model providers. Because the code is open, teams build their own harnesses on top of it.

What is OpenCode used for?

Run a coding agent on the model of your choice. Build a custom agent harness on an open base. Avoid single-vendor lock-in.

Is OpenCode free and open source?

Yes. The code is public on GitHub at anomalyco/opencode under the MIT license.

Who makes OpenCode?

OpenCode is published on GitHub by anomalyco. It is written mainly in TypeScript.

What tools are similar to OpenCode?

Other repos in the Coding agents category include T3 Code, ThinkRail, Ruflo.

More in Coding agents

More AI repos to explore

  • Marketing Skills

    60.7k stars

    50+ agent skills for CRO, copy, SEO, analytics and growth

    Corey Haines's library of marketing skills for coding agents, covering conversion optimization, copywriting, SEO, AI search, analytics, pricing, launches and more. The most complete marketing skill pack on GitHub.

    NewUpdated this weekEditor's pick ·
    Read the review →
  • Maker Skills

    917 stars

    Agent skills for founders and solo operators

    25 skills for the operator side of running a business: decisions, deep research, second brain, content rotation, scenario modeling, finance cadence and slide decks.

    NewUpdated this weekEditor's pick ·
    Read the review →
  • Open-source forms scored on revenue, not submissions

    A form builder that judges forms and split tests by closed pipeline instead of completion rate, and tags every submission as human, agent or unverified.

    NewUpdated this weekEditor's pick ·
    Read the review →