qmetrics.net

Stitch SDK

TypeScript SDK for Stitch UI generation

The Stitch SDK generates and edits mobile, desktop, or tablet UI screens from text prompts and returns HTML and screenshot URLs programmatically.

Overview

Stitch SDK is a TypeScript client for Google’s Stitch design service, which produces user interface screens from natural-language prompts. You authenticate with an API key or OAuth credentials, open or create projects, call generate with a prompt and optional device type, then fetch HTML and image download URLs for each screen.

Project APIs list screens, load a screen by ID, edit layouts with follow-up prompts, and create design variants with controls for count, creative range, and which aspects change. Design systems can be created, updated, and applied to selected screen instances within a project. Domain classes cache generation results when possible and call Stitch APIs when data must be refreshed.

For agents, StitchToolClient exposes MCP tools directly, while stitchTools integrates with the Vercel AI SDK and Google ADK so models can invoke generation tools autonomously. A StitchProxy can forward MCP requests through your own server. Methods may raise StitchError with codes such as rate limits, auth failures, or clarification questions that you answer by resubmitting a prompt.

Configuration uses environment variables including STITCH_API_KEY, optional OAuth tokens, project ID, and host overrides. The package notes it is not an officially supported Google product.

Key features

  • Text-to-UI screen generation
  • HTML and screenshot download URLs
  • Project and screen management APIs
  • Prompt-based screen edits
  • Design variant generation options
  • Design system create and apply
  • MCP and AI SDK tool integration
  • Clarification-aware error handling

Use cases

  • Automate UI mockups from prompts
  • Wire Stitch into AI agent workflows
  • Iterate screens with edit and variants
  • Apply branding via design systems
  • Extract HTML for downstream tooling

Similar software

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 16 days agoMIT
Open Source Alternative to:Claude in Chrome

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
TypeScriptDetails →
★ 28.4k⟳ todayApache-2.0

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT