DocPulse

Open source CLI · MIT

Read documents the structured way.

DocPulse turns papers and docs into concepts, prerequisites, equations and grounded, verified answers — right in your terminal.

pip install git+https://github.com/ESAditya1729/DocPulse-AI.git
15+commands
100%local citation checks
JSONoutput on major commands
PDF · MD · TXTsupported inputs

Features

Everything you need to understand a document

Five groups of commands, one consistent interface. Every major command supports --format json.

Understand

Break a document into concepts, prerequisites and equations.
docpulse analyze <doc>

Executive summary, core themes, prerequisite overview and key implications.

docpulse concepts <doc>

Structured concept index with importance, sections and related concepts.

docpulse prerequisites <doc>

Foundational knowledge with difficulty, dependencies and relevant sections.

docpulse equations <doc>

Equations explained with variable definitions and usage.

Navigate

Move around a document and see how its parts connect.
docpulse section <doc> --id <sec>

Focused deep-dive on one section.

docpulse sources <doc>

Cited papers, repositories, datasets and URLs.

docpulse map <doc>

Unified map of sections, concepts, prerequisites and equations. Tree, JSON or Mermaid.

Learn

Turn what you read into something you remember.
docpulse study <doc>

Study guide with flashcards and self-assessment questions.

docpulse drill <doc>

Interactive flashcard drill with a score summary.

docpulse anki <doc>

Export an Anki-importable deck (TSV or CSV).

docpulse export <doc>

Full study guide as Markdown or JSON.

Research

Ask questions and get answers you can verify.
docpulse ask <doc> "question" --citations

Grounded Q&A with locally verified citations.

docpulse compare <doc1> <doc2>

Shared concepts, unique topics and methodology differences.

Maintain

Set up, diagnose and manage your environment.
docpulse init

Interactive gateway setup with a live model check.

docpulse doctor

Diagnose config, API key, cache, PDF parser and connectivity.

docpulse cache

Inspect or clear the local response cache.

How it works

From raw file to structured insight

Documents are analyzed as a whole, with an explicit warning if anything is ever truncated.

  1. 1

    Parse

    PDF, Markdown or text is normalized into a clean, sectioned document.

  2. 2

    Chunk

    Large documents are split and condensed with map-reduce so nothing is silently dropped.

  3. 3

    Analyze

    Specialized analyzers return typed results: concepts, prerequisites, equations and more.

  4. 4

    Render

    Read it in a rich terminal UI, pipe it as JSON, or export a Mermaid diagram or Anki deck.

Spotlight

Prerequisites at a glance

docpulse prerequisites paper.pdf lists everything you should know first in a single table, sorted by importance.

#PrerequisiteImportanceDifficultyNeeded forSectionsDepends on
1Linear Algebra● High▲▲ MediumMatrix calculus in the derivation§2, §3.1Calculus, Vectors
2Probability◑ Medium▲▲ MediumLoss function and sampling§4Set theory
3Information Theory○ Low▲▲▲ Advanced———

Quickstart

Up and running in a minute

Requires Python 3.12+ and access to an IBM ICA Gateway endpoint.

Install & configure
git clone https://github.com/ESAditya1729/DocPulse-AI.git
cd DocPulse-AI
pip install -e .
docpulse init
Try it
docpulse analyze paper.pdf
docpulse prerequisites paper.pdf
docpulse ask paper.pdf "Why is the attention score scaled?" --citations

Run docpulse doctor any time to verify your setup. The full CLI reference is in the README.

Changelog

What's new

Recent improvements to DocPulse.

  1. Tabular prerequisites view

    docpulse prerequisites now renders one compact table (importance, difficulty, needed-for, sections, dependencies) instead of a box per item. The data returned is unchanged, and --format json is unaffected.

  2. Doctor and connectivity fixes

    docpulse doctor diagnostics and gateway connectivity handling were fixed.

  3. New commands

    Added more commands for navigating, learning and researching documents, including ask --citations with locally verified evidence.