thClaws คือ AI Agent Workspace เริ่มต้นโดย หมอจิม Panutat Tejasen หลังจาก Claude Code Source Code Leak เป็น AI สัญชาติไทย ออกแบบมาเพื่อเป็นเครื่องมือช่วยทำงาน ที่มีความสามารถในการเขียนโค้ด, ทำงานอัตโนมัติ และประสานงานระหว่าง AI หลายตัว โดยเน้นความเร็ว ความเป็นส่วนตัว และความเบาของโปรแกรม
จุดเด่นและคุณสมบัติหลัก
- เขียนด้วยภาษา Rust ทั้งตัว: ทำให้โปรแกรมมีขนาดเล็กมาก บูตเร็วภายใน 200ms และทำงานได้ลื่นไหลโดยไม่ต้องลง Dependency เพิ่มเติม
- Local-First & Sovereign: เน้นการรันบนเครื่องของผู้ใช้เอง เพื่อความปลอดภัยของข้อมูล ไม่ได้ผูกติดกับ Cloud เจ้าใดเจ้าหนึ่ง
- 3-in-1 Interface: ในไฟล์เดียว สามารถเลือกใช้งานได้ 3 รูปแบบ
- Desktop GUI: หน้าต่างโปรแกรมที่มีทั้ง Terminal, Chat และตัวจัดการไฟล์
- CLI REPL: ใช้งานผ่านคำสั่งใน Terminal
- Non-interactive Mode: ใช้สำหรับรันคำสั่งสั้น ๆ หรือใช้ในสคริปต์อัตโนมัติ
- Multi-provider: รองรับ AI หลากหลายค่าย เช่น Anthropic , OpenAI, Gemini, DeepSeek รวมถึง LLM สัญชาติไทย และการรันโมเดลในเครื่องผ่าน Ollama
- Open Standards: รองรับโปรโตคอลมาตรฐานอย่าง Model Context Protocol และใช้ไฟล์
AGENTS.mdในการสั่งการ ทำให้ย้ายโปรเจกต์ไปมากับเครื่องมืออื่นได้ง่าย
ที่มาและความตั้งใจ
โปรเจกต์นี้เกิดขึ้นจากการค้นพบว่าโครงสร้างหลักของเครื่องมือ AI ระดับโลก ส่วนใหญ่เป็นโค้ดจัดการระบบ ไม่ใช่ตัวสมอง AI โดยตรง ทีมไทยจีพีทีจึงพิสูจน์ว่าทีมเล็ก ๆ ในไทยก็สามารถสร้างเครื่องมือระดับโลกได้ด้วยภาษา Rust โดยใช้เวลาพัฒนาเวอร์ชันแรกเพียง 3 สัปดาห์
กลุ่มเป้าหมาย
- Software Engineers: ใช้ช่วยเขียนโค้ด แก้บั๊ก และรันคำสั่ง Terminal
- Knowledge Workers: ใช้หน้า Chat เพื่อวิเคราะห์ไฟล์ ค้นหาข้อมูลในฐานความรู้ และร่างเอกสาร
- Organizations: ที่ต้องการใช้ AI โดยที่ข้อมูลไม่รั่วไหลออกนอกองค์กร
Docker: AI-thClaws Container
- สร้าง folder เก็บข้อมูลก่อน โดยคำสั่ง
mkdir -p /Users/Shared/Docker/thClaws - ไปที่ folder
cd /Users/Shared/Docker/thClaws - สร้างไฟล์
touch docker-compose.yml
หรือ download มาจาก
docker-compose.yml# thClaws --serve in a container. # # Usage: # 1. Drop a `.env` file alongside this compose file with whichever # provider keys you want available inside the agent # (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, etc.) . # 2. cd into your project directory. # 3. `docker compose up` (or `docker compose up -d` to detach) . # 4. Open http://localhost:8443 in your browser. # # The current directory is mounted at /workspace — the agent treats # that as its project folder and writes session/plan/team state to # ./.thclaws/ on the host. # # Default bind is 127.0.0.1:8443 so the port is reachable only from # the host. Drop the 127.0.0.1: prefix to expose to the LAN — only # safe behind your own auth (reverse proxy, SSH tunnel, VPN) . The # container itself has no application-level auth. services: thclaws: image: thclaws/thclaws:latest # Uncomment to build locally instead of pulling: # build: # context: . container_name: thclaws ports: - "127.0.0.1:8443:8443" volumes: - ./:/workspace - thclaws-config:/root/.config/thclaws # Drop the `required: false` line if you pin an old Compose # version (<2.24) ; the workaround there is `touch .env` before # `up`. Newer Compose treats a missing optional env_file as empty. env_file: - path: .env required: false restart: unless-stopped volumes: thclaws-config:
- ติดตั้งและรัน
docker compose up -d - เปิด
http://localhost:8443/
อ่านเพิ่มเติม