AI Companion App
lastmod 2023-07-17created 2023-07-171 edits
AI companions with memory: a lightweight stack to create and host your own AI companions
Features
- AI Companion App, open-sourced by a16z
- A tutorial stack for creating and hosting chat-capable AI companions (based on the AI Getting Started Stack)
- Personality and backstory can be specified for use in various modes (AI girlfriend/boyfriend, friend, entertainment, coach, etc.)
- Supports ChatGPT or Vicuna
- Similarity search using a vector database
- Supports conversation memory
Tech stack
- Auth: Clerk
- App logic: Next.js
- VectorDB: Pinecone / Supabase pgvector
- LLM orchestration: Langchain.js
- Text model: OpenAI, Replicate (Vicuna13b)
- Text streaming: ai sdk
- Conversation history: Upstash
- Deployment: Fly
- Text with companion: Twilio