Agent-ready implementation packet
Headless SDK Agent Builder
Configure the integration once, then hand a coding agent the exact package names, safety rules, files, snippets, and tests it needs to avoid hallucinated APIs or browser credentials.
Selected capabilities
client tools, typed rich content, diagnostics
Preflight checks
No browser secrets
Token exchange stays behind a server route.
Typed message parts
Generated UI renders message.parts instead of widget DOM.
Tool schemas
Selected tools include JSON Schema input validation.
Mock transport test
Test snippet uses createMockChatClient and mockScenarios.
Customer proxy transport
Direct mock transport remains local-only.
Generated artifacts
Copy the tabs into a coding-agent task or use them as the integration checklist.
mock-first validation
# In this prototype workspace
pnpm install --frozen-lockfile
# Future published package shape
pnpm create next-app support-chat
npm install gecx-chat
# Validate locally
pnpm typecheck
pnpm test