@talocode/searchlane
v0.1.2
Published
Agent web search & research API — structured query, news, and multi-source research with citations
Downloads
205
Maintainers
Readme
SearchLane
Agent web search & research API — structured hits, news search, and multi-source research briefs with citations.
Part of Talocode. Hosted at /v1/searchlane/*.
Install
npm install @talocode/searchlaneSDK
import { SearchLaneClient } from '@talocode/searchlane'
const search = new SearchLaneClient({ apiKey: process.env.TALOCODE_API_KEY })
const hits = await search.query({ query: 'MCP agent tools', limit: 5 })
const brief = await search.research({ query: 'What is llms.txt?' })Cloud SDK
import { Talocode } from '@talocode/sdk'
const tc = new Talocode({ apiKey: process.env.TALOCODE_API_KEY })
await tc.searchlane.query({ query: 'geolane ai visibility' })CLI
npx searchlane query --query "open source AI tools"
npx searchlane news --query "AI agents"
npx searchlane research --query "agent-native APIs"
npx searchlane pricingRoutes
| Method | Path | Credits |
|--------|------|---------|
| GET | /v1/searchlane/health | — |
| GET | /v1/searchlane/pricing | — |
| GET | /v1/searchlane/capabilities | — |
| POST | /v1/searchlane/query | 5 |
| POST | /v1/searchlane/news | 8 |
| POST | /v1/searchlane/research | 30 |
Providers
- Brave — set
BRAVE_API_KEY - Serper — set
SERPER_API_KEY - DuckDuckGo — free fallback
- mock — offline / test fallback
Local server
SEARCHLANE_ALLOW_LOCAL_UNAUTH=true pnpm dev
# http://0.0.0.0:3040License
MIT
