百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

samantha-os1-openai-realtime

> AI 编程
开源

Samantha OS1 是一款基于 OpenAI 实时 API 的对话式 AI 助理。

199 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Samantha OS1 是一款基于 OpenAI 实时 API 的对话式 AI 助理。

Samantha OS¹ (Her)

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.

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

    bash
    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:
      bash
      uv sync
    • Activate the virtual environment:
      bash
      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

    bash
    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:
      bash
      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.

Issues· 6 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonagentai-agentopenairealtime-api

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.