import "./index.css" import { Title, Meta, Link } from "@solidjs/meta" import { HttpHeader } from "@solidjs/start" import video from "../asset/lander/opencode-min.mp4" import videoPoster from "../asset/lander/opencode-poster.png" import { IconCopy, IconCheck } from "../component/icon" import { A, createAsync } from "@solidjs/router" import { EmailSignup } from "~/component/email-signup" import { Tabs } from "@kobalte/core/tabs" import { Faq } from "~/component/faq" import { Header } from "~/component/header" import { Footer } from "~/component/footer" import { Legal } from "~/component/legal" import { github } from "~/lib/github" import { createMemo } from "solid-js" function CopyStatus() { return (
) } export default function Home() { const githubData = createAsync(() => github()) const release = createMemo(() => githubData()?.release) const handleCopyClick = (event: Event) => { const button = event.currentTarget as HTMLButtonElement const text = button.textContent if (text) { navigator.clipboard.writeText(text) button.setAttribute("data-copied", "") setTimeout(() => { button.removeAttribute("data-copied") }, 1500) } } return (
OpenCode | The AI coding agent built for the terminal
What’s new in {release()?.name ?? "the latest release"} The AI coding agent built for the terminal

OpenCode is fully open source, giving you control and freedom to use any provider, any model, and any editor.

Read docs
curl npm bun brew paru

What is OpenCode?

OpenCode is an open source agent that helps you write and run code directly from the terminal.

  • [*]
    Native TUI A responsive, native, themeable terminal UI
  • [*]
    LSP enabled Automatically loads the right LSPs for the LLM
  • [*]
    Multi-session Start multiple agents in parallel on the same project
  • [*]
    Share links Share a link to any session for reference or to debug
  • [*]
    Claude Pro Log in with Anthropic to use your Claude Pro or Max account
  • [*]
    Any model 75+ LLM providers through Models.dev, including local models
  • [*]
    Any editor OpenCode runs in your terminal, pair it with any IDE

The open source AI coding agent

[*]

With over 26,000 GitHub stars, 188 contributors, and almost{" "} 3,000 commits, OpenCode is used and trusted by over 200,000{" "} developers every month.

Fig 1.
26K GitHub Stars
Fig 2.
188 Contributors
Fig 3.
200K Monthly Devs

Built for privacy first

[*]

OpenCode does not store any of your code or context data, so that it can operate in privacy sensitive environments. Learn more about privacy.

FAQ

  • OpenCode is an open source agent that helps you write and run code directly from the terminal. You can pair OpenCode with any AI model, and because it’s terminal-based you can pair it with your preferred code editor.
  • The easiest way to get started is to read the intro.
  • Not necessarily, but probably. You’ll need an AI subscription if you want to connect OpenCode to a paid provider, although you can work with{" "} local models {" "} for free. While we encourage users to use Zen, OpenCode works with all popular providers such as OpenAI, Anthropic, xAI etc.
  • Yes, for now. We are actively working on a desktop app. Join the waitlist for early access.
  • OpenCode is 100% free to use. Any additional costs will come from your subscription to a model provider. While OpenCode works with any model provider, we recommend using Zen.
  • Your data and information is only stored when you create sharable links in OpenCode. Learn more about{" "} share pages.
  • Yes, OpenCode is fully open source. The source code is public on{" "} GitHub {" "} under the{" "} MIT License , meaning anyone can use, modify, or contribute to its development. Anyone from the community can file issues, submit pull requests, and extend functionality.
Access reliable optimized models for coding agents

Zen gives you access to a handpicked set of AI models that OpenCode has tested and benchmarked specifically for coding agents. No need to worry about inconsistent performance and quality across providers, use validated models that work.

Learn about Zen
) }