Back to Trending
RepositoryPythonESSpain
jesuscopado

jesuscopado/samantha-os1-openai-realtime

Samantha OS1 is a conversational AI assistant powered by the Realtime API from OpenAI

205stars
88forks
4issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: realtime-api

#1 Repository of the month

2
TINIX TRENDING·Topic: speech-to-speech

#2 Repository of the month

1
TINIX TRENDING·Topic: realtime-api

#1 Repository of the month

Samantha OS¹ (Her)

YouTube Demo
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.

YouTube Demo

Watch a 2-minute demonstration of Samantha in action, where I showcase real-time voice interactions and various capabilities of the AI assistant.

YouTube Demo
👆 Click the image to watch the demo on YouTube

Setup and Running

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.

Option 1: Using Virtual Environment

  1. Clone the Repository

    git clone https://github.com/jesuscopado/samantha-os1.git
    cd samantha-os1
    
  2. Set Up Virtual Environment

    • Install uv package manager: Installation Instructions
    • Create the virtual environment:
      uv sync
      
    • Activate the virtual environment:
      source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
      
  3. Environment Variables

    • Create a .env file in the root directory by copying .env.example and updating it with your own keys.
  4. Run the Application

    cd app
    chainlit run samantha.py
    

Option 2: Using Docker Compose

  1. Environment Variables

    • Create a .env file in the root directory by copying .env.example and updating it with your own keys.
  2. Build and Run with Docker Compose

    • Make sure Docker and Docker Compose are installed.
    • Run the following command:
      docker-compose up --d
      

Tools and Features

This project includes several powerful tools:

  • Stock Price Queries: Using the yfinance package, Samantha can query the latest stock price information.
  • Plotly Charts: Visualizations are created using Plotly to provide insights.
  • Image Generation: Samantha can generate images using AI models through the Together API.
  • Browser Interaction: Open web pages based on prompts.
  • Internet Search: Samantha can perform internet searches via the Tavily API.
  • LinkedIn Post Drafting: Create LinkedIn posts based on given topics using an AI model.
  • Python Script Generation: Generate Python scripts on-demand based on user-provided topics.
  • Python File Execution: Create and execute Python scripts directly from the assistant.
  • 🆕 Database Interaction: Convert natural language to SQL and execute db commands with formatted results.
  • 🆕 Email Drafting: Compose professional, personalized emails with appropriate subject lines and content.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

268.0k
Dec 3, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
RepositoryPython
langchain-ai/langchain

The agent engineering platform.

150.3k
Dec 3, 2026
RepositoryTypeScript
OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

94.8k
Dec 3, 2026
RepositoryPython
shareAI-lab/learn-claude-code

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

81.2k
Nov 15, 2026
RepositoryPython
bojieli/ai-agent-book

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

60.6k
Dec 1, 2026
RepositoryPython
zhayujie/CowAgent

Open-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.

48.2k
Dec 3, 2026