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.11.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.11.tar.gz.

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.1.11.tar.gz
Algorithm Hash digest
SHA256 fe21aaaaabeeea5dad5d7793d72ad3d1daf50ba0a5de2f6248f6a0bdf8e99844
MD5 cdba3b86fa5add07dda7c6e49b8c68b2
BLAKE2b-256 c7cec068a0109af58f7db1c18fbde19b15ce7e686f4f287312711329b31b80c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vision_agents_plugins_openrouter-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1db5cbb2a08b6b3c58a8e1e91c7b2fb34fdad3afc55c79da650ec44910d01110
MD5 47f7a330438d6d5304007407edf7dd72
BLAKE2b-256 efa88b23e9c16308fdce61886165ea540f4f93f81a075c6627c9880ecd43a81a

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