GetStream /Vision-Agents

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.

★ 8,201⑂ 697👁 49⑃ 524● 26▤ 54
PythonCreated 2025-08-12visionagents.ai
TA的项目
8,201
stars
+0+2+44
697
forks
49
watchers
524
prs
26
issues
54
releases
–
discussions

README

!VisionAgents

 Open Vision Agents by Stream





!PyPI - Python Version




 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.

python
 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

| Feature              | Description                                                                                         |
|--------------------------|---------------------------------------------------------------------------------------------------------|
| Real-time WebRTC     | Stream video directly to model providers for instant visual understanding.                              |
| Video Processing     | Pluggable processor pipeline for YOLO, Roboflow, or custom PyTorch/ONNX models before/after LLM calls. |
| Turn Detection       | Natural conversation flow with VAD, diarization, and smart turn-taking.                                 |
| Tool Calling & MCP   | Execute code and APIs mid-conversation — Linear issues, weather, telephony, or any MCP server.          |
| Phone Integration    | Inbound and outbound voice calls via Twilio or Telnyx with bidirectional audio streaming.               |
| RAG 

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON