Document Summarizer Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Summarize long documents into concise, structured text.

Extractive and abstractive summarization for PDFs, text files, and HTML content.

langchaincrewaigeneric

Quick Start

bash
agentnode install document-summarizer-pack

Usage

From package
python
from document_summarizer_pack.tool import run

result = run(
    action="summarize_document",
    text="""Abstract: This study examines the impact of transformer-based architectures
on low-resource language translation. We evaluated mBERT, XLM-R, and a novel
fine-tuning approach on 12 African languages with fewer than 100,000 parallel
sentences each. Our method achieved BLEU score improvements of 4.2 to 8.7 points
over baseline models. The key innovation is a curriculum learning strategy that
gradually increases sentence complexity during fine-tuning. Results demonstrate
that pre-trained multilingual models can be effectively adapted for extremely
low-resource pairs when combined with strategic data ordering. We release our
fine-tuning toolkit and evaluation benchmarks as open source.""",
    format="structured",
    max_length=150
)

print(f"Title: {result['title']}")
print(f"Summary: {result['summary']}")
print(f"Key Points:")
for point in result["key_points"]:
    print(f"  - {point}")

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 2.0s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.0s
import69ms
smoke160ms
tests1.1s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Summarize 50-page quarterly earnings reports into key bullet points
  • Condense research papers into structured abstracts with findings
  • Generate executive summaries from multi-chapter project proposals
  • Extract action items and decisions from lengthy meeting transcripts
  • Create concise briefs from legal contract documents

README

Document Summarizer Pack

Summarize long documents into concise, structured text. Handles research papers, meeting transcripts, reports, and contracts with configurable output formats.

Quick Start

agentnode install document-summarizer-pack
from document_summarizer_pack.tool import run

result = run(
    action="summarize_document",
    text="Your long document text here...",
    max_length=200
)
print(result["summary"])

Usage

Bullet-Point Summary

result = run(
    action="summarize_document",
    text=long_report_text,
    format="bullets",
    max_points=5
)
for point in result["bullets"]:
    print(f"- {point}")

Structured Summary with Sections

result = run(
    action="summarize_document",
    file_path="/data/quarterly_report.pdf",
    format="structured",
    sections=["overview", "key_findings", "risks", "recommendations"]
)

Meeting Transcript to Action Items

result = run(
    action="summarize_document",
    file_path="/data/standup_notes.txt",
    format="action_items"
)
for item in result["sections"]["action_items"]:
    print(f"[{item['owner']}] {item['task']}")

API Reference

CapabilityDescription
summarize_documentCondense long text into structured summaries

Formats: paragraph, bullets, structured, action_items

Inputs: Plain text strings, .txt, .pdf, .docx files

License

MIT

Version History

Capabilities

document_summarysummarize_documenttool

Permissions

This package declares the following access levels. Review before installing.

Networknone
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever
bash
agentnode install document-summarizer-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointdocument_summarizer_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode