Skip to main content

Document Summarizer Pack

TrustedSandbox optionalv1.0.0MITVerified80

by AgentNode · published 3 months 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

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

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}")

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence80/100✔ Verified
smokeReturned valid result
+25/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 2.4s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.4s
import76ms
smoke143ms
tests1.3s

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

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 1d 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

Version History

Capabilities

document_summarysummarize_documenttool

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networknone
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

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