EN | TH
Open-source agentic framework for quantitative portfolio management — built for the Thai community.
KhunQuant bridges Thai equity markets (SET) and global digital assets through a single AI-powered orchestrator. It runs locally on your machine, keeping your API keys and strategy parameters under your full control.
Built on PicoClaw — an ultra-lightweight Go AI assistant.
Requirements: Go 1.25+, make
git clone https://github.com/khunquant/khunquant.git
cd khunquant
make deps
make install # installs to ~/.local/bin/khunquant
khunquant onboard # interactive setup wizard
cd web
make dev # starts frontend (localhost:5173) + backend (localhost:18800)
Channels (Telegram, Discord, Web, …)
│
▼
Agent Orchestrator ◄── LLM Provider (Claude, GPT, …)
│
▼
Tools Layer
┌─────┴──────────────────────────┐
│ Exchange Adapters │
│ ┌──────────┐ ┌───────────┐ │
│ │ Bitkub │ │ Binance │ │
│ └──────────┘ └───────────┘ │
│ ┌──────────┐ ┌───────────┐ │
│ │ Settrade │ │InnovestX │ │
│ └──────────┘ └───────────┘ │
└────────────────────────────────┘
pkg/providers/ — LLM provider abstractionpkg/channels/ — Chat platform adapterspkg/tools/ — Agent tools (filesystem, shell, search, exchange adapters)pkg/agent/ — Core agent loop and context managementcmd/khunquant/ — CLI entry point (onboard, agent, gateway, status, …)| Phase | Focus | Status |
|---|---|---|
| 1 | Exchange adapter layer (Bitkub, Binance, Settrade, InnovestX, Dime) | 🔨 In progress |
| 2 | LLM orchestration — natural language trading commands | 📋 Planned |
| 3 | Open-source adapter SDK for community contributions | 📋 Planned |
See CONTRIBUTING.md.
MIT — see LICENSE. KhunQuant is a fork of PicoClaw.
เฟรมเวิร์ก open-source สำหรับการบริหารพอร์ตเชิงปริมาณ — สร้างสำหรับชุมชนคนไทย
KhunQuant เชื่อมตลาดหุ้นไทย (SET) กับสินทรัพย์ดิจิทัลทั่วโลกผ่าน AI agent ตัวเดียว ทำงานบนเครื่องของคุณเอง — API key และกลยุทธ์การลงทุนอยู่ในมือคุณตลอดเวลา
git clone https://github.com/khunquant/khunquant.git
cd khunquant
make deps
make install
khunquant onboard
cd web
make dev # เปิด frontend ที่ localhost:5173 และ backend ที่ localhost:18800
| เฟส | เป้าหมาย | สถานะ |
|---|---|---|
| 1 | ชั้น adapter สำหรับ exchange ต่าง ๆ (Bitkub, Binance, Settrade, InnovestX, Dime) | 🔨 กำลังพัฒนา |
| 2 | LLM orchestration — สั่งงานด้วยภาษาธรรมชาติ | 📋 วางแผน |
| 3 | Open-source adapter SDK สำหรับชุมชน | 📋 วางแผน |
$ claude mcp add khunquant \
-- python -m otcore.mcp_server <graph>