Run Jodd's AI on your own server
Last updated: 2026-11-01
An AI host is a machine you own where Jodd runs Claude Code or Codex for you. Jodd connects to it over SSH with a key that can do one thing only: run one of those two command-line tools. This lets Jodd use them from Android, and from any computer that does not have them installed.
Your own CLI, your own account, on your own server, under the provider's terms. You install the CLI and sign in to it yourself; Jodd never sees that sign-in. You are responsible for using it as Anthropic's terms (consumer, commercial) or OpenAI's consumer terms or business agreement allow.
Scope: one person using their own provider account across their own devices. Jodd submits headless requests from its note features; this is more than a remote terminal. Successful SSH access or sign-in does not establish permission for every app integration. Do not share personal subscriptions, pool accounts, or resell access. Separate OS accounts alone do not authorize a multi-user service. Account type, authentication method and any required provider agreement still apply. Review Claude Code's integration and authentication rules and Codex's authentication guidance; these do not constitute provider approval of Jodd's specific workflow.
What you need
- A machine that stays on. Jodd can only use the host while it is awake and reachable.
- 4 GB of memory or more, on 64-bit x86 or ARM.
- An account with the provider, for each CLI you want: for Claude Code, a Claude Pro, Max, Team or Enterprise plan or an Anthropic Console account; for Codex, a ChatGPT plan.
- Jodd 0.34.0 or newer on your devices.
curlon the host, to download the kit.
Pick a path
The kit prepares the machine: a dedicated account (jodd-ai),
password login for that account only, both CLIs from their official
installers, and a helper command, jodd-ai-host.
Docker
Any machine with Docker and the Compose plugin.
curl -fsSLO https://raw.githubusercontent.com/BBM-Co-ORG/jodd-ai-host/main/docker/compose.yaml
docker compose up -d
docker compose logs
Linux
Ubuntu, Debian, Fedora and Alpine tested; RHEL not yet tested. Download, read, then run:
curl -fsSL https://raw.githubusercontent.com/BBM-Co-ORG/jodd-ai-host/main/install/linux.sh -o jodd-ai-host-install.sh
less jodd-ai-host-install.sh
sudo sh jodd-ai-host-install.sh
macOS 13 or newer
A Mac that stays on. Tested on one Apple Silicon Mac on macOS 27; try the dry run first, it changes nothing:
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/BBM-Co-ORG/jodd-ai-host/main/install/macos.sh -o jodd-ai-host-install.sh
sh jodd-ai-host-install.sh --dry-run
sudo sh jodd-ai-host-install.sh
On a VPS or any machine reachable from the internet, read the
install guide first.
Password login for the AI account is open until you lock it (with kit
1.1.0 or later you can lock it before setting up Jodd, and use the command
route below), and the Docker port is published on every address unless you
set JODD_AI_BIND.
Upgrading a host set up before kit 1.0.0: download the
installer again and run it (Docker: docker compose pull && docker compose up -d),
then sudo jodd-ai-host adopt-keys. A host you have not upgraded
keeps working with Jodd.
What has been tested
- Kit 1.0.0: the Docker image is tested end to end on x86_64 Linux on every change. On 2026-11-01 the Linux installer upgraded one Ubuntu 24.04 x86_64 server set up before 1.0.0, and Jodd 0.42.0 on a Mac and an Android phone used it and a Docker host. The 1.0.0 installers have not yet been run on a new machine, on the other Linux distributions or on a Mac.
- Docker, before 1.0.0: the image, started with
docker run, was tested on 2026-10-15. Thecompose.yamlfile itself has not been run end to end yet. - Ubuntu 24.04, Debian 12, Fedora, Alpine, before 1.0.0: the installer was tested on 2026-10-15 in clean containers. Starting sshd through systemd or OpenRC was not part of those tests.
- macOS, before 1.0.0: tested on 2026-10-15 on one Apple Silicon Mac on macOS 27: install, Jodd's own setup code connecting and finding both CLIs,
lock, and a re-run. Older macOS versions and Intel Macs have not been tested. - The runs before 1.0.0 were all on ARM64 machines.
Then, in Jodd
The commands below are for Linux and macOS. In Docker, drop
sudo and put docker compose exec ai-host in front.
-
Sign in to the CLIs on the host, as yourself:
Docker:sudo jodd-ai-host signin claude sudo jodd-ai-host signin codexdocker compose exec ai-host jodd-ai-host signin claude, and the same withcodex. -
In Jodd: App settings → AI provider →
Agent CLI (headless) → Runs on: A server.
Enter the host's address, its port (Docker: 2222) and the user
jodd-ai. Check that the fingerprint matchesjodd-ai-host fingerprint(Docker:docker compose exec ai-host jodd-ai-host fingerprint). -
Choose how Jodd's key reaches the host, then press
Trust and set up:
-
Run a command on the host (kit 1.1.0 or later): no
password, and it works while password login is locked. Jodd shows a
command; copy it and run it on the host as an administrator:
sudo jodd-ai-host add-key '…'(Docker:docker compose exec ai-host jodd-ai-host add-key '…'). Then press I've run it. -
Password: enter the
jodd-aipassword once; Jodd does not keep it. Afterwards turn password login off:sudo jodd-ai-host lock(Docker:docker compose exec ai-host jodd-ai-host lock).
-
Run a command on the host (kit 1.1.0 or later): no
password, and it works while password login is locked. Jodd shows a
command; copy it and run it on the host as an administrator:
Later, with the host locked: adding another device, Reinstall helper and Change server can all use Run a command on the host the same way, so there is no need to unlock password login again. After a reinstall by command, press Check.
Away from home, put both ends on a private network such as Tailscale. Do not forward the SSH port on your router.
Guides
The full guides are on GitHub:
- Install guide: English · ภาษาไทย — every path, networking, hardening, updating, removing, troubleshooting.
- User guide: English · ภาษาไทย — the Jodd side, and every message Jodd can show with what to do.
- How it works (English) — what the key can and cannot do, where your data goes, what is stored where.
Where your text goes is also described in the privacy policy.
สรุปภาษาไทย
AI host คือเครื่องของคุณเองที่ Jodd ใช้รัน Claude Code หรือ Codex แทนคุณผ่าน SSH ด้วย key ที่ทำได้อย่างเดียวคือสั่งรัน CLI สองตัวนี้ ทำให้ใช้งานจาก Android และจากคอมพิวเตอร์ที่ไม่ได้ติดตั้ง CLI ได้
CLI ของคุณเอง บัญชีของคุณเอง บนเซิร์ฟเวอร์ของคุณเอง ภายใต้ข้อกำหนดของผู้ให้บริการ คุณติดตั้ง CLI และลงชื่อเข้าใช้ (sign in) ด้วยตัวเอง Jodd ไม่เคยเห็นข้อมูลการลงชื่อเข้าใช้นั้น และคุณเป็นผู้รับผิดชอบให้การใช้งานเป็นไปตามข้อกำหนดของ Anthropic หรือ OpenAI
การตั้งค่านี้สำหรับคนเดียวใช้บัญชีผู้ให้บริการของตนผ่านอุปกรณ์ของตน Jodd ส่งคำขอแบบ headless จากฟีเจอร์โน้ต จึงมีบทบาทมากกว่า remote terminal การเชื่อม SSH หรือลงชื่อเข้าใช้สำเร็จไม่ได้ยืนยันสิทธิ์สำหรับการเชื่อมแอปทุกรูปแบบ อย่าแบ่งใช้บัญชีสมาชิกส่วนบุคคล รวมบัญชีเพื่อใช้โควตา หรือขายสิทธิ์เข้าถึงต่อ การแยกบัญชีระบบปฏิบัติการอย่างเดียวไม่ได้ทำให้บริการหลายผู้ใช้ได้รับอนุญาต ยังต้องพิจารณาประเภทบัญชี วิธีลงชื่อเข้าใช้ และข้อตกลงที่ผู้ให้บริการกำหนด โดยยังไม่มีคำยืนยันเฉพาะรูปแบบการทำงานของ Jodd จากผู้ให้บริการในการตรวจครั้งนี้
- เลือกวิธีติดตั้งหนึ่งวิธี: Docker, Linux หรือ macOS 13 ขึ้นไป (คำสั่งอยู่ด้านบน)
- ลงชื่อเข้าใช้ CLI บนเครื่อง host ด้วย
jodd-ai-host signin claudeและjodd-ai-host signin codex - ใน Jodd: App settings → AI provider → Agent CLI (headless) → Runs on: A server แล้วกรอกที่อยู่ พอร์ต และผู้ใช้
jodd-aiและตรวจว่า fingerprint ตรงกับjodd-ai-host fingerprint - เลือกวิธีที่ key ของ Jodd จะไปถึงเครื่อง host แล้วกด Trust and set up:
Run a command on the host (ชุดติดตั้ง 1.1.0 ขึ้นไป) ไม่ต้องใช้รหัสผ่าน และใช้ได้แม้ lock ไว้แล้ว
ให้คัดลอกคำสั่งที่ Jodd แสดงไปรันบนเครื่อง host:
sudo jodd-ai-host add-key '…'(Docker:docker compose exec ai-host jodd-ai-host add-key '…') แล้วกด I've run it หรือเลือก Password กรอกรหัสผ่านของjodd-aiหนึ่งครั้ง (Jodd ไม่เก็บไว้) แล้วปิดการเข้าสู่ระบบด้วยรหัสผ่านด้วยjodd-ai-host lock - ภายหลัง เมื่อ lock ไว้แล้ว การเพิ่มอุปกรณ์อื่น, Reinstall helper และ Change server ใช้ Run a command on the host ได้เหมือนกัน ไม่ต้อง unlock อีก (หลัง Reinstall ด้วยคำสั่ง ให้กด Check)
สถานะการทดสอบ: Ubuntu, Debian, Fedora และ Alpine ทดสอบเมื่อ 2026-10-15
บนเครื่อง ARM64 เท่านั้น Docker ทดสอบ image ด้วย docker run
แต่ยังไม่ได้รันไฟล์ compose.yaml ตั้งแต่ต้นจนจบ
ส่วน macOS ทดสอบแล้วบน Mac ชิป Apple Silicon หนึ่งเครื่องที่ใช้ macOS 27
(ยังไม่ได้ทดสอบ macOS รุ่นเก่ากว่าและ Mac ชิป Intel)
ชุดติดตั้ง 1.0.0: image ของ Docker ทดสอบครบทุกขั้นบน x86_64 ทุกครั้งที่มีการแก้ไข
และเมื่อ 2026-11-01 ตัวติดตั้ง Linux อัปเกรดเซิร์ฟเวอร์ Ubuntu 24.04 x86_64 ที่ตั้งไว้ก่อน 1.0.0 ได้หนึ่งเครื่อง
ถ้าตั้ง host ไว้ก่อน 1.0.0 ให้รันตัวติดตั้งอีกครั้ง แล้วรัน jodd-ai-host adopt-keys
ถ้าเครื่องเข้าถึงได้จากอินเทอร์เน็ต ให้อ่านคู่มือการติดตั้งก่อน
คู่มือฉบับเต็ม: คู่มือการติดตั้ง · คู่มือการใช้งาน