Vision-Agents

GetStreamApache-2.0活跃维护

基于 Stream 边缘网络快速搭建语音与视觉智能体,可接入任意模型或视频源,实现超低延迟的实时多模态交互。

Open Vision Agents by Stream. Build voice and vision agents quickly with any model or video provider. Uses Stream's edge network for ultra-low latency.

v0.6.9发布于 2026-08-13 20:37 UTC8,203star +2 / 7 天700fork同步于 2026-11-10 11:31 UTC

怎么上手

由 README 提炼,执行前请确认
uv add vision-agents
uv add "vision-agents[getstream, openai, elevenlabs, deepgram]"
硬件要求按 README 说明

README 未说明整体显存要求;示例中 YOLO 姿态处理器通过 device="cuda" 指定在 GPU 上运行,未列出具体 GPU 型号或显存。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用任意模型和视频源快速搭建能看能听的实时多模态 AI 智能体

基于 Stream 边缘网络快速搭建语音与视觉智能体,可接入任意模型或视频源,实现超低延迟的实时多模态交互。

核心能力

  • 通过 Stream 边缘网络实现 500ms 加入、音视频延迟低于 30ms
  • 可插拔视频处理器管线,支持 YOLO、Roboflow 及自定义 PyTorch/ONNX 模型
  • 内置 VAD、说话人分离与智能轮次检测的对话流
  • 支持工具调用与 MCP,可在对话中执行代码和 API
  • 提供 HTTP 服务器、Prometheus 指标与 Kubernetes 部署能力

容易踩的坑

