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, generating images, and creating Python scripts.
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-os1
Set Up Virtual Environment
uv
package manager: Installation Instructionsuv sync
source .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.py
Environment 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 --d
This project includes several powerful tools:
yfinance
package, Samantha can query the latest stock price information.This project is licensed under the MIT License.
¹ Samantha OS is inspired by the movie Her, but it is not affiliated with or endorsed by any related entities.