🚀 Get started in seconds: pip install -e ".[ml,nlp,bib]" then aegis analyze paper.pdf --html report.html 🗀 Fork on GitHub
v3.5.2  |  Beta: Human Review Required  |  November 2026

The Integrity Checker
That Sees Everything

Open-source. Offline. Bias-aware. 14 detection modules in a single pip install. No cloud. No per-submission fees. No bias against international researchers. Adds citation hallucination detection, an LLM watermark heuristic, and ESL-calibrated scoring -- capabilities not publicly documented in mainstream commercial tools.

Fork on GitHub Quick Install IT Industry Use Cases Follow on LinkedIn
Python 3.10+ AGPL-3.0 License Offline First 14 Detectors ESL Calibrated (15 langs) REST API + CLI Docker Ready Watermark Heuristic (Experimental) Essay Mill Detection Browser App (aegis ui) Claude Plugin + Desktop Extension
11
Detection Modules
15
ESL Languages Calibrated
200
Min. Tokens for Watermark Heuristic
5
Citation Verdict Classes
0
Bytes Sent to Cloud
$0
Per-Submission Cost
AGPL
License

Highlights

Live community numbers from GitHub and PyPI, and what ships in v3.5.

GitHub stars GitHub forks PyPI downloads per month Latest release

Starred and forked

Researchers and developers are starring, forking and installing AEGIS. Counts above are live.

Fourteen detection modules

Citation hallucination, bias-calibrated AI-text detection, paraphrase and self-plagiarism, stylometry, essay mill patterns and an experimental watermark test, in one offline pipeline.

Tested and scanned

284 automated tests, CodeQL code scanning, dependency auditing and pinned CI actions on every push.

Listed and rated

Grade A on mcprush and on Glama (each directory's own automated rating).

New in v3.5

Three report-interpretation skills for similarity, integrity flags and AI writing scores, plus a local prose-uniformity diagnostic. AGPL-3.0, attribution to Sunil Gentyala.

Private by design

Documents are analysed on your own machine and never uploaded. Works in a browser, CLI, REST API, Docker, Claude Code and Claude Desktop.


SG
🔭 Independent Research Project
Sunil Gentyala
AEGIS is an independent research project built to close the gaps that commercial tools have ignored for years. I built it because institutions rely on tools that miss fabricated citations, essay mills, and systematically flag non-native English writers as AI. Every module in AEGIS targets a specific, documented failure mode in the existing landscape. The code is public, the method is transparent, and it runs entirely on your own hardware.
IEEE Senior Member HCL America Inc. Independent Researcher CISM Certified ISACA Member NLP & AI Security Academic Integrity Open Source

Built for the IT Industry Too

AEGIS is not only for universities. Every IT team that produces, consumes, or validates written content can use it directly.

📄
Technical Documentation Integrity
Verify that vendor whitepapers, RFP responses, and technical proposals were not AI-generated wholesale. Catch copy-paste from competitor docs. Validate that authored reports reflect genuine internal expertise.
EnterpriseProcurementCompliance
🛡
LLM Deployment Monitoring
Experimental token-distribution heuristic loosely modeled on the Kirchenbauer z-test, run without any real watermark key. It flags statistical anomalies, not confirmed watermarks, and never affects the overall risk score -- informational signal only, not a compliance gate.
LLM OpsContent PolicyTrust & Safety
🎓
Employee Training & Certification
Check that written assessments in internal training programs are genuinely authored. Batch mode analyzes an entire cohort simultaneously and flags groups of employees who likely shared an AI prompt or copied from each other.
L&DHR TechCertification
🔑
IP and Authorship Protection
Before publishing a research paper, whitepaper, or patent application, run a self-plagiarism check against your own prior works. The three-layer detector (n-gram, SBERT, character 5-gram) catches cross-language recycling that simple copy detectors miss.
IP ProtectionPatentPublishing
📊
Vendor and Contractor Deliverables
Validate that consulting reports, code documentation, and research deliverables from external vendors are genuine. Citation network analysis flags bibliographies with predatory journal references or suspiciously narrow citation clusters.
Vendor MgmtOutsourcingDue Diligence
🔧
API Integration into Existing Pipelines
Drop AEGIS into any existing content pipeline via the REST API or Python SDK. Docker image included. Runs on-prem or in a private VPC. No data ever leaves your infrastructure. Swagger UI at /docs once deployed.
REST APIDockerOn-PremAir-Gapped

Fourteen Detection Modules, One Pipeline

Each module runs independently and contributes to a unified risk score. Disable any module via PipelineConfig.

Module 01
Citation Hallucination Detection
Resolves every DOI via the Crossref REST API. Cross-checks author, year, and title against the live record. A peer-reviewed study found ChatGPT fabricated up to 55% of references depending on model version (Walters & Wilder, Scientific Reports, 2023).

Verdicts: VALID | MISMATCH | HALLUCINATED | UNRESOLVABLE | NO_DOI
Module 02
LLM Watermark Heuristic EXPERIMENTAL v2.1 IT
Keyless token-distribution heuristic loosely modeled on the Kirchenbauer (2023) green-list z-test and entropy/rank-skew analysis (Zhao et al., 2023) -- but it has no access to any real provider's watermark key, seeding scheme, or tokenizer. It flags STATISTICAL_ANOMALY, never a definitive watermark claim, and never affects the overall risk score. A separate VERIFIED_SCHEME mode exists for when a real scheme is actually configured; AEGIS does not yet implement one, so that mode honestly reports UNSUPPORTED_CONFIGURATION instead of guessing.
Module 03
Citation Network Analysis NEW v2.0
Analyzes the full reference list: self-citation inflation (>30% threshold), predatory journal pattern matching, year-clustering (LLM hallucination signature), OpenAlex quality lookup, and missing DOI rate analysis.
Module 04
ESL-Calibrated AI Content Detection
Targets the bias documented by Liang et al. (Stanford, 2023): GPT detectors misclassified more than half of non-native-authored TOEFL essays as AI-generated, one detector flagging up to 98%, while native-English essays were scored accurately. Per-language threshold multipliers for 15 languages. Paragraph-level scoring. GPT-2 perplexity + burstiness + cross-perplexity ratio + stylometric ensemble, plus a lexical-tell signal NEW v2.5 for the transition/elevation vocabulary disproportionately common in ChatGPT/GPT-4/GPT-5-family output ("delve into", "underscores", "pivotal role", ...) that GPT-2 perplexity alone under-detects against fluent frontier-model text.
Module 05
Semantic Coherence Analysis NEW v2.0 IT
Catches AI-polished text that passes perplexity filters. Measures discourse connector density, sentence length CV, MTLD diversity, epistemic hedging rate, and section template matching. Targets the "too smooth to be human" signature.
Module 06
Semantic / Paraphrase Plagiarism
SBERT dense retrieval + CrossEncoder reranking catches concept-level paraphrase where no exact words are shared. BM25 / TF-IDF tools miss this. Model: paraphrase-MiniLM-L6-v2 (80 MB). Index: FAISS IndexFlatIP.
Module 07
N-Gram Plagiarism (MinHash LSH)
Dual index: word 3-gram (verbatim copy) and character 5-gram (obfuscation via typos or Unicode substitution). 128 MinHash permutations. Sub-linear query time over large corpora via LSH banding.
Module 08
Stylometric Ghostwriting Detection
Burrows' Delta with 60-dimensional feature vectors (10 scalar + 50 function-word frequency dimensions). Segments with Delta >0.40 from the document baseline are flagged as potential ghostwritten sections.
Module 09
Self-Plagiarism / Text Recycling
Three-layer detection: character 5-gram Jaccard (verbatim), word 3-gram Jaccard (near-verbatim), SBERT cosine ≥0.88 (cross-language recycling). Risk levels follow COPE text recycling guidelines at 15% / 30% thresholds.
Module 10
Batch / Classroom Analysis NEW v2.0 IT
Cross-document essay mill detection. Pairwise MinHash similarity matrix + rare vocabulary overlap + section sequence fingerprinting. Union-Find clustering groups submissions by suspected shared AI source. Scales to hundreds of documents.
Module 11
Venue & Duplicate-Submission Verification NEW v2.4
Flags a reference that reads as an IEEE/ACM/Elsevier/IET/IETE/BCS publication whose DOI actually resolves to a different publisher (venue misattribution or fabrication), reusing citations already resolved by Module 01 at no extra network cost. Also searches each target publisher for near-identical titles already indexed under that venue via Crossref member IDs and DOI-prefix matching, to catch accidental or attempted duplicate submissions. Restrict to a subset with --target-publishers.
Module 12
Mathematical Formula Checker NEW v3.0
Checks equation numbering (duplicates, gaps, out-of-order), dangling in-text references to equations that don't exist, orphaned equations never referenced, and notation conventions (exponential notation, decimal leading zeros, percentage-range formatting) sourced from actual IEEE/IET style manuals. Extracts equations from LaTeX source, from Word's native OMML math XML (invisible to plain python-docx text extraction), or via text-pattern heuristics for PDF/TXT. Pure Python, no ML dependency, and never affects the overall risk score.
Module 13
Grammar & Language Convention Checker NEW v3.0
Contraction detection, US/UK spelling-consistency detection across 30+ word pairs, subject/verb agreement heuristics ("the data is" vs. "the data are"), common usage errors ("comprised of", "could of", "less samples" vs. "fewer samples"), and readability metrics -- fully offline via regex + optional spaCy, no Java runtime or external grammar service. A compliance/quality signal, never part of the overall risk score.
Module 14
Per-Venue Guideline Compliance NEW v3.0 +Elsevier v3.1
Runs the math/grammar findings against IEEE, ACM, BCS, IET, ISACA, and (added in v3.1) Elsevier's own sourced style guidance checked separately, not one generic merged rule set -- e.g. ISACA's "avoid 'I' or 'you'" third-person rule, IET's bare "(1)" equation-reference convention, IEEE's no-contractions rule, or Elsevier's "American or British usage is accepted, but not a mixture of these" rule plus its CRediT / Declaration of Competing Interest / Data Availability / Highlights structural requirements. Every rule cites its source. Results are advisory (PASS / NEEDS_REVIEW / NOT_ENOUGH_DATA), never FAIL. Run via aegis guidelines paper.pdf --venues IEEE,ACM,BCS,IET,ISACA,ELSEVIER.

🗀 Fork It. Use It. Improve It.

AEGIS is AGPL-3.0-licensed and designed to be forked, extended, and integrated. Every module is independent. Add your own detector in under 100 lines of Python.


Side-by-Side Comparison

Based on each vendor's public documentation and pricing pages as of July 2026. "Not public" means the capability is not documented publicly by that vendor -- not a confirmed absence. Corrections welcome.

Capability AEGIS v3.5 Turnitin iThenticate CopyLeaks GPTZero Originality.ai
Open-source / self-hostableYesNoNoNoNoNo
Citation hallucination detectionYesNot publicNot publicNot publicNot publicNot public
LLM watermark heuristic (experimental, informational-only)YesNot publicNot publicNot publicNot publicNot public
Citation network / cartel analysisYesNot publicNot publicNot publicNot publicNot public
ESL bias calibration (15 languages)YesNot publicNot publicNot publicNot publicNot public
Paragraph-level AI scoringYesNot publicNot publicYesYesPartial
Semantic paraphrase detection (SBERT)YesPartialNot publicPartialNot publicNot public
Ghostwriting detection (Burrows' Delta)YesNot publicNot publicNot publicNot publicNot public
Self-plagiarism (open corpus)YesNot publicPaidNot publicNot publicNot public
Batch / essay mill detectionYesNot publicNot publicNot publicNot publicNot public
AI-polish coherence detectionYesNot publicNot publicNot publicNot publicNot public
OpenAlex journal quality checkYesNot publicNot publicNot publicNot publicNot public
Per-sentence explainable reportsYesNot publicNot publicPartialPartialNot public
Offline / air-gapped operationYesNoNoNoNoNo
REST API + CLI (free)YesNoPaidPaidPaidPaid
Pricing model$0.00 (self-hosted)Institutional (not public)Institutional (not public)Paid (self-serve)Paid (self-serve)Paid (self-serve)

Install in 3 Steps (plus Claude)

All 14 detectors active after a single pip install. Minimal install (no PyTorch, no SBERT) also available -- math, grammar, and guideline compliance need no ML at all.

1

Clone the repo

git clone https://github.com/sunilgentyala/aegis-integrity.git

cd aegis-integrity
2

Install with all modules

pip install -e ".[ml,nlp,bib,mcp]"

python -m spacy download en_core_web_sm
3

Open the web app, or use the CLI

aegis ui

aegis analyze paper.pdf --html report.html

Drag in a paper and get a plain-language report. aegis doctor shows which checks are ready and how to enable the rest.
4

Optional: use it inside Claude

/plugin marketplace add sunilgentyala/aegis-integrity

/plugin install aegis-integrity@aegis-integrity

Claude Desktop: open the .mcpb file from the v3.5.2 release. Any MCP client can run aegis-mcp.
▲

Or use Docker (recommended for production)

docker compose up --build
# Single paper analysis
aegis analyze paper.pdf --html report.html

# Against a reference corpus
aegis analyze paper.pdf \
  --corpus ./corpus/ --html report.html

# Classroom batch scan (NEW v2.0)
aegis batch ./submissions/ \
  --html batch_report.html

# Pairwise comparison
aegis compare draft_v1.pdf draft_v2.pdf

# Start REST API (Swagger at /docs)
aegis serve --host 0.0.0.0 --port 8000
from aegis.core.pipeline import AEGISPipeline, PipelineConfig

cfg = PipelineConfig(
    citation_email="you@org.com",
    run_watermark_detector=True,
    watermark_mode="experimental",  # never affects overall_risk
    run_citation_network=True,
    run_coherence_analyzer=True,
)
pipeline = AEGISPipeline(config=cfg)
report = pipeline.analyze("submission.pdf")
print(report.overall_risk)  # LOW|MEDIUM|HIGH|CRITICAL
print(report.watermark_result)  # WatermarkResult -- see affects_overall_risk
print(report.coherence_result)

Why AEGIS

Six reasons research institutions, IT teams, and journal editors should use AEGIS.

🔒
Local-First Processing
AEGIS never uploads your manuscript anywhere -- analysis runs entirely on your own hardware. Online checks may query Crossref/DataCite/OpenAlex with reference metadata (titles, authors, DOIs) and, for the publisher duplicate-title check, the paper's own title -- never the document text. Offline mode turns all of these off.
🌐
ESL Bias Calibration
Liang et al. (Stanford, 2023) found GPT detectors misclassified more than half of non-native-authored TOEFL essays as AI-generated. AEGIS applies per-language threshold calibration across 15 languages to reduce -- not eliminate -- this bias.
🔍
Targets Overlooked Gaps
Citation cartels, essay mills, AI-polished text that passes perplexity, and hallucinated bibliographies are not publicly documented as covered by mainstream tools. AEGIS also runs an experimental, informational-only LLM watermark heuristic. Results are a supporting signal for human review, not a determination of misconduct.
🔎
Explainable, Not a Black Box
Every flag cites the exact sentence, the source it matched, and the metric that triggered it, so a human reviewer can verify or dismiss it -- rather than a single opaque score.
🏢
Self-Hostable Deployment
REST API (optionally key-protected) for pipeline integration, Docker for on-prem or VPC deployment, batch mode for classroom or cohort scanning, persistent FAISS indices for high-throughput systems.
💰
Free Forever
AGPL-3.0 license. No per-submission fees, no seat licenses, no vendor lock-in -- commercial tools require an institutional license or paid API credits. AEGIS costs only the compute time on your own hardware.

Architecture

Fourteen detectors run independently. Plagiarism/AI/citation results contribute to a unified risk score; math/grammar/guideline-compliance results are reported separately and never affect it. Every result lands in a per-sentence explainable HTML report.

submission (PDF / DOCX / TEX / TXT)
       |
       v
  DocumentParser              -- PyMuPDF / python-docx / TexSoup / striprtf
       |
  ┌────┴────────────────────────────────────────────────────────────────────┐
  │                        AEGISPipeline v3.0                               │
  │                                                                         │
  │  NGramDetector             word 3-gram + char 5-gram MinHash LSH        │
  │  SemanticDetector          SBERT + FAISS + CrossEncoder reranker        │
  │  AIContentDetector    [v2.5] GPT-2 perplexity+burstiness+ESL(15L)+tell  │
  │  CitationIntegrityDetector Crossref REST API (DOI + metadata check)     │
  │  StylometricAnalyzer       Burrows' Delta; 60-dim feature vector        │
  │  SelfPlagiarismDetector    SBERT + n-gram vs. prior works               │
  │  LLMWatermarkDetector      [v2.1] experimental heuristic, no real key   │
  │  CitationNetworkAnalyzer   [v2.0] self-cite; predatory; OpenAlex        │
  │  SemanticCoherenceAnalyzer [v2.0] connectors; uniformity; MTLD          │
  │  BatchAnalyzer             [v2.0] pairwise matrix; essay mill clusters  │
  │  VenueVerificationDetector [v2.4] IEEE/ACM/Elsevier/IET/IETE/BCS check  │
  │  MathFormulaChecker        [v3.0] equation numbering/refs/notation     │
  │  GrammarLanguageChecker    [v3.0] contractions/spelling/agreement      │
  │  GuidelineComplianceChecker[v3.0] IEEE/ACM/BCS/IET/ISACA/Elsevier      │
  └────────────────────────────┬────────────────────────────────────────────┘
                               |
                         AnalysisReport
                               |
                         HTML report
                     (self-contained, offline;
                      REST API can also return
                      the same data as JSON)

Start Using AEGIS Today

Fork the repo, run a scan on a real paper, and open an issue if you find a bug or want a new module. Every contribution helps close the gap.