ai-chat-app-with-agents-getstream  by hiteshchoudhary

Modern AI chat app with intelligent writing and web search

Created 6 months ago
256 stars

Top 98.5% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a full-stack AI-powered chat application, integrating real-time messaging with OpenAI's GPT-4 and live web search capabilities. It targets developers seeking to build intelligent communication platforms, offering an AI writing assistant and dynamic agent management for enhanced content creation, research, and collaboration within a modern React interface.

How It Works

The application leverages a Node.js/Express backend and a React/TypeScript frontend. Real-time chat functionality is handled by GetStream.io, while OpenAI's GPT-4 API powers the AI writing assistant. Live web search is integrated using the Tavily API. AI agents are dynamically created per channel, initialized with OpenAI assistants capable of web search, and automatically cleaned up after inactivity. The architecture emphasizes seamless integration of these services for a cohesive user experience.

Quick Start & Requirements

  • Prerequisites: Node.js 20+, npm/yarn, GetStream.io account, OpenAI API account, Tavily API account.
  • Setup: Clone the repository, navigate to backend/frontend directories, run npm install, copy .env.example to .env, and configure Stream, OpenAI, and Tavily API keys, along with the backend URL.
  • Running: Start the backend (npm run dev in nodejs-ai-assistant/) and frontend (npm run dev in react-stream-ai-assistant/).
  • Links: GetStream.io Dashboard, OpenAI API Keys, Tavily.com.

Highlighted Details

  • Real-time chat powered by GetStream.io.
  • AI Writing Assistant leveraging OpenAI GPT-4.
  • Live web search integration via Tavily API.
  • Dynamic AI agent lifecycle management per channel.
  • Modern UI built with React, Tailwind CSS, and shadcn/ui.
  • Secure JWT-based authentication.

Maintenance & Community

The provided README does not detail specific contributors, sponsorships, or community channels (e.g., Discord/Slack). Contribution guidelines are included.

Licensing & Compatibility

This project is licensed under the MIT License, which generally permits commercial use and integration into closed-source projects.

Limitations & Caveats

Setup requires obtaining and configuring API keys from three distinct third-party services (GetStream.io, OpenAI, Tavily), which may involve associated costs. The README does not specify any known bugs, alpha/beta status, or unsupported platforms.

Health Check
Last Commit

6 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.