Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

Commit cb429cf

Browse files
2026-08-23 22-03 - Build Remote Agent pairing device
1 parent 9ff117e commit cb429cf

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,42 @@ AgentAPI automatically removes these.
180180

181181
Splitting the terminal output into a sequence of messages should still work, since it doesn't depend on the TUI structure. The logic for removing extra bits may need to be updated to account for new elements. AgentAPI will still be usable, but some extra TUI elements may become visible in the agent messages.
182182

183+
## Pair a phone with Build Remote Agent
184+
185+
You can spectate an AgentAPI-wrapped **Aider** session from a phone running
186+
[Build Remote Agent](https://grokbuildremote.com/). Pairing uses the free MIT
187+
`gbr-agent`. Protocol `gbr/1`. The phone is spectator + veto; AgentAPI stays on
188+
`:3284` and Aider stays the coding agent.
189+
190+
Independent product. Not affiliated with xAI or SpaceX.
191+
192+
```bash
193+
# macOS / Linux
194+
curl -fsSL https://grokbuildremote.com/install.sh | bash
195+
gbr-agent version # need v0.6.0+
196+
gbr-agent pair # QR in browser + printed 8-char code
197+
gbr-agent run # leave running
198+
agentapi server -- aider --model sonnet
199+
```
200+
201+
Phone: open Build Remote Agent → scan the QR (or type the 8-char code).
202+
**Unpair** in Settings before changing PCs.
203+
204+
Attach only:
205+
206+
- HTTP Bot API: `http://127.0.0.1:8788` after `gbr-agent run`
207+
- MCP stdio: `node GrokBuildRemote-Agents/mcp/gbr-mcp/bin/gbr-mcp.js`
208+
209+
```bash
210+
curl -sS http://127.0.0.1:8788/health
211+
curl -sS http://127.0.0.1:8788/v1/sessions
212+
```
213+
214+
Do not send the phone at AgentAPI `:3284`. Do not commit mailbox keys.
215+
Phone **Settings → Bot API** is the only place the relay key is copied.
216+
217+
Agent: https://github.com/LinespottingOrg/GrokBuildRemote-Agents (MIT)
218+
183219
## Roadmap
184220

185221
Pending feedback, we're considering the following features:

0 commit comments

Comments
 (0)