AIToday

agent-asearch: Go CLI tool for searching 18 sources in parallel for AI agents, with session-based pagination to reduce token usage

Hacker News22h ago2 min read
agent-asearch: Go CLI tool for searching 18 sources in parallel for AI agents, with session-based pagination to reduce token usage

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. 1

    agent-asearch searches simultaneously across web, Hacker News, Reddit, GitHub, YouTube, X/Twitter, and code, plus 18 API backends (Tavily, Exa, Brave, SearXNG, Serper, SerpAPI, Perplexity, You.com, Firecrawl, Parallel.ai, and others); 5 sources work without API keys (Hacker News, Reddit, GitHub, Jina, web auto-fallback).

  2. 2

    Returns compact metadata first, then agent reads only selected pages through paginated queries (asearch results read -s SID --seq N --limit M), avoiding context bloat; single Go binary with Cobra as the only dependency.

  3. 3

    Session-based workflow stores results locally (~/.asearch/); agent receives session ID and next_commands to continue reading, filtering by source, or closing the session—designed to integrate with terminal agents like Claude Code and Codex.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →