Agent Commander

Connection guide

At a café, out on a picnic, or travelling, you can still assign work, follow your Agent, and view results on your home computer from your phone. Use Tailscale to connect when you are away from your computer's network.

Your phone can use mobile data or Wi-Fi with Internet access. Your home computer needs to stay on, awake, and connected to the Internet, with Agent Commander and Tailscale running.

Use Tailscale away from home

1. Set up before heading out. Install Tailscale on your phone and computer. Sign in to connect both devices to the same Tailscale network (tailnet).

2. Keep your computer ready. Check that it has Internet access, Tailscale is connected, and the Agent Commander service is running. Adjust its power settings to keep it awake while you need remote access.

3. Connect from wherever you are. At a café, use Wi-Fi with Internet access or mobile data; on a picnic, use mobile data where you have coverage. Enable Tailscale on your phone, then open Agent Commander.

4. Test before leaving home. Turn off Wi-Fi on your phone, enable mobile data and Tailscale, then check that you can open your device and view conversations in Agent Commander.

If you cannot connect, check that both devices are online in Tailscale and that the network's access rules allow them to connect to each other. Tailscale needs Internet access at both ends; without mobile coverage or Wi-Fi at your picnic spot, your phone will not be able to connect to your home computer.

Connect over a local network

1. Connect your phone and computer to the same local subnet. The computer can use Wi-Fi or Ethernet.

2. Avoid guest Wi-Fi or networks that prevent devices from communicating with each other.

3. On iPhone or iPad, open Settings, find Agent Commander, and enable Local Network access if it is off.

4. Check that the computer's firewall allows connections to Agent Commander. On Windows, see the local network access step in the installation guide.

Try connecting again

Return to Agent Commander and tap Retry. If it still cannot connect, run agentcmd status on the computer to check the service, or agentcmd doctor to check the installation.

If the app reports a device certificate mismatch, get a fresh pairing code directly from the computer with agentcmd auth show, then pair again.

See installation and support for more checks or to contact support.

Hướng dẫn kết nối

Đi cà phê, đi dã ngoại hay đi xa, bạn vẫn có thể giao việc, theo dõi Agent và xem kết quả trên máy tính ở nhà bằng điện thoại. Hãy dùng Tailscale để kết nối khi bạn không ở cùng mạng với máy tính.

Điện thoại có thể dùng 4G/5G hoặc Wi-Fi có Internet. Máy tính ở nhà cần được bật, không ở chế độ ngủ, có Internet và đang chạy Agent Commander cùng Tailscale.

Dùng Tailscale khi không ở nhà

1. Chuẩn bị trước khi ra ngoài. Cài Tailscale trên điện thoại và máy tính. Đăng nhập để đưa cả hai vào cùng mạng Tailscale (tailnet).

2. Giữ máy tính sẵn sàng. Kiểm tra máy tính có Internet, Tailscale đang kết nối và dịch vụ Agent Commander đang chạy. Cài đặt nguồn điện để máy không tự ngủ trong lúc bạn cần truy cập từ xa.

3. Kết nối từ nơi bạn đang ở. Tại quán cà phê, dùng Wi-Fi có Internet hoặc 4G/5G; khi đi dã ngoại, dùng dữ liệu di động ở nơi có sóng. Bật Tailscale trên điện thoại rồi mở Agent Commander.

4. Thử trước khi rời nhà. Tắt Wi-Fi trên điện thoại, bật dữ liệu di động và Tailscale, rồi kiểm tra bạn mở được thiết bị và xem hội thoại trong Agent Commander.

Nếu chưa kết nối được, kiểm tra cả hai thiết bị đang trực tuyến trong Tailscale và quyền truy cập trong mạng cho phép chúng kết nối với nhau. Tailscale cần Internet ở cả hai đầu; khi nơi dã ngoại mất sóng và không có Wi-Fi, điện thoại sẽ chưa kết nối được với máy tính ở nhà.

Kết nối qua mạng nội bộ

1. Kết nối điện thoại và máy tính vào cùng dải mạng nội bộ. Máy tính có thể dùng Wi-Fi hoặc cáp mạng.

2. Tránh mạng Wi-Fi khách hoặc mạng đang chặn các thiết bị liên lạc với nhau.

3. Trên iPhone hoặc iPad, mở Cài đặt, tìm Agent Commander và bật quyền Mạng cục bộ nếu đang tắt.

4. Kiểm tra tường lửa trên máy tính cho phép kết nối tới Agent Commander. Nếu dùng Windows, xem bước mở quyền truy cập mạng nội bộ trong hướng dẫn cài đặt.

Thử kết nối lại

Quay lại Agent Commander và chạm Thử lại. Nếu vẫn không kết nối được, chạy agentcmd status trên máy tính để kiểm tra dịch vụ, hoặc agentcmd doctor để kiểm tra cài đặt.

Nếu app báo chứng chỉ thiết bị không khớp, lấy mã ghép nối mới từ chính máy tính bằng agentcmd auth show, rồi ghép nối lại.

Xem hướng dẫn cài đặt và hỗ trợ để biết thêm cách kiểm tra hoặc liên hệ hỗ trợ.