Samantha OS1 是一款基于 OpenAI 实时 API 的对话式 AI 助理。
Samantha OS¹ loading animation
Samantha is an AI assistant inspired by the movie Her. This project is built to provide real-time voice interactions using the Realtime API and Chainlit. Samantha acts as an agent that calls various tools to handle user requests, such as querying stock prices, executing SQL commands, generating images, and creating Python scripts.
Watch a 2-minute demonstration of Samantha in action, where I showcase real-time voice interactions and various capabilities of the AI assistant.
Click the image to watch the demo on YouTube
You can run Samantha either by setting up a virtual environment using uv or using Docker Compose. Note that setting up the environment variables is required in all cases.
Clone the Repository
git clone https://github.com/jesuscopado/samantha-os1.git
cd samantha-os1Set Up Virtual Environment
uv package manager: Installation Instructionsuv syncsource .venv/bin/activate # On Windows use `.venv\Scripts\activate`Environment Variables
.env file in the root directory by copying .env.example and updating it with your own keys.Run the Application
cd app
chainlit run samantha.pyEnvironment Variables
.env file in the root directory by copying .env.example and updating it with your own keys.Build and Run with Docker Compose
docker-compose up --dThis project includes several powerful tools:
yfinance package, Samantha can query the latest stock price information.暂无开放 Issues,或尚未同步最近议题。