Metadata-Version: 2.4
Name: elidia-ai-evidentia
Version: 0.1.0
Summary: Elidia AI Evidentia — Hermes-driven all-in-one digital forensics desktop application
Author: Elidia / AiUtils
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PySide6>=6.6
Requires-Dist: SQLAlchemy>=2.0
Requires-Dist: requests>=2.31
Requires-Dist: cryptography>=42.0
Requires-Dist: keyring>=24.0
Requires-Dist: pefile>=2023.2.7
Requires-Dist: yara-python>=4.5
Requires-Dist: python-nmap>=0.7
Provides-Extra: heavy
Requires-Dist: pytsk3; extra == "heavy"
Requires-Dist: pyewf; extra == "heavy"
Requires-Dist: volatility3; extra == "heavy"
Requires-Dist: pyshark; extra == "heavy"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Dynamic: license-file

<div align="center">

<img src="images/Elidia-AI-Evidentia-Forensics-Logo.png" alt="Elidia AI Evidentia" width="460"/>

# Elidia AI Evidentia

### Autonomous AI-Agent Digital Forensics

**One desktop app. Every forensic tool. An AI investigator that plans, runs and explains the case — while your evidence stays tamper-evident and court-ready.**

[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue)](#-download--install)
[![Python](https://img.shields.io/badge/python-3.11%2B-success)](#-download--install)
[![Cost](https://img.shields.io/badge/download-free-brightgreen)](#-download--install)
[![AI](https://img.shields.io/badge/AI-aiutils.io%20Developer%20Key-ff6f00)](#-activate-the-ai-investigator)
[![Ethics](https://img.shields.io/badge/use-defender--side%20only-8e24aa)](#-ethics--legal)

<br/>

### Partner & technology stack
<a href="https://aiutils.io"><img src="images/elidia-techlogy-logo.png" alt="Elidia Technology" height="80"/></a>
<a href="https://aiutils.io"><img src="images/aiutils-io-logo.png" alt="AiUtils.io" height="80"/></a>
<img src="images/Elidia-Core-logo.png" alt="Elidia Core" height="80"/>
<img src="images/elidia-agent-logo.png" alt="Elidia Agent" height="80"/>
<img src="images/dc-api-logo.png" alt="Developer API" height="80"/>

</div>

---

## Why Elidia AI Evidentia

Digital forensics today means juggling a dozen separate tools, copy-pasting output between
them, and hand-building a report at 2am. **Elidia AI Evidentia replaces that grind with a
single desktop app driven by an autonomous AI investigator.**

Drop in a disk image, memory dump, PCAP, or a folder of files. Evidentia's **Elidia Agent
multi-agent orchestrator** decides which tools to run, executes them, verifies the evidence
wasn't touched, correlates findings across every domain, and hands you an expert report with
a full chain-of-custody. You stay the investigator. It does the heavy lifting.

> **The principle:** *Agents reason. Sentinel verifies. Audit records.*
> AI **recommends** — it never deletes, overwrites or authorizes. Your evidence is preserved,
> hashed and append-only, every step of the way.

---

## What makes it different

| | Capability | What it means for you |
|---|---|---|
| 🧠 | **Elidia Agent Agent core** | A plan → run → interpret → re-plan loop routes 9 specialist sub-agents, each with deny-by-default tool permissions. |
| 🔌 | **Elidia Agent engine** | The installed Elidia Agent CLI drives reasoning with real tool-calling; aiutils.io REST is the fallback. Least-cost model routing, with estimated **DT cost shown before every call** — no silent spend. |
| 🛡️ | **Evidence Sentinel** | Automatic MD5/SHA1/SHA256/BLAKE2b hash-before & hash-after, write-protected analysis, and a **tamper-evident, append-only chain-of-custody**. Every finding links back to artifact → hash → tool run → custody entry. |
| 💬 | **Natural-language case intelligence** | Ask *"What did user X do between 2–4pm?"* — the agent queries a case knowledge graph (files, processes, IPs, users, registry, network flows) and answers with **cited findings**. |
| ⚡ | **One-click autonomous triage** | Drop evidence → auto-plan → execute → interpret → expert report. The forensic expert in a box. |
| 🧩 | **Capability-adaptive & offline-first** | Plans only around tools actually installed, degrades gracefully, keeps all forensics **local**. Only the AI brain needs a connection. |
| ⚖️ | **Defender-side by design** | No offensive use. Chain-of-custody discipline. VirusTotal is **hash-only by default**. Analysis is advisory and explicitly *not legal advice*. |
| 🧱 | **Pluggable skills** | Every forensic tool is a drop-in `ToolAdapter` module — extend capability by adding one file. |

---

## Your AI investigative team

Evidentia isn't one chatbot — it's a coordinated team of nine specialists, orchestrated end-to-end:

| Agent | Domain | Tools |
|---|---|---|
| **TriageAgent** | Intake, hashing, integrity, first-pass classification | built-in |
| **DiskAgent** | Partition maps, file listing, recovery, carving, timeline | Sleuth Kit / pytsk3 |
| **MemoryAgent** | Processes, injected code, registry, strings | Volatility3 |
| **MetadataAgent** | EXIF/XMP metadata, PE static, Windows artifacts | ExifTool, pefile, Event Logs, registry |
| **NetworkAgent** | Protocol dissection, stream following, host discovery | tshark, Nmap |
| **WebAgent** | Web/app analysis (defender-side) | OWASP ZAP, mitmproxy |
| **MalwareAgent** | Disassembly, decompilation, YARA, PE heuristics | Ghidra, YARA, pefile |
| **IntelAgent** | Reputation & vulnerability advisory (hash-first) | VirusTotal v3, OSV/CVE |
| **ReporterAgent** | Court-ready expert report compilation | Markdown / HTML / PDF |

An **EvidenceSentinel** oversees the whole run — verifying integrity and enforcing the
append-only chain-of-custody. Every agent **analyzes; none authorizes.**

---

## 📥 Download & Install

**Elidia AI Evidentia is free to download and install.** No license key is needed to run the
application itself or to use the built-in forensic tools locally.

Grab the installer for your platform from the
[**Releases**](../../releases) page:

| Platform | Artifact |
|---|---|
| 🪟 Windows | `Elidia-AI-Evidentia-Setup-x.y.z.exe` |
| 🍎 macOS | `Elidia-AI-Evidentia-x.y.z.dmg` |
| 🐧 Linux | `Elidia-AI-Evidentia-x.y.z.deb` |

> Every release artifact is integrity-verified and published with a SHA-256 manifest.

### Run from source (developers)

```bash
git clone <your-repo-url>
cd Elidia-Evidentia-AI

python -m venv .venv && . .venv/Scripts/activate     # Windows
# source .venv/bin/activate                          # macOS / Linux

pip install -e ".[dev]"
python -m elidia_evidentia            # launch the desktop app
```

Optional heavy forensic backends (Sleuth Kit, Volatility3, pyewf, pyshark):

```bash
pip install -e ".[heavy]"
```

> Evidentia is **capability-adaptive** — it detects which tools are installed and plans
> around them. Missing a tool? It tells you, and still runs everything else.

---

## 🔑 Activate the AI Investigator

The application and its local forensic tools are **free**. To switch on the **AI agent**
(the Elidia Agent orchestrator that plans, reasons and writes reports), you need an
**aiutils.io Developer API key**.

1. **Get a subscription** at the [aiutils.io portal](https://aiutils.io) and create a
   **Developer API key** (the Developer API endpoint is
   `https://developer-api.aiutils.io/v1`).
2. **Add your key** to the app — it's stored securely in your **OS keyring**
   (Windows Credential Manager), never written to disk in plaintext:

   ```bash
   # Desktop app → Settings tab, or the CLI:
   python -m elidia_evidentia.cli configure-key --key YOUR_AIUTILS_KEY
   # or set it as an environment variable (takes priority):
   #   AIUTILS_API_KEY=YOUR_KEY
   ```

3. **Verify:**

   ```bash
   python -m elidia_evidentia.cli status
   ```

That's it — every AI feature (autonomous planning, case intelligence, AI chat, report
generation) now runs on your aiutils.io key. Retrieval-augmented generation (RAG) over your
case notes and reference material is included, and **estimated DT cost is shown before any
LLM call** so there's never a surprise on your bill.

---

## Run your first case

**Headless CLI**

```bash
python -m elidia_evidentia.cli run --path E:\evidence\image.dd \
    --objective "disk + malware triage" --type disk

python -m elidia_evidentia.cli plan --objective "network triage" --type network
python -m elidia_evidentia.cli status
```

**Desktop app** — `python -m elidia_evidentia` (or the installed `elidia-evidentia` launcher):

1. **Case** tab — set the evidence path, objective and type → **Run full case** (or **Triage only**). Analysis runs in a worker thread; the UI never blocks.
2. **Evidence** tab — populated artifacts and findings.
3. **Plan** tab — the capability-adaptive plan (only installed tools are scheduled).
4. **Report** tab — the expert report (Markdown/HTML), with integrity + DT cost in the status bar.
5. **AI Chat** tab — query the Elidia Agent directly (advisory; shows estimated DT cost first).

---

## Integrated forensic toolchain

All behind one pluggable `ToolAdapter` interface — the agent treats every tool identically.

| Adapter | Tool | Notes |
|---|---|---|
| `disk_forensics` | Sleuth Kit / pytsk3 | mmls · fls · tsk_recover · timeline |
| `memory_forensics` | Volatility3 | processes · injected code · registry · strings |
| `metadata` | ExifTool + pefile | EXIF/XMP · PE static · Windows artifacts |
| `network_forensics` | Wireshark / tshark | dissect · follow stream · export objects |
| `network_scan` | Nmap | host discovery · service/version scan |
| `reverse_engineering` | Ghidra + YARA | headless decompile · rule scanning |
| `web_analysis` | OWASP ZAP / mitmproxy | defender-side only |
| `virus_total` | VirusTotal v3 | **hash-only by default**; upload is explicit opt-in |
| `crypto` / `triage` / `windows_tools` | pure-Python / OS built-ins | always available |
| `ram_acquisition` | memory acquisition | optional; uses open-source acquisition where available |

> Upstream licence and notice files for every wrapped tool are **retained in full** — see
> [Third-party licences](#-license). We wrap these tools; we do not strip or rebrand them.

---

## ⚖️ Ethics & Legal

- **Defender-side only.** Evidentia is built for lawful investigation, incident response and
  forensic analysis. It performs **no offensive operations**.
- **AI is analysis, never authorization.** The agent recommends; it never deletes, overwrites,
  wipes or remediates evidence. Uncertain AI predictions never trigger destructive action.
- **Evidence is preserved, not destroyed.** Read-only analysis, hash-before/hash-after, and an
  append-only chain-of-custody keep findings admissible. Suspected-malicious evidence is kept
  for court — never auto-deleted.
- **VirusTotal sharing warning.** Lookups are hash-only by default; file upload (shared with
  other users) requires explicit opt-in.
- **Not legal advice.** Findings are AI-assisted, evidence-first and advisory. Route raw case
  evidence only to providers approved for it.

---

## 📄 License

**Elidia AI Evidentia is free to download, install and use.** The application's licence, the
third-party licences for every wrapped forensic tool, and the terms governing the aiutils.io
AI service are described in the [LICENSE](LICENSE) file and summarized below.

- **Application code** — Copyright © Elidia Technology Private Limited. Distributed under the
  [Elidia Free Forensics Licence](LICENSE) (free for lawful personal, educational and
  commercial forensic use; redistribution and resale restrictions apply).
- **Wrapped open-source tools** — Sleuth Kit (GPL/CPL), Ghidra (Apache-2.0), YARA (LGPL),
  Nmap (NPSL), ExifTool (Artistic), Volatility3, pefile, OWASP ZAP, tshark/Wireshark (GPL)
  and others. **All upstream licences and copyright notices are retained.** These tools remain
  under their own respective licences; Evidentia wraps them and does not relicense them.
- **AI service** — use of the aiutils.io LLM/RAG backend is governed by the
  [aiutils.io Terms](https://aiutils.io/terms),
  [Privacy Policy](https://aiutils.io/privacy) and
  [Fair-Use Policy](https://aiutils.io/fair-use-policy).

> This is a security/forensics product — **use it responsibly, lawfully and defensively.**
> Licence terms are provided for information; consult qualified counsel before relying on them
> in a commercial or legal context.

---

## Resources

| | |
|---|---|
| 🌐 **aiutils.io portal** | [https://aiutils.io](https://aiutils.io) — get your Developer API key |
| 📖 **User guide** | [docs/USER_GUIDE.md](docs/USER_GUIDE.md) |
| 🏗️ **Product plan** | [docs/plans/2026-11-28-elidia-ai-evidentia.md](docs/plans/2026-11-28-elidia-ai-evidentia.md) |
| 🛠️ **Build from source** | `python packaging/build.py` (tests → PyInstaller → integrity → manifest) |
| 🧪 **Run the tests** | `python -m pytest tests/ -v` |
| ✉️ **Support** | [support@aiutils.io](mailto:support@aiutils.io) |

---

<div align="center">

<img src="images/Elidia-AI-Evidentia-Forensics-Icon.png" alt="Evidentia icon" width="72"/>

**Elidia AI Evidentia** · *Agents reason. Sentinel verifies. Audit records.*

<img src="images/Elidia-AI-Evidentia-Forensics-Icon.ico" alt="Evidentia Windows app icon" width="40"/> &nbsp; *(Windows installer & app icon: `Elidia-AI-Evidentia-Forensics-Icon.ico`)*

Copyright © 2026 Elidia Technology Private Limited · Powered by [aiutils.io](https://aiutils.io)

</div>