需要自行到 Stream 申请 API 密钥才能使用边缘网络;集成能力需通过 extras 单独安装,默认安装不含各模型插件;示例中的 YOLO 模型文件(如 yolo11n-pose.pt)需另行准备。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.6.9
  1. v0.6.9最新正式版2026-08-13 · 2026-08-13 20:37 UTC

    What's Changed

    New Contributors

    Full Changelog: https://github.com/GetStream/Vision-Agents/compare/v0.6.8...v0.6.9

  2. v0.6.82026-07-21 · 2026-07-21 21:08 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/GetStream/Vision-Agents/compare/v0.6.7...v0.6.8

  3. v0.6.72026-07-14 · 2026-07-14 22:05 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/GetStream/Vision-Agents/compare/v0.6.6...v0.6.7

  4. v0.6.62026-07-01 · 2026-07-01 15:11 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/GetStream/Vision-Agents/compare/v0.6.5...v0.6.6

  5. v0.6.52026-06-30 · 2026-06-30 23:31 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/GetStream/Vision-Agents/compare/v0.6.4...v0.6.5

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    VisionAgents

    Open Vision Agents by Stream

    Listed on TakoAPI

    build PyPI version PyPI - Python Version License Discord X (Twitter)

    Multi-modal AI agents that watch, listen, and understand video.

    Vision Agents give you the building blocks to create intelligent, low-latency video experiences powered by your models, your infrastructure, and your use cases.

    Key Highlights

    • Video AI: Built for real-time video AI. Combine YOLO, Roboflow, and others with Gemini/OpenAI in real-time.
    • Low Latency: Join quickly (500ms) and maintain audio/video latency under 30ms using Stream's edge network.
    • Open: Built by Stream, but works with any video edge network.
    • Native APIs: Native SDK methods from OpenAI (create response), Gemini (generate), and Claude ( create message) — always access the latest LLM capabilities.
    • SDKs: SDKs for React, Android, iOS, Flutter, React Native, and Unity, powered by Stream's ultra-low-latency network.

    Getting Started

    Step 1: Install via uv

    uv add vision-agents

    Step 2: (Optional) Install with extra integrations

    uv add "vision-agents[getstream, openai, elevenlabs, deepgram]"

    Step 3: Obtain your Stream API credentials

    Get a free API key from Stream. Developers receive 333,000 participant minutes per month, plus extra credits via the Maker Program.

    Follow the quickstart guide to build your first agent.

    See It In Action

    https://github.com/user-attachments/assets/d1258ac2-ca98-4019-80e4-41ec5530117e

    This example shows you how to build golf coaching AI with YOLO and Gemini Live. Combining a fast object detection model (like YOLO) with a full realtime AI is useful for many different video AI use cases. For example: Drone fire detection, sports/video game coaching, physical therapy, workout coaching, just dance style games etc.

    # partial example, full example: examples/02_golf_coach_example/golf_coach_example.py
    agent = Agent(
        edge=getstream.Edge(),
        agent_user=agent_user,
        instructions="Read @golf_coach.md",
        llm=gemini.Realtime(fps=10),
        processors=[ultralytics.YOLOPoseProcessor(model_path="yolo11n-pose.pt", device="cuda")],
    )
    

    Features

    FeatureDescription
    Real-time WebRTCStream video directly to model providers for instant visual understanding.
    Video ProcessingPluggable processor pipeline for YOLO, Roboflow, or custom PyTorch/ONNX models before/after LLM calls.
    Turn DetectionNatural conversation flow with VAD, diarization, and smart turn-taking.
    Tool Calling & MCPExecute code and APIs mid-conversation — Linear issues, weather, telephony, or any MCP server.
    Phone IntegrationInbound and outbound voice calls via Twilio or Telnyx with bidirectional audio streaming.
    RAGRetrieval-augmented generation with TurboPuffer/Qdrant vector search or Gemini FileSearch.
    MemoryAgents recall context across turns and sessions via Stream Chat.
    Text Back-channelMessage the agent silently during a call — coaching overlays, silent instructions, etc.
    Production ReadyBuilt-in HTTP server, Prometheus metrics, horizontal scaling, and Kubernetes deployment.

    Out-of-the-Box Integrations

    LLMs: OpenAI · Gemini · xAI · OpenRouter · Hugging Face · Kimi AI · MiniMax · Telnyx

    Realtime: OpenAI Realtime · Gemini Live · AWS Nova Sonic · Qwen · Inworld

    STT: Deepgram · AssemblyAI · Fast-Whisper · Fish Audio · Wizper · Mistral Voxtral · Telnyx

    TTS: ElevenLabs · Cartesia · Deepgram · AWS Polly · Pocket · Kokoro · Inworld · Fish Audio · Telnyx

    Vision: Ultralytics · Roboflow · Moondream · TwelveLabs · NVIDIA · Decart

    Avatars: LemonSlice

    Turn Detection: Vogent · Smart Turn

    Other: Twilio · Telnyx · TurboPuffer

    Documentation

    Check out the full docs at VisionAgents.ai.

    Quickstart: Voice AI · Video AI

    Guides: MCP & Function Calling · Video Processors · Phone Calling · RAG · Testing

    Production: HTTP Server · Deployment · Kubernetes · Horizontal Scaling · Prometheus Metrics

    Examples

    🔮 Demo Applications
    Voice Agents (Low Latency + RAG + File Search)Build fast voice agents that can reason over knowledge, search files, and respond in real time.• Low-latency voice interactions• Retrieval-augmented responses• File and knowledge search >Source Code and tutorial
    Realtime Coaching and Video UnderstandingPower interactive coaching flows with live pose tracking and processor pipelines for frame-by-frame understanding.• Real-time pose tracking• Actionable coaching feedback• Video processor pipeline support >Source Code and tutorial
    Video Restyling and AvatarsUse models like Decart Lucy to build virtual try-ons, stylized scenes, or give your agents a visual identity.• Real-time video restyling• Virtual try-on experiences• Avatar-like visual presence >Source Code and tutorial
    Custom Video Models (Roboflow, YOLO, and More)Train and run custom computer vision models for security monitoring, moderation, and other domain-specific workflows.• Bring your own CV models• Real-time moderation pipelines• Security and detection use cases >Source Code and tutorial
    Tools, MCP, and Phone CallingConnect external APIs and services so agents can validate data and take real-world actions during live conversations.• MCP and function calling support• Twilio and Telnyx phone workflows• Real-time fraud response automation >Phone + RAG example · >Telnyx phone examples · >Fraud workflow example

    Community Highlights

    More involved demos built by the community and the Stream team - full applications that go beyond the in-repo examples and show what's possible with Vision Agents in production.

    Got a demo you'd like featured? Open a PR or reach out on Discord.

    • Sales Assistant Demo - a real-time AI meeting coach that lives on your desktop as a translucent macOS overlay. Built on Vision Agents and Flutter.
    • Crashout Buddy - an emotionally aware voice agent demo built on Vision Agents and Stream Video.
    • Cricket DRS AI — AI-powered Decision Review System for 🏏 Women's Cricket using Gemini Live vision, YOLO pose detection, and real-time voice verdicts by @jaya6400.

    Development

    See DEVELOPMENT.md

    Want to add your platform or provider? See Create Your Own Plugin or reach out to [email protected].

    Current Limitations

    • Video AI struggles with small text — models may hallucinate scores, signs, etc.
    • Context degrades on longer sessions (~30s+) for continuous video understanding
    • Most use cases need a mix of specialized models (YOLO, Roboflow) with larger LLMs
    • Real-time models require audio/text to trigger responses — video alone won't prompt output

    Star History

    Star History Chart