CogNexus Web Extractor
Powered by SLMs with ToT Reasoning

Autonomous WebExploration at Scale

A production-grade multi-agent framework for autonomous data extraction. Works with small language models through Tree of Thought reasoning.

quick_start.py
01020304050607080910111213
✦ Capabilities

Built for Real-World Extraction

Build production-grade autonomous web scrapers that actually work.

Core Engine

Tree of Thought Reasoning

Multi-path exploration enables smaller models to perform complex reasoning through systematic evaluation and backtracking.

Perception

Vision-First Approach

Combines screenshot analysis with DOM understanding for superior page comprehension, not just HTML parsing.

Resilience

Self-Correcting

Observes failures and adapts strategies in real-time. 90%+ self-recovery rate on complex tasks.

Learning

Template Learning

Automatically generates reusable Playwright extraction patterns from successful explorations.

Memory

Knowledge Persistence

Builds a persistent knowledge graph of learned approaches for zero-shot generalization.

Autonomy

Discovery-Driven

No hardcoded selectors or site-specific logic. Pure autonomous exploration and discovery.

⚙ System Design

Multi-Agent Architecture

Six specialized agents working in harmony through a state machine orchestrator.

🔭

Observer

Vision + DOM Analysis

🧠

Planner

ToT Strategy

⚡

Executor

Playwright Actions

✅

Validator

Quality Assurance

📊

Extractor

Data Extraction

📚

Learner

Template Generation

State Machine Flow

Observe→Think→Plan→Act→Validate→Learn
📈 Benchmarks

Proven Performance

Benchmarked with Llama 3.1 8B on complex extraction tasks.

100%

Profile Discovery

vs 5% hardcoded

95%+

Extraction Accuracy

Production-grade

90%+

Self-Recovery Rate

Auto-healing

85%+

Zero-Shot Success

New sites

FeatureCogNexusTraditionalLLM-only
Works with SLMs✓ ToT amplifiesN/A✗ Need GPT-4
Generalizable✓ Discovery-driven✗ Hardcoded⚠ Prompt-dependent
Self-correcting✓ Observes & adapts✗ Fails silently⚠ Limited
Template generation✓ Auto PlaywrightN/A✗ No
CogNexus • Tree of Thought + SLM

Live Fetch with ToT Reasoning

CogNexus uses Tree of Thought reasoning to generate multiple extraction strategies, evaluate each approach, and pick the best one.

API StatusToT + SLM

Leave blank to extract everything, or describe what you're searching for to get a personalized extraction.

🧠

Tree of Thought

Generates multiple strategies, evaluates each, picks the best.

🛡️

Security Scanner

Checks SSL, headers, broken links, mixed content, and exposed secrets.

📊

Data Visualization

Generates charts from extracted data using Matplotlib.

CogNexus

Ready to Get Started?

Start extracting data autonomously in minutes.

pip install cognexus-extractor
Star on GitHub