agents
agents copied to clipboard
[Plugin] livekit-plugins-olostep — web search and scraping tools for voice agents
Feature Type
Nice to have
Feature Description
Summary
Proposes adding livekit-plugins-olostep — a new plugin that provides
@function_tool-compatible helpers for web search and URL scraping via the
Olostep API, usable directly inside LiveKit voice agents.
Use case
Voice agents often need to look up live information mid-conversation:
from livekit.agents import Agent, function_tool, RunContext
from livekit.plugins import olostep
@function_tool
async def search_web(context: RunContext, query: str):
"""Search the web and return relevant results."""
return await olostep.search(query)
@function_tool
async def fetch_page(context: RunContext, url: str):
"""Fetch a web page and return its content as Markdown."""
return await olostep.scrape(url)
agent = Agent(
instructions="You are a helpful assistant. Use tools to look up live info.",
tools=[search_web, fetch_page],
)
Implementation plan
- New package:
livekit-plugins/livekit-plugins-olostep/ - Two async functions:
search(query)andscrape(url) search()callsPOST https://api.olostep.com/v1/searchesviaaiohttp(no SDK namespace for searches)scrape()usesAsyncOlostepClientfrom the officialolostepPython SDK- Requires
OLOSTEP_API_KEYenv var - Follows same structure as other simple plugins (e.g. livekit-plugins-rime)
I am a developer at Olostep and will maintain this plugin.
Workarounds / Alternatives
No response
Additional Context
No response