Discover and explore top open-source AI tools and projects—updated daily.
rohunvoraAgentic X/Twitter research CLI tool
New!
Top 51.1% on SourcePulse
This repository provides x-research, a command-line interface (CLI) tool that wraps the X (formerly Twitter) API. It enables AI agents (like Claude Code, OpenClaw) and users to perform agentic searches, follow threads, monitor accounts, and retrieve sourced research directly from the terminal. Key benefits include streamlined X data retrieval, advanced search capabilities, and transparent cost reporting for API usage.
How It Works
x-research acts as a fast CLI wrapper for the X API, abstracting complex curl commands. It allows AI agents or users to search tweets, pull threads, monitor accounts, and gather sourced research. The tool features advanced search options like engagement sorting, time filtering, and noise removal, alongside a "Quick Mode" for cost-effective, targeted lookups and watchlists for account monitoring.
Quick Start & Requirements
.claude/skills or skills).X_BEARER_TOKEN environment variable or ~/.config/env/global.env.https://bun.sh).skills/x-research): bun run x-search.ts search "query", profile username, thread TWEET_ID, watchlist add username.bun run x-search.ts search "query" --save --markdown.https://bun.sh.Highlighted Details
--quality).--quick): Optimizes for speed and cost by limiting results to one page (max 10), applying noise filters, using a 1-hour cache, and displaying cost summaries.--from <username> simplifies targeting specific users.Maintenance & Community
No specific details on contributors, sponsorships, roadmap, or community channels are provided in the README.
Licensing & Compatibility
Limitations & Caveats
/2/tweets/search/recent; full-archive search is planned.min_likes/min_retweets are filtered post-hoc, not directly via API operators.3 days ago
Inactive