> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/th, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# เอเจนต์เขียนโค้ดแบบโอเพนซอร์ส

เริ่มต้นด้วยโมเดลฟรี หรือใช้ผู้ให้บริการใดก็ได้จากกว่า 200 ราย OpenCode ทำงานบนเครื่องของคุณ และคุณใช้งานได้จากเดสก์ท็อป เทอร์มินัล โทรศัพท์ หรือโค้ดของคุณเอง

นักพัฒนากว่า 22 ล้านคนไว้วางใจ, including at NVIDIA, Cloudflare, Microsoft, GitHub, ByteDance, Revolut, Salesforce, Cisco, Red Hat, Intel, Adobe, IBM, SAP, Lenovo, Linear.

## Products

### [Desktop](https://opencode.ai/th/desktop)

Sessions, tabs, diffs, built-in browser, and extensions on macOS, Windows and Linux.

Download: [all builds](https://opencode.ai/th/desktop#download)

- [macOS (Apple Silicon)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-mac-arm64.dmg)
- [macOS (Intel)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-mac-x64.dmg)
- [Windows (x64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-win-x64.exe)
- [Windows (ARM64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-win-arm64.exe)
- [Linux (.deb, x64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-amd64.deb)
- [Linux (.deb, ARM64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-arm64.deb)
- [Linux (.rpm, x64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-x86_64.rpm)
- [Linux (.rpm, ARM64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-aarch64.rpm)
- [Linux (AppImage, x64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-x86_64.AppImage)
- [Linux (AppImage, ARM64)](https://opencode.ai/update/api/latest/desktop/opencode/opencode-desktop-linux-arm64.AppImage)

```bash
brew install --cask opencode-desktop
```

### [Terminal](https://opencode.ai/th/terminal)

A fast terminal UI that works in any shell, editor or remote server.

Install with any of these:

```bash
# curl
curl -fsSL https://opencode.ai/v2/install | bash

# npm
npm install -g @opencode/cli

# bun
bun install -g --trust @opencode/cli

# brew
brew install anomalyco/tap/opencode-v2

# paru
paru -S opencode-beta
```

### [Mobile](https://opencode.ai/th/mobile) (ใหม่)

Start, steer and approve sessions from your phone, wherever you are.

Download: [Apple TestFlight](https://testflight.apple.com/join/M9eFEE1q) (iPhone, public beta), Google Play (Android, coming soon)

### [SDK](https://opencode.ai/th/sdk)

Drive OpenCode from your own scripts, CI jobs and tools.

```ts
import { OpenCode }
  from "@opencode/sdk"

await using oc =
  await OpenCode.create()
const s =
  await oc.sessions.create()
await oc.sessions.prompt({
  sessionID: s.id,
  text: "Fix failing tests",
})
```

Docs: [SDK](https://opencode.ai/docs/build/sdk/)

## OpenCode คืออะไร?

OpenCode คือเอเจนต์เขียนโค้ดแบบโอเพนซอร์ส ใช้งานได้ในแอปเดสก์ท็อป ในเทอร์มินัล บนโทรศัพท์ หรือจากโค้ดของคุณเองด้วย SDK [อ่านเอกสาร](https://opencode.ai/docs/)

- **[โมเดลใดก็ได้](https://opencode.ai/docs/models/):** ผู้ให้บริการ LLM กว่า 200 รายผ่าน Models.dev รวมถึงโมเดล Local
- **[ทุกอุปกรณ์](https://opencode.ai/docs/):** แอปเดสก์ท็อป อินเทอร์เฟซเทอร์มินัล แอปมือถือ และ SDK สำหรับเครื่องมือของคุณ
- **[หลายเซสชัน](https://opencode.ai/docs/cli/tui/#sessions):** เริ่มเอเจนต์หลายตัวทำงานคู่ขนานกันในโปรเจกต์เดียวกัน
- **[ปลั๊กอิน](https://opencode.ai/docs/plugins/):** เขียนปลั๊กอินเพื่อดักจับอีเวนต์และขยาย OpenCode ด้วยตรรกะของคุณเอง
- **[เซิร์ฟเวอร์ MCP](https://opencode.ai/docs/mcp-servers/):** เชื่อมต่อเซิร์ฟเวอร์ MCP ทั้งแบบโลคัลและระยะไกลเพื่อให้เอเจนต์มีเครื่องมือใหม่
- **[เอเจนต์กำหนดเอง](https://opencode.ai/docs/agents/):** สร้างเอเจนต์เฉพาะทางที่มีพรอมต์ โมเดล และเครื่องมือของตัวเอง
- **[สกิลของเอเจนต์](https://opencode.ai/docs/skills/):** สอนเวิร์กโฟลว์ที่ใช้ซ้ำได้ให้เอเจนต์ด้วยไฟล์ SKILL.md
- **[คำสั่งกำหนดเอง](https://opencode.ai/docs/commands/):** เปลี่ยนงานที่ทำซ้ำๆ ให้เป็นคำสั่ง slash ที่เรียกใช้ได้ทุกเมื่อ
- **[สิทธิ์](https://opencode.ai/docs/permissions/):** เลือกว่าการกระทำใดทำงานอัตโนมัติ และการกระทำใดต้องรอคุณอนุมัติ
- **[เลิกทำและทำซ้ำ](https://opencode.ai/docs/snapshots/):** ย้อนการเปลี่ยนแปลงล่าสุดในไฟล์และบทสนทนาด้วย /undo

## Get started

The easiest way to start is to [download OpenCode](https://opencode.ai/th/product) and use the [free models](https://opencode.ai/docs/console/models/#free-models). No account needed. For more, bring [your own subscription](https://opencode.ai/docs/providers/) or use [OpenCode Go](https://opencode.ai/console/go).

Free models today include Big Pickle, DeepSeek V4.1 Flash Free, GLM-5.3-Flash Free. [OpenCode Go](https://opencode.ai/console/go#console-go-plan-go): $10/month. [OpenCode Go Plus](https://opencode.ai/console/go#console-go-plan-go-plus): $40/month.

## Bring your own subscription

Use the subscriptions you already have. Log in with ChatGPT Plus or Pro or GitHub Copilot. Or use an [OpenCode subscription](https://opencode.ai/console/go).

## ใช้เครื่องมือของคุณเอง

เชื่อมต่อบริการที่คุณใช้อยู่แล้วด้วย [เซิร์ฟเวอร์ MCP](https://opencode.ai/docs/mcp-servers/) ต่อเข้ากับ OpenCode ด้วย [ปลั๊กอิน](https://opencode.ai/docs/plugins/) และสอนเวิร์กโฟลว์ของคุณให้เอเจนต์ด้วย [สกิล](https://opencode.ai/docs/skills/)

Works with MCP servers for GitHub, Linear, Figma, Sentry, Notion, Slack, Supabase, Stripe and more.

## โอเพนซอร์ส

ด้วยยอดดาวบน GitHub กว่า **220,000** ดวง, ผู้ร่วมพัฒนา **1,000+** คน, และการคอมมิตกว่า **20,000** ครั้ง, OpenCode ได้รับความไว้วางใจจากนักพัฒนากว่า **22M** คนในทุกเดือน

- ดาว GitHub: 220K
- ผู้ร่วมพัฒนา: 1K+
- นักพัฒนาต่อเดือน: 22M

## Console

**ทุกสิ่งที่คุณต้องการสำหรับการทำงานกับ AI**

inference คุณภาพสูงสำหรับโมเดล frontier และ open-weight การสมัครสมาชิกราคาประหยัดพร้อมขีดจำกัดที่เอื้อเฟื้อ และเครื่องมือที่ทีมของคุณต้องใช้เพื่อจัดการค่าใช้จ่ายและทำงานร่วมกันได้อย่างมีประสิทธิภาพ

[เริ่มต้นฟรี](https://opencode.ai/console).

---

- [เอกสาร](https://opencode.ai/docs)
- [ผลิตภัณฑ์](https://opencode.ai/th/product)
- [ข้อมูล](https://opencode.ai/th/data)
- [Console](https://opencode.ai/console)
- [โมเดล](https://opencode.ai/console/models)
- [การสมัครสมาชิก](https://opencode.ai/console/go)
- [องค์กร](https://opencode.ai/console/enterprise)
- [GitHub](https://github.com/anomalyco/opencode)
- [X](https://x.com/opencode)
- [Discord](https://discord.gg/opencode)
- [บันทึกการเปลี่ยนแปลง](https://opencode.ai/changelog)
- [สื่อมวลชน](https://opencode.ai/th/press)
- [แบรนด์](https://opencode.ai/th/brand)
- [กฎหมาย](https://opencode.ai/th/legal)
- [สถานะ](https://status.opencode.ai)

© 2026 [Anomaly](https://anoma.ly)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
