Agent Commander

Support

Application: Agent Commander

Contact: agentcmd@sframework.com

Agent Commander lets you drive the coding agent on your computer from your phone. You type a request on your device; a server you run yourself executes the assistant against your own project directory and streams the result back.

There is no account to create and no publisher-operated server holding your work. That shapes every answer below.


Install the server on your own machine

The server is a Go binary and a SQLite file that run on the very computer you already code on — we operate no server. It runs on macOS (Apple Silicon and Intel), Linux (amd64 and arm64), Windows 11 (x64) and WSL.

You need first: the Claude Code CLI or the Codex CLI, installed and signed in — either one is enough. Without both the installer stops before downloading anything and prints how to install them. Antigravity is an experimental option: install and sign in to its CLI on the same computer. For Claude Code on Windows it must be the native claude.exe — the npm claude.cmd shim cannot be used, because the server starts the CLI directly rather than through a shell.

  • Step 1 — Run one command. On macOS, Linux or WSL, open a terminal and paste: curl -fsSL https://github.com/phidinhtho/agentcmd-release/releases/latest/download/install.sh | bash — on Windows 11, open PowerShell and paste: irm https://github.com/phidinhtho/agentcmd-release/releases/latest/download/install.ps1 | iex instead. Either script detects the right package for your machine, verifies the release checksum, puts agentcmd where your account can run it (~/.local/bin on macOS and Linux, %LOCALAPPDATA%\Programs\agentcmd on Windows), installs the companion desktop app — menu bar on macOS, system tray on Windows — and hands over to setup. No administrator rights, nothing written outside your own user folder.
  • Step 2 — Let setup finish. It writes an environment file only you can read, creates the data directory and a migrated database, generates the TLS key and certificate the app will pin, installs and starts the background service, and ends with a pairing QR code valid for ten minutes.
  • Step 3 — Scan it with your phone. Open Agent Commander, tap Connect, and scan that QR code. The app records your server's certificate fingerprint at that moment and refuses to talk to anything that does not match it later.
  • Linux and WSL only. On Linux, setup prints sudo loginctl enable-linger for you to run yourself — without it the service stops when you log out. On WSL, enable systemd before installing.
  • Windows only. Two things the installer cannot do for you. The background service is a Task Scheduler task that starts when you sign in, so it runs while you are signed in and stops when you sign out. And because a windowless service never triggers the usual firewall prompt, setup prints one netsh advfirewall line to run once in a PowerShell window opened with Run as administrator — skip it and phones on your local network simply cannot reach the server. Installing Git for Windows is also worth doing: the CLI's Bash tool needs it.
  • QR code expired? Run agentcmd auth show on the server: it prints the suggested address, the pairing code, the TLS fingerprint, and a fresh QR code.

Afterwards, agentcmd status tells you whether the service is alive, agentcmd doctor re-checks the install, and agentcmd update fetches a new build, verifies its checksum and restarts the service in place. If the target machine has no network, download the package for it and manifest.json from the releases page, copy them over, and run ./install.sh --from with the package name — on Windows, the package is a .zip and the command is .\install.ps1 -From with the package name.


Frequently asked questions

  • Pairing fails, or the app says the server certificate does not match. Your server is presenting a different certificate than the one the app pinned when you first paired — normally because the server was reinstalled or its certificate was rotated. Open Settings, unpair, then pair again with a fresh code.
  • I am not receiving notifications. Three things must all be true: notifications are turned on in the app's Settings, your operating system has granted the app notification permission, and your server has the notification relay address configured. On iOS also check Settings, then Notifications, then Agent Commander. Notifications are only sent while the app has no live connection to your server — if the app is open and connected, results appear in it directly instead.
  • Where is my data? On the machine running the server, inside its data directory (by default a folder named agentcmd-engine in your home directory). Nothing is stored on a publisher server. See how to delete your data.
  • Can I use the web version instead of the app? No. This website serves these public pages only. A browser cannot pin a self-signed server certificate the way the mobile app does, so the web build cannot pair with your server.

Contact

Write to agentcmd@sframework.com. This is a small project with no ticket system and no web form to fill in — the server runs on your own machine, so there is nobody on the other end holding your data.

It helps to include your app version (Settings, then About), your phone's operating system version, and what you were doing when the problem appeared. Please do not send your server address, your pairing code, or conversation content.

See also: Privacy Policy and Terms of Service.

Hỗ trợ (Support)

Ứng dụng: Agent Commander

Liên hệ: agentcmd@sframework.com

Agent Commander là ứng dụng để bạn điều khiển agent lập trình trên máy tính của bạn từ điện thoại. Bạn gõ yêu cầu trên máy; một máy chủ do chính bạn chạy thực thi trợ lý trên thư mục dự án của bạn rồi trả kết quả về.

Không có tài khoản nào để tạo, và không có máy chủ nào của nhà phát hành giữ công việc của bạn. Điều đó quyết định mọi câu trả lời bên dưới.


Cài máy chủ trên máy của bạn

Máy chủ là một binary Go và một file SQLite chạy trên chính máy tính bạn vẫn code — chúng tôi không vận hành máy chủ nào. Nó chạy trên macOS (Apple Silicon và Intel), Linux (amd64 và arm64), Windows 11 (x64) và WSL.

Cần sẵn: Claude Code CLI hoặc Codex CLI đã cài và đăng nhập — một trong hai là đủ. Thiếu cả hai thì trình cài dừng ngay trước khi tải và in ra cách cài. Antigravity là lựa chọn thử nghiệm: cài và đăng nhập CLI của nó trên cùng máy. Với Claude Code trên Windows phải là bản native claude.exe — shim npm claude.cmd không dùng được, vì máy chủ chạy thẳng file CLI chứ không đi qua shell.

  • Bước 1 — Chạy một dòng lệnh. Trên macOS, Linux hay WSL, mở Terminal rồi dán nguyên dòng này: curl -fsSL https://github.com/phidinhtho/agentcmd-release/releases/latest/download/install.sh | bash — còn trên Windows 11 thì mở PowerShell và dán dòng này: irm https://github.com/phidinhtho/agentcmd-release/releases/latest/download/install.ps1 | iex. Script nào cũng tự dò đúng gói cho máy, kiểm sha256 của bản phát hành, đặt agentcmd vào chỗ tài khoản của bạn chạy được (~/.local/bin trên macOS và Linux, %LOCALAPPDATA%\Programs\agentcmd trên Windows), cài luôn app đi kèm — thanh menu trên macOS, khay hệ thống trên Windows — rồi gọi tiếp setup. Không cần quyền quản trị, không ghi gì ra ngoài thư mục người dùng của bạn.
  • Bước 2 — Để setup lo nốt. Nó ghi env file chỉ mình bạn đọc được, tạo thư mục dữ liệu và cơ sở dữ liệu đã migrate, sinh khoá cùng chứng chỉ TLS mà app sẽ ghim, cài và bật dịch vụ chạy nền, rồi kết thúc bằng một mã QR ghép nối có hiệu lực mười phút.
  • Bước 3 — Quét mã bằng điện thoại. Mở Agent Commander, chạm Kết nối rồi quét mã QR đó. Ngay lúc ấy app ghi nhớ vân tay chứng chỉ của máy chủ, và về sau từ chối nói chuyện với bất cứ thứ gì không khớp vân tay ấy.
  • Riêng Linux và WSL. Trên Linux, setup in ra dòng sudo loginctl enable-linger để bạn tự chạy — thiếu nó thì dịch vụ tắt khi bạn đăng xuất. Trên WSL, bật systemd trước rồi mới cài.
  • Riêng Windows. Hai việc trình cài không làm thay bạn được. Dịch vụ chạy nền là một task của Task Scheduler, tự lên mỗi lần bạn đăng nhập — nghĩa là nó sống trong phiên đăng nhập của bạn và tắt khi bạn đăng xuất. Và vì tiến trình nền không có cửa sổ nên Windows không bao giờ hỏi mở cổng: setup in ra đúng một dòng netsh advfirewall để bạn chạy một lần trong cửa sổ PowerShell mở bằng Run as administrator — bỏ qua nó thì điện thoại trong mạng nội bộ đơn giản là không tới được máy chủ. Nên cài thêm Git for Windows: tool Bash của CLI cần nó.
  • Mã QR hết hạn rồi? Chạy agentcmd auth show trên máy chủ: lệnh in ra địa chỉ gợi ý, mã ghép nối, vân tay TLS và một mã QR mới.

Về sau, agentcmd status cho biết dịch vụ còn sống không, agentcmd doctor soát lại cài đặt, còn agentcmd update tải bản mới, kiểm sha256 rồi bật lại dịch vụ ngay tại chỗ. Máy đích không có mạng thì tải gói của máy đó cùng manifest.json từ trang phát hành, copy sang, rồi chạy ./install.sh --from kèm tên gói — trên Windows gói là file .zip và lệnh là .\install.ps1 -From kèm tên gói.


Câu hỏi thường gặp

  • Ghép nối không được, hoặc app báo chứng chỉ máy chủ không khớp. Máy chủ đang đưa ra một chứng chỉ khác với chứng chỉ app đã ghim lúc ghép nối lần đầu — thường vì máy chủ được cài lại hoặc chứng chỉ đã được xoay. Vào Cài đặt, ngắt ghép nối, rồi ghép nối lại bằng mã mới.
  • Tôi không nhận được thông báo. Phải đủ cả ba: đã bật thông báo trong Cài đặt của app, hệ điều hành đã cấp quyền thông báo cho app, và máy chủ của bạn đã khai địa chỉ relay thông báo. Trên iOS kiểm thêm Cài đặt, rồi Thông báo, rồi Agent Commander. Thông báo chỉ được gửi khi app không có kết nối nào đang mở tới máy chủ — app đang mở và đang kết nối thì kết quả hiện thẳng trong app.
  • Dữ liệu của tôi nằm ở đâu? Trên chính máy chạy máy chủ, trong thư mục dữ liệu của nó (mặc định là thư mục agentcmd-engine trong thư mục nhà của bạn). Không có gì nằm trên máy chủ của nhà phát hành. Xem cách xoá dữ liệu.
  • Dùng bản web thay cho app được không? Không. Trang web này chỉ phục vụ các trang công khai. Trình duyệt không ghim được chứng chỉ tự ký như app di động, nên bản web không ghép nối được với máy chủ của bạn.

Liên hệ

Gửi thư tới agentcmd@sframework.com. Đây là một dự án nhỏ, không có hệ thống ticket và không có biểu mẫu hỗ trợ — máy chủ chạy trên máy của chính bạn nên không có ai ở đầu kia giữ dữ liệu của bạn.

Nên kèm theo phiên bản app (Cài đặt, rồi Giới thiệu), phiên bản hệ điều hành của điện thoại, và bạn đang làm gì thì gặp lỗi. Vui lòng không gửi địa chỉ máy chủ, mã ghép nối hay nội dung hội thoại.

Xem thêm: Chính sách quyền riêng tư và Điều khoản sử dụng.