What problem does it solve?
This Skill provides React hooks and UI primitives to manage multi-thread conversations, including threads, messages, suggestions, voice input, and image attachments, enabling complex chat UIs with minimal boilerplate.
Core Features & Use Cases
- Thread management: create, switch, and track the active thread across conversations.
- Rich interactions: integrate suggestions, voice input, and image attachments within each thread.
- Developer ergonomics: simple hooks from @tambo-ai/react for building scalable, multi-thread chat interfaces in React apps.
- Use Case: Build a customer support chat UI that maintains separate threads per customer, with live suggestions and optional voice-to-text.
Quick Start
Use the useTamboThread hook to access the current thread and send messages:
const { thread, sendThreadMessage, isIdle } = useTamboThread();
await sendThreadMessage("Hello", { streamResponse: true });