Tambo: Generative UI SDK for React
tambo-ai/tamboGenerative UI SDK for React
Evaluate and collect.
What the project says.
Tambo Cloud is shutting down. New signups are closed. Tambo Cloud keeps running until October 31, 2026 , after which the hosted API stops responding; user data is deleted November 30, 2026. Read the announcement. Tambo is open source and self-hostable: see SELF-HOSTING.md to keep running it yourself. The team is now building Charming, a collaborative cloud for apps built with any AI agent. Tambo AI Build agents that speak your UI The open-source generative UI toolkit for React. Connect your components - Tambo handles streaming, state management, and MCP. Shutdown Notice • Self-Host • Docs • Discord --- Table of Contents - What is Tambo? - Get Started - How It Works - Features - How Tambo Compares - Community - License What is Tambo? Tambo is a React toolkit for building agents that render UI (also known as generative UI). Register your components with Zod schemas. The agent picks the right one and streams the props so users can interact with them. "Show me sales by region" renders your . "Add a task" updates your . Get started in 5 minutes → What's Included Tambo is a fullstack solution for adding generative UI to your app. You get a React SDK plus a backend that handles conversation state and agent execution. 1. Agent included - Tambo runs the LLM conversation loop for you. Bring your own API key (OpenAI, Anthropic, Gemini, Mistral, or any OpenAI-compatible provider). Works with agent frameworks like LangChain and Mastra, but they're not required. 2. Streaming infrastructure - Props stream to your components as the LLM generates them. Cancellation, error recovery, and reconnection are handled for you. 3. Tambo Cloud or self-host - Cloud is a hosted backend that manages conversation state and agent orchestration. Self-hosted runs the same backend on your infrastructure via Docker. Most software is built around a one-size-fits-all mental model. We built Tambo to help developers build software that adapts to users. Get Started Tambo Cloud is the hosted backend; new signups are closed and it shuts down October 31, 2026 (announcement). Self-hosted runs on your own infrastructure; see SELF-HOSTING.md. Check out the pre-built component library for agent and generative UI primitives: Or fork a template: Template Description ------------------------------------------------------------------------ ------------------------------------------------- AI Chat with Generative UI Chat interface with dynamic component generation AI Analytics Dashboard Analytics dashboard with AI-powered visualization How It Works Tell the AI which components it can use. Zod schemas define the props. These schemas become LLM tool definitions - the agent calls them like functions and Tambo renders the result. Generative Components Render once in response to a message. Charts, summaries, data visualizations. Interactable Components Persist and update as users refine requests. Shopping carts, spreadsheets, task boards. Docs: generative components, interactable components The Provider Wrap your app with TamboProvider . You must provide either userKey or userToken to identify the thread owner. Use userKey for server-side or trusted environments. Use userToken (OAuth access token) for client-side apps where the token contains the user identity. See User Authentication for details. Docs: provider options Hooks useTambo() is the primary hook - it gives you messages, streaming state, and thread management. useTamboThreadInput() handles user input and message submission. Docs: threads and messages, streaming status, full tutorial Features MCP Integrations Connect to Linear, Slack, databases, or your own MCP servers. Tambo supports the full MCP protocol: tools, prompts, elicitations, and sampling. Docs: MCP integration Local Tools Sometimes you need functions that run in the browser. DOM manipulation, authenticated fetches, accessing React state. Define them as tools and the AI can call them. Docs: local tools Context, Auth, and Suggestions Additional context lets you pass me...
Continue the conversation.
Comments, one-level replies, owner highlights, and discussion notifications are included with ORYNT membership.
Sign in with GitHub