Skip to main content

AI-Powered Research Platform - Advanced CLI tool for intelligent research and report generation

Project description

QuantumScope 🚀

QuantumScope is a powerful CLI tool for AI-powered research and report generation, designed for researchers, developers, and professionals. Powered by a real-time WebSocket crawler, it delivers fast, customizable research reports with sources and downloadable files. Whether you're digging into academic papers, industry trends, or cutting-edge tech, QuantumScope streamlines your research workflow.

Note: This is the raw, production-ready version of QuantumScope. Stay tuned for epic AI enhancements coming soon! 💪

PyPI Version Python Versions License Discord


✨ Features

Feature Description
Real-Time Research Streams results via WebSocket from searc.ai for instant insights.
Customizable Reports Choose Summary, Multi-Agent, or Detailed reports with tones like Objective or Formal.
Interactive Mode Run multiple queries with a dynamic CLI prompt for iterative research.
Output Formats Save reports as text, markdown, or json for easy integration.
Domain Filtering Focus searches on specific domains (e.g., arxiv.org, nature.com).
Robust Error Handling Gracefully handles interruptions, timeouts, and server issues.

🛠️ Installation

pip install QuantumScope

Requirements:

  • Python 3.8+
  • Dependencies: websockets, aiohttp (auto-installed via pip)

Verify Installation:

QuantumScope --version

🚀 Quick Start

Run a research query in one line:

QuantumScope "impact of AI on climate change mitigation"

Want a detailed report with a formal tone?

QuantumScope -t detailed -o formal "latest trends in quantum machine learning"

Filter by specific domains:

QuantumScope --domains arxiv.org nature.com "CRISPR gene editing ethics"

Save output as Markdown:

QuantumScope "Python web frameworks" --output report.md --format markdown

Enter interactive mode:

QuantumScope --interactive

📈 How It Works

QuantumScope connects to a WebSocket server (wss://searc.ai/ws) to stream research data in real time. The CLI processes results into reports, sources, and downloadable files, with a colorful interface for a smooth experience.

graph TD
    A[User Query] --> B[QuantumScope CLI]
    B --> C[WebSocket Crawler]
    C --> D[searc.ai Server]
    D --> E[Sources & Raw Data]
    E --> F[Processed Report]
    F --> G[Output: Text/Markdown/JSON]

🎮 Usage Guide

Basic Commands

Option Description Example
-t, --type Report type: summary, multi_agents_report, research_report -t detailed
-o, --tone Tone: objective, formal, analytical, persuasive, informative -o formal
-d, --domains Filter by domains --domains arxiv.org nature.com
--no-logs Disable real-time logs --no-logs
-i, --interactive Interactive mode --interactive
--config Configure defaults --config
-O, --output Save report to file --output report.md
--format Format: text, markdown, json --format markdown
-v, --version Show version --version

Example Output:

🚀 QuantumScope Research Initiated: impact of AI on climate change mitigation
   Report: summary | Tone: Objective | Domains: Any
   Powered by QuantumScope AI Intelligence
📤 Connecting to QuantumScope Intelligence...
✅ Connected! AI agents are now researching...
======================================================================
🔗 Sources (3):
  1. https://www.nature.com/articles/s41560-021-00827-6
  2. https://arxiv.org/abs/2104.05123
  3. https://www.un.org/en/climatechange/ai-climate-solutions
⏬ Download Links:
  🔗 PDF: https://searc.ai/reports/ai_climate_123.pdf
📋 Report Text Preview:
AI is transforming climate change mitigation by optimizing energy systems...
======================================================================

Interactive Mode

QuantumScope --interactive

Commands:

Command Description Example
<query> Run a query AI in healthcare
set type <type> Set report type set type summary
set tone <tone> Set tone set tone analytical
set domains <d1,d2> Set domains set domains arxiv.org,sciencemag.org
set logs <on/off> Toggle logs set logs off
config Configure defaults config
help Show help help
quit Exit quit

Example Session:

QuantumScope (summary/Objective)> AI in healthcare
🚀 QuantumScope Research Initiated: AI in healthcare
...
QuantumScope (summary/Objective)> set type detailed
Report type set to: research_report
QuantumScope (research_report/Objective)> quit
👋 Exiting Interactive Mode. Goodbye!

Configuration

Set defaults:

QuantumScope --config

Options:

  1. Report Type: 1 (Summary), 2 (Multi-Agent), 3 (Detailed)
  2. Tone: 1 (Objective), 2 (Formal), etc.
  3. Show Logs: yes/no

Settings saved to ~/.QuantumScope/config.json.

Output Formats

Format Description Example
text Plain text with sources/links report.txt
markdown Formatted with headers report.md
json Full metadata report.json

Markdown Example:

QuantumScope Research Report

Query: AI in healthcare Report Type: summary Tone: Objective Generated: 2025-06-02 16:51:23 IST Duration: 12.34 seconds

📚 Sources

  1. https://www.nature.com/articles/s41591-021-01336-3
  2. https://arxiv.org/abs/2005.12345

📄 Repo Text

AI is revolutionizing healthcare through diagnostics...

🎉 CLI Animation

Simulated CLI progress:

🚀 Researching... [⠋] 🚀 Researching... [⠙] 🚀 Researching... [⠹] ✅ Done!


🛡️ Error Handling

Handles:

  • WebSocket Errors: Reconnects up to 6 times.
  • Timeouts: Exits after 120s inactivity.
  • Interrupts: Saves partial results on Ctrl+C.
  • Invalid Queries: Prompts for valid input.

Example Error: ` ❌ WebSocket Connection Error: Server unavailable at wss://searc.ai/ws

📊 Performance

Metric Value
Query Time ~10-30s (depends on report type)
Max Sources 15 displayed, unlimited stored
Max Report Size Streamed, no limit
Timeout 120s (configurable)

🐛 Troubleshooting

Issue Solution
WebSocket fails Check internet or try later. Ensure wss://searc.ai/ws is up.
No report generated Use --no-logs to debug or try another query.
Config errors Delete ~/.QuantumScope/config.json and rerun --config.

📚 Documentation


🤝 Community


🛡️ License

MIT License. See LICENSE.


Developed by Parvesh Rawal @ XenArcAI
*QuantumScope v1.0.2 | Ready for the future of AI research


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

quantumscope-1.0.2.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

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

quantumscope-1.0.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file quantumscope-1.0.2.tar.gz.

File metadata

  • Download URL: quantumscope-1.0.2.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for quantumscope-1.0.2.tar.gz
Algorithm Hash digest
SHA256 226d925f8f76c0f47c469c1b927aedc9c6a0ef543c9536a0651a22a444d5cd20
MD5 0df9eb5ad91120824cc703e11a4e0d58
BLAKE2b-256 3de52570602d4cb38cf885ae6189b97ba645d0da03ff192c1fdcc6e9de1469d9

See more details on using hashes here.

File details

Details for the file quantumscope-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: quantumscope-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for quantumscope-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 330486069bc5cf934961841615067569ea9ed0236014358efa7b1b82aae759d0
MD5 3e27cb6b11ca59a0b5f0096d64ba3da7
BLAKE2b-256 b8fa86e1f4450e8ee0b2a1b3eef881e7701a857c37c271671f67d93f3445ff1c

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