Skip to main content

AI-powered deep research agent — market analysis, trend prediction, topic research with multi-LLM support

Project description

Sibyl

AI-powered deep research agent. Ask any question — Sibyl searches the web across multiple sources, reads dozens of pages, cross-references findings, and generates an executive-quality research report with analysis, predictions, and citations.

Not just another search summarizer. Sibyl is a research analysis platform — it does structured comparisons, SWOT analysis, Google Trends tracking, event timelines, and financial data visualization. All from a single question.

What Makes Sibyl Different

Traditional Search ChatGPT/Perplexity GPT Researcher Sibyl
Web search + summary Yes Yes Yes Yes
Multi-source (news, Reddit, Wikipedia) No Partial Partial Yes (4 engines)
Sub-question decomposition No No Yes Yes
Iterative gap-filling (search → analyze → identify gaps → search again) No No Partial Yes
Cross-source analysis (sentiment, consensus, disagreements) No No No Yes
Structured comparison tables No No No Yes
SWOT analysis No No No Yes
Google Trends data No No No Yes
Event timelines No No No Yes
Financial data + charts No No No Yes
MCP server (Claude Code, Cursor) No No No Yes
Multi-LLM (DeepSeek, Gemini, GLM, OpenAI) No No Limited Yes (auto-detect)
PDF reports with embedded charts No No Basic Yes

Quick Start

MCP Server (for Claude Code / Cursor)

pip install sibyl-research
claude mcp add sibyl -e DEEPSEEK_API_KEY=sk-... -- sibyl-mcp

Then in Claude Code:

"Research the impact of AI on software engineering jobs over the next 5 years"

"Compare NVIDIA vs AMD vs Intel for AI workloads"

"SWOT analysis of Tesla in 2026"

CLI

pip install sibyl-research
export DEEPSEEK_API_KEY=sk-...   # or OPENAI_API_KEY, GEMINI_API_KEY, etc.

# Standard research
sibyl "Canadian housing market outlook 2026"

# Deep research with predictions + market data + PDF
sibyl "Will NVIDIA maintain AI chip dominance?" -d 3 --symbols NVDA,AMD,INTC --pdf

# Chinese output
sibyl "加拿大移民政策变化" -l zh --pdf -o reports/

How It Works

You ask a question
  │
  ├─ Step 1: Decompose into 3-5 focused sub-questions
  ├─ Step 2: Generate 15-20 diverse search queries
  ├─ Step 3: Search across 4 engines (DuckDuckGo, Google News, Reddit, Wikipedia)
  ├─ Step 4: Scrape 15-20 sources (realistic browser headers, retry, Google Cache fallback)
  ├─ Step 5: Filter sources by relevance (LLM-scored)
  ├─ Step 6: Analyze each sub-question independently
  ├─ Step 7: Identify knowledge gaps → auto-search for missing info
  ├─ Step 8: Cross-reference sources (sentiment, consensus, disagreements)
  ├─ Step 9: Section-by-section synthesis (Summary, Findings, Analysis, Predictions)
  ├─ Step 10: Review and refine draft
  └─ Output: PDF/Markdown report with Table of Contents, citations, charts

Research Tools (11 MCP tools)

Core Research

Tool What it does
research(query, depth, language) Full research cycle: search → scrape → analyze → report. Depth 1-3.
quick_search(query) Fast web search, returns raw results
read_url(url) Extract clean text from any URL
analyze(text, question) Analyze provided text with LLM

Analysis Tools (unique to Sibyl)

Tool What it does
compare(items) Structured side-by-side comparison table with metrics and recommendation
swot(subject) Strengths / Weaknesses / Opportunities / Threats with evidence
trends(keywords) Real Google Trends data: interest level, direction, rising searches
timeline(topic) Chronological event table with dates and impact assessment

Financial Data

Tool What it does
fetch_market_data(symbols) Real stock/ETF prices, trends, moving averages, 52-week range
chart(symbols) Generate price trend charts (PNG)

Output

Tool What it does
save_report(format) Save as PDF (with embedded charts) and/or Markdown

Research Depth

Depth What happens LLM calls Time
1 (quick) 2-3 search queries, basic synthesis ~3 20-30s
2 (standard) Sub-question decomposition, per-question analysis, cross-referencing, review ~10 60-90s
3 (deep) + Knowledge gap filling, predictions with bull/bear/base case, confidence rating ~13 90-120s

Multi-Provider Support

Sibyl works with any LLM. Auto-detects from environment variables:

Provider Env var Model
DeepSeek DEEPSEEK_API_KEY deepseek/deepseek-chat
OpenAI OPENAI_API_KEY gpt-4o-mini
Anthropic ANTHROPIC_API_KEY claude-sonnet-4-20250514
Gemini GEMINI_API_KEY gemini/gemini-2.5-flash
GLM (ZhipuAI) ZHIPUAI_API_KEY glm-4-flash

Or configure multiple providers with roles:

# sibyl.yaml
providers:
  - model: deepseek/deepseek-chat
    api_key: sk-xxx
    role: analysis

  - model: gemini/gemini-2.5-flash
    api_key: xxx
    role: fast

  - model: openai/glm-4-flash
    api_key: xxx
    api_base: https://open.bigmodel.cn/api/paas/v4
    role: chinese

Example Reports

Reports generated by Sibyl on real topics:

  • Federal Reserve interest rate outlook 2026-2027 — 5 pages, 12 findings, 6 sources, analysis of "higher-for-longer" vs "steady easing" debate
  • Impact of Trump tariffs on trade 2026 — 5 pages, 10 findings, 4 sources, historical comparison to Smoot-Hawley, second-order effects on AI labor displacement
  • AI industry landscape 2026 — Market size ($538B), investment trends ($2.9T infrastructure), regulatory outlook, with NVDA/GOOGL/META stock charts

Requirements

  • Python 3.10+
  • At least one LLM API key
  • No other API keys needed (all search engines are free)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sibyl_research-0.2.1.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sibyl_research-0.2.1-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file sibyl_research-0.2.1.tar.gz.

File metadata

  • Download URL: sibyl_research-0.2.1.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for sibyl_research-0.2.1.tar.gz
Algorithm Hash digest
SHA256 66750ede75f8b11fef0604a5d54dc9986f4e91d2a121f0168ce5a9a013881245
MD5 3ff195e73c2a1ee73a3290957cd1e49a
BLAKE2b-256 7465e37199442e9a1ac2ee06f72c2246537e3ada115d89290ef69d6c82826823

See more details on using hashes here.

File details

Details for the file sibyl_research-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sibyl_research-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for sibyl_research-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df7f25b243a34eeb9c2916e5854e7b9b4ac687b15f64b213149a27c22322e473
MD5 1250e98f3898d317de96822c4febc4fa
BLAKE2b-256 518e264eddabea4040e9541328278b4c1097ddf3781b0737782a833a0b177c36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page