agents icon indicating copy to clipboard operation
agents copied to clipboard

[Plugin] livekit-plugins-olostep — web search and scraping tools for voice agents

Open umerkay opened this issue 6 months ago • 0 comments

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) and scrape(url)
  • search() calls POST https://api.olostep.com/v1/searches via aiohttp (no SDK namespace for searches)
  • scrape() uses AsyncOlostepClient from the official olostep Python SDK
  • Requires OLOSTEP_API_KEY env 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

umerkay avatar May 22 '26 09:05 umerkay