Adds Grok Build harness example #791
Open
vishxrad wants to merge 6 commits into
Open
Conversation
# Conflicts: # pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Grok Build harness example that connects OpenUI’s
AgentInterfaceto xai-org/grok-build.Linear: TH-2347 — Grok Build harness
What changed
examples/harnesses/grok-build.AgentInterfaceandopenuiChatLibrary.Architecture
Grok Build exposes Agent Client Protocol events, while
AgentInterfaceconsumes supported browser streaming formats. This example therefore includes an ACP-to-AG-UI bridge that maps Grok’s native session updates into the message and tool-call lifecycle expected by OpenUI.Future integration
The ACP bridge is currently implemented inside the example. If more ACP-compatible agents are integrated with OpenUI, we could promote this into an official server-side ACP adapter.
That integration could provide reusable handling for:
OpenUI Lang and the renderer should remain protocol-independent; ACP support would live in the server integration layer.
Validation