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_in_seconds=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.2.1.tar.gz (4.9 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.2.1.tar.gz.

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4e1cccd3c6c9fd36472f97f23c6b03f1a124cc89c6eafc8cd442db823290d166
MD5 5400d3f888440ff91555982e0f9bb288
BLAKE2b-256 cf9e1e2087d4b538b54ce9ea8363555ba57706508927fb19324f6e375c2998ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49a81a5e95910900ac93fb1a89a7fe6e6c9fae2cf138b1602485ba3965253dce
MD5 a707b0d6e6b06497d539bd87c684eda8
BLAKE2b-256 71729bc24d8f5b1a8b294524cf40a34968b730c3b45cab2e7f207190b1a9e4b0

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