Catalog PyPI
PACKAGE EXPLORERView in registry

achem

PyPI

Deep Web Research Tool - Auto-classifies topics, prioritizes relevant sources, generates 300+ word AI conclusions

aiclideep-webollamaordinal-distancepositional-searchresearchsummarizationtoolweb-scraping
Versions collected1
Direct dependencies19From release 1.2.0
Last observed20 Oct, 18:12 UTC

README

Version 1.2.0 documentation

ACHEM - Deep Web Research Tool

ACHEM Banner

ACHEM (Arabic: آشم) is an intelligent research tool that automatically classifies your query, finds relevant specialized sources, and generates comprehensive 300+ word AI conclusions.

Features

Smart Topic Classification

Automatically detects your query type and prioritizes relevant sources:

TopicPriority Sites
Anime & MangaMyAnimeList, Crunchyroll, Anime News Network
Football/SoccerThe Analyst, ESPN, Sky Sports, Goal.com
MMA/FightingTapology, Sherdog, MMA Junkie
GamingIGN, GameSpot, Metacritic, Steam
Movies/TVIMDb, Rotten Tomatoes, Metacritic
Health/MedicineMayo Clinic, WebMD, WHO
ScienceScientific American, Nature, NASA
TechnologyStack Overflow, GitHub, TechCrunch
HistoryBritannica, History.com

Comprehensive Research

  • 100+ Sources: Searches DuckDuckGo with topic-prioritized results
  • Full Content Extraction: Scrapes complete articles from specialized sites
  • Smart Filtering: Removes ads/boilerplate, keeps relevant content
  • 300+ Word Conclusions: Detailed AI-generated analysis

How Results Are Sorted

Results are sorted by relevance:

  1. Most relevant sources for your topic first
  2. Specialized sites for your query type
  3. General sources last

Installation

git clone https://github.com/sarok-exe/achem.git
cd achem
uv venv .venv && source .venv/bin/activate
uv pip install -e .

API Configuration

Create ~/.ACHEM/api.env:

OPENROUTER_API_KEY=your_openrouter_key_here
OPENROUTER_MODEL=google/gemma-4-31b-it:free

Get API key: https://openrouter.ai/settings

Usage

achem "What are the health risks of smoking?" --ddg-limit 50
achem "Who will win Bayern vs Real Madrid?" --ddg-limit 100
achem "Latest One Piece chapter summary" --ddg-limit 50

Options

--ddg-limit N     Number of sources (default: 100)
--mode ai         AI conclusions (default)
--mode local      Local TF-IDF (no API)
--lang en/fr/ar   Response language

How It Works

┌──────────────────────────────────────────────────────┐
│ 1. CLASSIFY                                          │
│    Detects topic: anime, football, health, etc.       │
│    Identifies priority sites for your topic           │
├──────────────────────────────────────────────────────┤
│ 2. SEARCH (100+ sources)                             │
│    Prioritizes specialized sites                      │
│    Sorts by topic relevance                          │
├──────────────────────────────────────────────────────┤
│ 3. SCRAPE                                            │
│    Extracts full article text                        │
│    Removes ads and boilerplate                       │
├──────────────────────────────────────────────────────┤
│ 4. ANALYZE & CONCLUDE                                │
│    Generates 300+ word comprehensive analysis        │
│    Synthesizes all sources into detailed paragraphs  │
└──────────────────────────────────────────────────────┘

Output

Reports saved to ~/Documents/ACHEM/:

  • AI Conclusion: 300+ word detailed analysis
  • All Articles: Full extracted content
  • Topic Classification: Shows detected category

License

MIT License

Acknowledgments

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.014 Apr 202619

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sarok-exe/achem

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7e2bde53cbcb3396684edcdead0c38983388608c257dafb1918fc556f85c48a7