stitch-sdk-usage
Using the Stitch SDK
The Stitch SDK provides a TypeScript interface for Google Stitch, an AI-powered UI generation service.
Installation
npm install @google/stitch-sdk
Environment Variables
export STITCH_API_KEY="your-api-key"
Quick Start
More from google-labs-code/stitch-sdk
stitch-sdk-readme
Generate or update the README for the Stitch SDK. Use the Bookstore Test structure and source the current API from the codebase. Use when the README needs to be written or updated.
108stitch-sdk-development
Develop the Stitch SDK. Covers the generation pipeline, dual modality (agent vs SDK), error handling, and Traffic Light (Red-Green-Yellow) implementation workflow. Use when adding features, fixing bugs, or understanding the architecture.
98stitch-sdk-domain-design
Design the domain model for the Stitch SDK. Use when mapping MCP tools to domain classes and bindings in domain-map.json. This is Stage 2 of the generation pipeline.
95stitch-sdk-pipeline
Run the full Stitch SDK generation pipeline. Use when a new tool is added, or the SDK needs to be regenerated end-to-end.
94tdd-red-green-refactor
>
91stitch-sdk-bug-bash
Find bugs in the Stitch SDK using a real API key. Covers standard functional edges and tricky situations.
39