Before you begin, you'll need:
- A Stream API Key (Register for free)
- OpenAI API credentials (Sign up)
- Anthropic API credentials (Sign up)
This repository showcases official Stream sample projects demonstrating Generative AI integration with Chat API and UI Kits.
Frontend SDKs:
- React for web apps
- React Native for mobile apps
- Jetpack Compose for Android
- Swift UI for iOS
- Flutter for cross-platform development
Backend Examples:
- NodeJS implementation
- Python AI Chat implementation
You can use our pre-built OpenAI/Anthropic integrations or extend the Agent class to work with any external LLM provider.
The repository implements a modular architecture that connects Stream's Chat functionality with various LLM providers:
Key features:
- Pre-built integrations with OpenAI and Anthropic
- Extensible Agent class for custom LLM provider integration
- Built-in UI components that handle:
- Loading states
- Code block rendering
- Markdown formatting
- Table displays
- Image rendering
- Clone the repo
- Configure environment variables:
cp .env.example .env
- Add the following credentials to your
.env
:
- Follow the setup instructions in the nodejs-ai-assistant directory
- Start reading our comprehensive backend integration guide written by Stream engineers explaining the setup and integration with Stream Chat.
Select your preferred SDK to get started.
- How to Build an AI Assistant with React
- How to Build an AI Assistant with React Native
- How to Build an AI Assistant for Android Using Compose
- How to Build an AI Assistant for iOS Using Swift UI
- How to Build an AI Assistant with Flutter
These guides explore more of how AI can be used across our SDKs and products.
- How to Build an AI Chat Android App With Googleβs Generative AI
- How to Build an LLM-powered Chatbot For Your Documentation
- How to Build an AI bot Using Stream Chat, HuggingFace, and DialogGPT
- How to Build AI-Powered Chatbot Apps for Android Using Firebase
- How to Add RAG-Based AI to Team Chat With Stream
- How to Build an Agentic RAG System With OpenAI, LanceDB, and Phidata
- How to Chat With Any Book Using Pinecone, OpenAI, and Stream
Check out what the community has built using Stream.
- How to Build a Therapy Marketplace Using Next.js and Firebase
- How to Build a React Native Mental Health App with Stream Chat & Video Call
- How to Build a Remote Interview App with React & Next.js
- How to Implement Context-Aware AI Responses in Your Chat App
- How to Build a Job Application and Interview Platform with Next.js, Stream, and Firebase
- How We Built an AI Wine Sommelier App Using Stream Video & GPT
- How to Build Video Calling Into Your App With Amazon Chime, AWS Lambda & Stream
- How to Add Real-Time Chat Translation Using Stream
- How a Global Airline Streamlines Team Operations With Stream Chat
- How to Build a RAG AI Chatbot with Stream
- How to Add Real-Time Chat to Your AWS Application
- How to Add RAG-Based AI to Team Chat With Stream
Explore real-world apps built by developers using Stream SDKs, featured on YouTube.
-
Build a ChatGPT Clone with Stream and Neon β Brad Traversy
A full-stack AI chatbot app with conversational context and auth, built from scratch by Brad Traversy. -
Build a Language Exchange Platform with Real-Time Chat & Video β Burak (Codesistency)
A multilingual video calling platform using Stream, JWT auth, and DaisyUI themes. -
How to Build a Remote Interview Platform with Stream β Burak (Codesistency)
A remote interview app built with React, TypeScript, Tailwind, and Stream Video SDK designed for remote hiring use cases. -
Build a React Native Mental Health App with Stream Chat & Video β Simon
A cross-platform app for therapy and support sessions with integrated real-time messaging and video calling.
We welcome contributions that improve functionality or fix issues:
- Fork the repository
- Create a feature branch
- Implement your changes
- Add tests if applicable
- Submit a PR with a clear description/changes
We encourage you to try the tutorials and submit new sample apps π₯³
- How can I submit a sample app?
- Open a pr with a proper description and we'll review it as soon as possible.
- Open an issue with:
- Clear steps to reproduce
- Add screenshots/videos if possible
- Expected behavior
- Actual behavior
- Platform/environment details