# AI use cases for Grok UI (joeynyc/Grok-UI)

Repo: [joeynyc/Grok-UI](https://github.com/joeynyc/Grok-UI) | Use cases: 3 | Page: https://dedupedai.com/use-cases/joeynyc-grok-ui/

Grok UI is an unofficial, local-first browser dashboard for Grok Build that shows active agents, controls sessions over ACP, inspects Git changes and browses local session history.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Watch every Grok Build session from one dashboard: https://dedupedai.com/use-cases/joeynyc-grok-ui/watch-grok-agents-in-browser-dashboard/
- Control Grok sessions and review Git changes in the browser: https://dedupedai.com/use-cases/joeynyc-grok-ui/control-grok-sessions-and-review-git-changes/
- Run the Grok UI dashboard from source: https://dedupedai.com/use-cases/joeynyc-grok-ui/run-grok-ui-from-source/

## How to watch every Grok Build session from one dashboard with Grok UI

Repo: [joeynyc/Grok-UI](https://github.com/joeynyc/Grok-UI) | Difficulty: Beginner | Time: 10 minutes | Basis: From the README

Launch the unofficial Grok UI with one npx command to see active Grok Build agents, their turns, tools, context and cost in a local browser dashboard.

**Who it is for:** A developer running several Grok Build sessions who wants to see what each agent is doing without switching terminals.

**The problem:** Terminal agents hide their state: you cannot see at a glance which session is thinking, waiting for approval or burning budget.

**The outcome:** A local dashboard fed by Grok's real process registry, with a live event stream of turns, reasoning, tools and cost, plus a usage ledger.

### Steps

1. Check Node, the Grok CLI, authentication and local state: `npx --yes grok-ui doctor`
2. Start the dashboard: `npx --yes grok-ui`
3. Open the dashboard on its loopback address (port 4310 by default)
4. Watch active agents and their live event streams
5. Open the usage view to see token use and cost over time
6. Use --port, --host or --grok-home if your setup differs

### Prompt to paste into your agent

```text
Run npx --yes grok-ui doctor and fix anything it reports, then start Grok UI and tell me the URL. Summarise which Grok sessions are active and which ones are waiting on a permission choice.
```

### Caveat

Grok UI is an independent community project, not affiliated with or endorsed by xAI.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/joeynyc-grok-ui/watch-grok-agents-in-browser-dashboard/

## How to control Grok sessions and review Git changes in the browser with Grok UI

Repo: [joeynyc/Grok-UI](https://github.com/joeynyc/Grok-UI) | Difficulty: Intermediate | Time: 20 minutes | Basis: From the README

Create, resume, prompt, approve and cancel Grok Build sessions from Grok UI over the Agent Client Protocol, while its Git panel shows changes live.

**Who it is for:** A developer who wants to steer Grok agents and review their edits from one browser window instead of the terminal.

**The problem:** Approving permissions and checking diffs in separate terminals is slow, and it is easy to miss what an agent changed.

**The outcome:** One Session Console per agent with chat, permission choices shown exactly as Grok gives them, and staged, unstaged and untracked files updating live.

### Steps

1. Start Grok UI with `npx --yes grok-ui`
2. Create a new session or resume a recorded one from the dashboard
3. Send prompts and answer permission requests; choices are never auto-approved
4. Watch the Git changes panel for staged, unstaged and untracked files with bounded diffs
5. For workflow runs use the Pause, Resume or Stop controls
6. Cancel a session safely; Stop also cancels pending permissions and leaves it ready to resume

### Prompt to paste into your agent

```text
In Grok UI, start a managed Grok session on <repo> with the prompt <task>. Approve only file edits inside <folder>, and when it finishes give me a summary of the Git changes panel before I commit.
```

### Caveat

Remote control of other machines needs separate per-host tokens; keep them private.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/joeynyc-grok-ui/control-grok-sessions-and-review-git-changes/

## How to run the Grok UI dashboard from source with Grok UI

Repo: [joeynyc/Grok-UI](https://github.com/joeynyc/Grok-UI) | Difficulty: Intermediate | Time: 20 minutes | Basis: From the README

Clone Grok UI, run its doctor and start a production build locally, or use the dev server with file watching to change it.

**Who it is for:** A developer who wants to audit, customise or contribute to Grok UI before running it against local agent history.

**The problem:** Running an npx package you have not read against your local session history is a trust decision some teams will not make.

**The outcome:** A locally built Grok UI you can inspect, with checks and tests passing, served from your own machine.

### Steps

1. Clone it: `git clone https://github.com/joeynyc/Grok-UI.git` then `cd Grok-UI`
2. Install exactly from the lockfile: `npm ci`
3. Check prerequisites with `npm run doctor`
4. Start it with `npm start`, which builds the production app if it is missing
5. For development use `npm run dev` to run the API and Vite with file watching
6. Before changes land, run `npm run verify` to check, test and build

### Prompt to paste into your agent

```text
Clone joeynyc/Grok-UI, review server/security.ts and tell me what it exposes beyond loopback, then run npm ci, npm run doctor and npm start, and report the URL and any doctor warnings.
```

### Caveat

It reads local Grok history files, so run it only on machines you trust.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/joeynyc-grok-ui/run-grok-ui-from-source/
