# AI Document Forensics

> Autonomous multi-modal document forensics for detecting visual tampering, metadata anomalies, and semantic contradictions.

AI Document Forensics is a paid AI agent skill on Agensi by Mano Ranjan G, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [Mano Ranjan G](https://www.agensi.io/creators/mano-ranjan-g)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-document-forensics
- Tags: ai-agents, python, computer-vision, ocr, forensics, pytorch

## About this skill

Verifying the authenticity of digital documents manually is slow and prone to missing subtle pixel-level manipulations or semantic contradictions. This skill provides an autonomous, multi-modal forensic pipeline to detect tampering, extract metadata, and identify cross-document inconsistencies.

### What it does
- **Visual Tampering Detection** identifies localized edits, pasted patches, and pixel-level anomalies using YOLOv8 and MobileNetV2.
- **Metadata Forensics** extracts PDF creation tags, software producers, modification timestamps, and EXIF data to find hidden history.
- **Cross-Document Comparison** uses semantic embeddings to flag numerical contradictions or logical mismatches between related files.
- **Automated OCR Grounding** extracts structured entities like names, dates, and monetary amounts using EasyOCR for factual verification.
- **Evidence Reporting** generates formal, structured PDF investigation reports complete with annotated bounding boxes and confidence scores.

### How it works
1. **Triage** the document type and objective to select the appropriate script (Metadata, Visual, or Full Investigation).
2. **Execute Analysis** by passing file paths to the specialized Python scripts for neural inference and OCR extraction.
3. **Review Evidence** in the generated JSON registry which categorizes model predictions, extracted facts, and inferred concerns.
4. **Compile Report** using the generation utility to produce a human-readable PDF with a final investigator sign-off.

### Frameworks & tools
Built for Python 3.10+ environments. It utilizes `PyMuPDF` for PDF rendering, `Pillow` for image processing, `EasyOCR` for text extraction, `PyTorch` (YOLOv8) for anomaly detection, `TensorFlow/Keras` (MobileNetV2) for classification, and `ReportLab` for PDF generation.

### Why this beats prompting it yourself
Standard LLM prompting cannot "see" pixel-level manipulation or verify hidden binary metadata. This skill bridges the gap between language reasoning and specialized computer vision models, providing spatial coordinates for evidence that a text-only prompt would ignore.

### Use cases
- **Insurance Claims** to verify if a medical bill or repair invoice has been digitally altered.
- **Financial Audits** to check for numerical contradictions across consecutive bank statements.
- **Identity Verification** to scan IDs and certificates for suspicious localized editing or font mismatches.
- **Legal Discovery** to extract and categorize a structured evidence registry from a batch of documents.

### Known limitations
Requires ~4GB RAM for full visual model inference. Deep-learning indicators provide investigative flags rather than definitive legal proof, requiring human review for final sign-off.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AI Document Forensics skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this forensics skill differ from simply asking an LLM to check a document?

This skill detects pixel-level visual tampering (like pasted text or photoshopped patches), hidden metadata discrepancies, and semantic contradictions that standard LLM prompts cannot identify.

### What file formats are supported for forensic analysis?

The skill supports common document and image formats, including PDF, JPEG, and PNG, allowing for the analysis of both digital-born documents and scanned physical paperwork.

### What is included in the purchase of the AI Document Forensics skill?

You receive the complete Python-based forensic pipeline, including the specialized YOLOv8 and MobileNetV2 inference scripts, the OCR grounding engine, and the automated PDF reporting utility.

### What are the technical requirements to run these forensic models?

The skill is designed for Python 3.10+ environments and requires approximately 4GB of RAM to run the deep-learning models for visual anomaly detection effectively.

### Can the reports generated by this skill be used as definitive legal proof?

While the skill provides high-confidence detection flags and annotated evidence, the results are intended to assist investigators; human review is recommended for final legal or high-stakes sign-offs.

### Is this skill compatible with my existing AI agent framework?

The skill is built as a modular Python toolset that can be integrated into any AI agent framework capable of executing scripts and handling file system inputs/outputs.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
