docpulse analyze <doc>Executive summary, core themes, prerequisite overview and key implications.
Open source CLI · MIT
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$ docpulse prerequisites attention.pdf ╭──────────────── Prerequisites ────────────────╮ │ attention.pdf │ │ 3 prerequisites identified │ ╰───────────────────────────────────────────────╯ ● High Linear Algebra §2, §3.1 ◑ Medium Probability §4 ○ Low Information Theory —
Features
Five groups of commands, one consistent interface. Every major command supports --format json.
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.
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.
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.
docpulse ask <doc> "question" --citationsGrounded Q&A with locally verified citations.
docpulse compare <doc1> <doc2>Shared concepts, unique topics and methodology differences.
docpulse initInteractive gateway setup with a live model check.
docpulse doctorDiagnose config, API key, cache, PDF parser and connectivity.
docpulse cacheInspect or clear the local response cache.
How it works
Documents are analyzed as a whole, with an explicit warning if anything is ever truncated.
PDF, Markdown or text is normalized into a clean, sectioned document.
Large documents are split and condensed with map-reduce so nothing is silently dropped.
Specialized analyzers return typed results: concepts, prerequisites, equations and more.
Read it in a rich terminal UI, pipe it as JSON, or export a Mermaid diagram or Anki deck.
Spotlight
docpulse prerequisites paper.pdf lists everything you should know first in a single table, sorted by importance.
| # | Prerequisite | Importance | Difficulty | Needed for | Sections | Depends on |
|---|---|---|---|---|---|---|
| 1 | Linear Algebra | ● High | ▲▲ Medium | Matrix calculus in the derivation | §2, §3.1 | Calculus, Vectors |
| 2 | Probability | ◑ Medium | ▲▲ Medium | Loss function and sampling | §4 | Set theory |
| 3 | Information Theory | ○ Low | ▲▲▲ Advanced | — | — | — |
Quickstart
Requires Python 3.12+ and access to an IBM ICA Gateway endpoint.
git clone https://github.com/ESAditya1729/DocPulse-AI.git
cd DocPulse-AI
pip install -e .
docpulse initdocpulse analyze paper.pdf
docpulse prerequisites paper.pdf
docpulse ask paper.pdf "Why is the attention score scaled?" --citationsRun docpulse doctor any time to verify your setup. The full CLI reference is in the README.
Changelog
Recent improvements to DocPulse.
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.
docpulse doctor diagnostics and gateway connectivity handling were fixed.
Added more commands for navigating, learning and researching documents, including ask --citations with locally verified evidence.