Skip to main content

OpenRouter plugin for vision agents

Project description

OpenRouter Plugin

OpenRouter plugin for vision agents. This plugin provides LLM capabilities using OpenRouter's API, which is compatible with the OpenAI API format.

Note/ Issues

Instruction following doesn't always work with openrouter atm.

Installation

uv pip install vision-agents-plugins-openrouter

Usage

from vision_agents.plugins import openrouter, getstream, elevenlabs, cartesia, deepgram, smart_turn


agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="OpenRouter AI"),
    instructions="Be helpful and friendly to the user",
    llm=openrouter.LLM(
        model="anthropic/claude-haiku-4.5",  # Can also use other models like anthropic/claude-3-opus
    ),
    tts=elevenlabs.TTS(),
    stt=deepgram.STT(),
    turn_detection=smart_turn.TurnDetection(
        buffer_duration=2.0, confidence_threshold=0.5
    )
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vision_agents_plugins_openrouter-0.1.9.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file vision_agents_plugins_openrouter-0.1.9.tar.gz.

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e9050e2cb7716eb182b8d34654189cd71638b9ed096634c39a9cbb16dd8c8b73
MD5 195e643683c1fb3f107f17b0b0770e28
BLAKE2b-256 a47b047f8732d854aea0ff6f4969ad818f70d9664aa2b61a18ecd1903b5f7f93

See more details on using hashes here.

File details

Details for the file vision_agents_plugins_openrouter-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f4471385590b197419a6844a082561545cf965848250b6304ba1e70646505ceb
MD5 5811ed25a138ce5f8af1daa477eb2156
BLAKE2b-256 f546aef606bdf3d9f0ebf3ba26d3a3ed8dcf36d2289ef962f1ae6184b00f90c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page