SpecStream for Eko
SpecStream is the live web data engine for teams and agents. Implement ChatService.websearch with SpecStream's Search API, and Eko's webSearch tool gets live results with the text of each page, at $1 per 1,000 searches of up to 10 results.
What you get
- One method
- websearch calls GET /v1/web-search and maps data.sources to Eko's WebSearchResult. No other Eko code changes.
- Page text with each result
- With passages=true each result carries the page text closest to the query, which Eko passes to the model as content.
- Node, web or extension
- The Search API answers cross origin GET requests, so the same function runs in Node.js, a page or an extension's background worker.
Set it up
- Get a SpecStream key on the Search API screen of your workspace.
- Implement ChatService.websearch with one GET to https://api.specstream.ai/v1/web-search.
- Set global.chatService before creating the ChatAgent, then ask a question that needs the web.
The full setup guide has every step, with what to do if something doesn’t arrive.
Live web data, in Eko.
Ask in your own words for companies, places, people, filings or anything else the web lists.