日本語
AgentHP は、Mac で動作する AgentHP サーバーから Codex の利用枠とトークン使用量を取得し、iPhone アプリとホーム画面のウィジェットに表示します。アプリ単体では利用状況を取得できません。
接続方法
- Mac に Codex CLI をインストールし、ChatGPT アカウントでログインします。
- Mac で AgentHP サーバーを起動します。一般向けのサーバー配布は準備中です。
- Mac と iPhone を同じ Tailscale ネットワークに接続します。
- iPhone アプリの設定で、Mac の Tailscale IPv4 アドレスを
http://100.x.x.x:8787の形式で入力します。Tailscale Serve を設定した場合は、その HTTPS URL も利用できます。 - アプリで利用状況が表示されたら、iPhone のホーム画面で AgentHP のウィジェットを追加できます。
表示されない場合
- Mac 上で AgentHP サーバーが起動し、iPhone から接続できることを確認してください。
- 履歴グラフはサーバーが利用状況の観測を始めてから表示されます。Mac が停止中やスリープ中の履歴は記録されません。
- ウィジェットの更新タイミングは iOS が決めるため、アプリ内の表示より遅れることがあります。
問い合わせ先: hiragram+support@gmail.com
English
AgentHP displays Codex rate limits and token usage from an AgentHP server running on your Mac in the iPhone app and Home Screen widgets. The iPhone app cannot obtain this information on its own.
Connect
- Install Codex CLI on your Mac and sign in with your ChatGPT account.
- Run the AgentHP server on your Mac. A public download for the server is being prepared.
- Connect your Mac and iPhone to the same Tailscale network.
- In the iPhone app settings, enter your Mac’s Tailscale IPv4 address as
http://100.x.x.x:8787. You can also use a Tailscale Serve HTTPS URL if you have configured one. - Once the app shows usage, add an AgentHP widget to your iPhone Home Screen.
Troubleshooting
- Check that the AgentHP server is running on your Mac and reachable from your iPhone.
- History charts appear after the server starts observing usage. History is not recorded while the Mac is off or asleep.
- iOS controls when widgets refresh, so they may show older data than the app.
Contact: hiragram+support@gmail.com