{"repo":"electric-sql/electric-ai-chat","free":true,"listed":false,"github":"https://github.com/electric-sql/electric-ai-chat","clone":"git clone https://github.com/electric-sql/electric-ai-chat.git","description":"AI chat application using Electric for resumeability, interruptability, multi-user and multi-agent sync.","language":"TypeScript","stars":74,"topics":["agents","ai","chat","sync","apps"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"Electric AI Chat AI chat application using Electric for resumeability, interruptability, multi-user and multi-agent sync. See the Building&nbsp;AI&nbsp;apps&nbsp;on&nbsp;sync blog post for more context. ElectricSQL Electric is a Postgres sync engine. It solves the hard problems of sync for you, including partial replication, fan-out, and data delivery. See https://electric-sql.com for more information. Building AI apps on sync This is a demo application that shows how to build collaborative AI apps that use Electric to keep both agents and users in sync. It shows: - real-time multi-agent, multi-user and multi-device sync - live streaming of AI sessions with seamless resumeability and session continuity - real-time streaming of LLM tool responses The demo is deployed at electric-ai-chat.examples.electric-sql.com. See the blog post for more information. Getting Started Pre-reqs - Node.js (v18 or higher) - pnpm (v8 or higher) - Docker and Docker Compose (for local development environment) - An OpenAI API key Install Clone the repository and install dependencies: Develop 1. Start Postgres and Electric using Docker: 2. Start the backend API: 3. Build and serve the frontend app: Open in your browser at http://localhost:5173 Code structure Stack 1. Front-end - React 19 - TypeScript - Vite - TanStack Router - Radix UI 2. Back-end : - Node.js - Hono (web framework) - TypeScript 3. Database : - Postgres - ElectricSQL for sync 4. AI : - OpenAI API with tool calling capabilities Tools Th","default_branch":null,"files":null,"tree":[],"storefront":"/r/electric-sql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/electric-sql/electric-ai-chat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}