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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vision_agents_plugins_openrouter-0.1.13.tar.gz.
File metadata
- Download URL: vision_agents_plugins_openrouter-0.1.13.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9dea3b9f71c8d1a56ab684ac3136f27c6a3c1367559e877be5b7d27b5df1749
|
|
| MD5 |
d2eb66ba8b8a8ff5001585cb635a8ca9
|
|
| BLAKE2b-256 |
2887202a0b1f64f8797e25dd215b98a2e4d511674cf0640b6fbef37c12ed495e
|
File details
Details for the file vision_agents_plugins_openrouter-0.1.13-py3-none-any.whl.
File metadata
- Download URL: vision_agents_plugins_openrouter-0.1.13-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91df56ba66196b286980b6849515454b582633d84a46247fcbbc81078fe2bb50
|
|
| MD5 |
ba8523807fd126e3354b9f6d2ab44be2
|
|
| BLAKE2b-256 |
7270a47f8d8a10f33440df2045bf6ff72b245a36838b2e4119450f8e096c88fe
|