Metadata-Version: 2.4
Name: delentia-os
Version: 2.4.2
Summary: Delentia OS: a governed, self-hosted AI agent runtime (experimental)
Author-email: Ittirit Saengow <ittirit720@gmail.com>
Maintainer-email: Delentia Labs <founder@delentia.com>
License: Apache-2.0
Project-URL: Homepage, https://delentia.com
Project-URL: Repository, https://github.com/delentia-labs/delentia-os
Project-URL: Documentation, https://delentia.com/docs
Project-URL: Bug Tracker, https://github.com/delentia-labs/delentia-os/issues
Keywords: ai,constitutional-ai,intent-loop,signedai,fdia,delentia,recot
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.0
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn[standard]>=0.29
Requires-Dist: click>=8.1.0
Requires-Dist: rich>=13.7.0
Requires-Dist: textual>=1.0.0
Requires-Dist: discord.py>=2.0.0
Requires-Dist: slack-bolt>=1.30.0
Requires-Dist: zstandard>=0.25.0
Requires-Dist: tiktoken>=0.14.0
Requires-Dist: cryptography>=50.0.0
Requires-Dist: PyJWT>=2.13.0
Requires-Dist: mcp>=2.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: structlog>=24.1.0
Requires-Dist: PyYAML>=6.0
Requires-Dist: numpy>=1.24
Requires-Dist: networkx>=3.0
Requires-Dist: gql[aiohttp]>=3.5.0
Requires-Dist: websockets>=12.0
Requires-Dist: loguru>=0.7.0
Requires-Dist: robotexclusionrulesparser>=1.7.1
Provides-Extra: video
Requires-Dist: opencv-python-headless>=4.8.0; extra == "video"
Provides-Extra: graph
Requires-Dist: networkx>=3.0; extra == "graph"
Requires-Dist: numpy>=1.24; extra == "graph"
Provides-Extra: qdrant
Requires-Dist: qdrant-client>=1.7; extra == "qdrant"
Provides-Extra: monitoring
Requires-Dist: prometheus-client>=0.20.0; extra == "monitoring"
Provides-Extra: persistence
Requires-Dist: aiosqlite>=0.19.0; extra == "persistence"
Provides-Extra: llm
Requires-Dist: openai>=1.0.0; extra == "llm"
Requires-Dist: anthropic>=0.20.0; extra == "llm"
Provides-Extra: vector
Requires-Dist: faiss-cpu>=1.8.0; extra == "vector"
Provides-Extra: ml
Requires-Dist: torch>=2.0.0; extra == "ml"
Requires-Dist: scikit-learn>=1.3.0; extra == "ml"
Provides-Extra: web-intelligence
Requires-Dist: spacy>=3.7.0; extra == "web-intelligence"
Requires-Dist: nltk>=3.10.3; extra == "web-intelligence"
Requires-Dist: textblob>=0.18.0; extra == "web-intelligence"
Requires-Dist: robotexclusionrulesparser>=1.7.1; extra == "web-intelligence"
Provides-Extra: integrations
Requires-Dist: gql>=3.5.0; extra == "integrations"
Requires-Dist: websockets>=12.0; extra == "integrations"
Requires-Dist: loguru>=0.7.0; extra == "integrations"
Provides-Extra: diffusion
Requires-Dist: diffusers>=0.30.0; extra == "diffusion"
Requires-Dist: accelerate>=0.30.0; extra == "diffusion"
Requires-Dist: safetensors>=0.4.0; extra == "diffusion"
Provides-Extra: media-ai
Requires-Dist: ultralytics>=8.0.0; extra == "media-ai"
Requires-Dist: openai-whisper>=20231117; extra == "media-ai"
Requires-Dist: pyannote.audio>=3.0.0; extra == "media-ai"
Requires-Dist: soundfile>=0.12.0; extra == "media-ai"
Requires-Dist: librosa>=0.10.0; extra == "media-ai"
Requires-Dist: imageio-ffmpeg>=0.5.0; extra == "media-ai"
Provides-Extra: full
Requires-Dist: networkx>=3.0; extra == "full"
Requires-Dist: numpy>=1.24; extra == "full"
Requires-Dist: qdrant-client>=1.7; extra == "full"
Requires-Dist: prometheus-client>=0.20.0; extra == "full"
Requires-Dist: aiosqlite>=0.19.0; extra == "full"
Requires-Dist: openai>=1.0.0; extra == "full"
Requires-Dist: anthropic>=0.20.0; extra == "full"
Requires-Dist: faiss-cpu>=1.8.0; extra == "full"
Requires-Dist: torch>=2.0.0; extra == "full"
Requires-Dist: scikit-learn>=1.3.0; extra == "full"
Requires-Dist: spacy>=3.7.0; extra == "full"
Requires-Dist: nltk>=3.10.3; extra == "full"
Requires-Dist: textblob>=0.18.0; extra == "full"
Requires-Dist: robotexclusionrulesparser>=1.7.1; extra == "full"
Requires-Dist: gql>=3.5.0; extra == "full"
Requires-Dist: websockets>=12.0; extra == "full"
Requires-Dist: loguru>=0.7.0; extra == "full"
Requires-Dist: diffusers>=0.30.0; extra == "full"
Requires-Dist: accelerate>=0.30.0; extra == "full"
Requires-Dist: safetensors>=0.4.0; extra == "full"
Requires-Dist: ultralytics>=8.0.0; extra == "full"
Requires-Dist: openai-whisper>=20231117; extra == "full"
Requires-Dist: pyannote.audio>=3.0.0; extra == "full"
Requires-Dist: soundfile>=0.12.0; extra == "full"
Requires-Dist: librosa>=0.10.0; extra == "full"
Requires-Dist: imageio-ffmpeg>=0.5.0; extra == "full"
Dynamic: license-file

# Delentia OS

[![CI](https://github.com/delentia-labs/Delentia-OS/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/delentia-labs/Delentia-OS/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/delentia-os?label=PyPI)](https://pypi.org/project/delentia-os/)
[![Windows installer](https://img.shields.io/github/v/release/delentia-labs/Delentia-OS?label=Windows%20installer&logo=windows)](https://github.com/delentia-labs/Delentia-OS/releases/latest)
[![Python](https://img.shields.io/badge/python-3.10+-3776AB?logo=python&logoColor=white)](pyproject.toml)
[![License](https://img.shields.io/badge/license-Apache%202.0-green)](LICENSE)
[![Status](https://img.shields.io/badge/status-experimental-orange)](docs/KNOWN_LIMITATIONS.md)

**A self-hosted AI agent runtime in which the model only proposes. Every tool call is judged before it runs, anything that writes, sends or runs code waits for a person's signature, and every episode leaves a record you can verify.**

AI agents can plan and use tools. What happens when the model misreads you, reads a hostile web page, or the process dies halfway through a job? Most setups rely on the model behaving. Delentia OS does not: the runtime sits between the model and the tools and decides.

> **Status: experimental research software by one author.** It is not certified for production or critical work, no strong hosted model has driven it under test yet, and nothing here runs anywhere except on your own machine. Read [what is measured, and what is not](#what-is-measured-and-what-is-not) and the [known limitations](docs/KNOWN_LIMITATIONS.md) before you give it anything that matters.

**What you can explore**

- **Governed tool use.** A gate (a score, your own policy, and a rule about untrusted text) judges each call. Reading is quiet; writing, sending and running code stop and wait for a signature from a key or a device you own.
- **A rule for hostile content.** Text that comes from outside (a web page, a file in an untrusted folder, a message) marks the episode as *tainted*. From then on, anything that could send or change something needs a signature, whatever the model says.
- **Your intent stays visible.** In the Desk the plan is shown before the first tool runs, a request that breaks a requirement you stated can stop and ask, and the answer is checked against what you asked (a heuristic: it decides what is learned, not what you see).
- **Verifiable records.** Each episode is written to a hash-chained, signed audit log you can re-check offline.
- **Recovery.** An interrupted episode can be continued, and a retried call carries the key of the call it retries (tested with scripted models and hard kills, not yet with a hosted model).
- **Your model, your machine.** A local model (Ollama), any OpenAI-compatible endpoint, or OpenRouter. Nothing runs anywhere except where you install it.

[Run the demo (no model, no key)](#try-it-in-two-minutes-no-model-no-api-key) · [What a run looks like](#what-a-run-looks-like) · [What is measured, and what is not](#what-is-measured-and-what-is-not) · [FAQ](#faq) · [Known limitations](docs/KNOWN_LIMITATIONS.md) · [Reference](docs/reference/index.md)

## The governed cycle

<p align="center"><img src="https://raw.githubusercontent.com/delentia-labs/Delentia-OS/main/docs/assets/governed-cycle.svg" alt="The governed cycle: GUARD, THINK, ROUTE, ACT, COMPRESS, VERIFY, RECORD, LEARN, and back to the next episode" width="860" /></p>

**GUARD** (is the request itself an attack?) → **THINK** (a plan) → **ROUTE** (fast or careful) → **ACT** (each tool call is judged first) → **COMPRESS** (long tool output is made smaller and stays recoverable) → **VERIFY** (does the answer match what was asked?) → **RECORD** (a signed, hash-chained audit log) → **LEARN** (only verified episodes become skills).

This is the runtime's execution cycle. RCT-7, the creator's seven-step way of thinking, is a separate thing and is tracked separately: steps 4 to 7 do not yet meet its definition ([status, step by step](docs/public/RCT7_IMPLEMENTATION_STATUS.md)). The older "7-state intent loop" you may see in earlier material belongs to a reference microservice that simulates execution; it is not this cycle.

## Where the model stops and the runtime decides

<p align="center"><img src="https://raw.githubusercontent.com/delentia-labs/Delentia-OS/main/docs/assets/governance-boundary.svg" alt="The model proposes a tool call; the policy and tool gate allows it, requires a person's signature, or refuses it; results are screened, verified and written to the audit log and memory" width="640" /></p>

The model proposes; the runtime enforces. The drawing shows the governed loop. It does **not** claim that every route into the system passes the gate: routes outside the loop (for example the raw `/mcp` gateway, which is owner-only) are listed in [`research/GATE_PROPERTIES.md`](research/GATE_PROPERTIES.md), and until a witness outside the machine exists the log is hash-chained and signed, **not** tamper-proof.

## Install

| You are | Start here |
|---|---|
| **On Windows, no Python** | [**Download Delentia-Setup.exe**](https://github.com/delentia-labs/Delentia-OS/releases/latest/download/Delentia-Setup.exe), double-click it, then start **Delentia** from the Start menu. It installs for your account only (no administrator rights, nothing starts by itself, uninstalling never touches your data in `%USERPROFILE%\.delentia`) and needs the internet while installing. It is **not code-signed yet**, so Windows SmartScreen will warn: check the download against the published [`SHA256SUMS.txt`](https://github.com/delentia-labs/Delentia-OS/releases/latest/download/SHA256SUMS.txt) first. Step by step: [English](docs/demo/INSTALL_WINDOWS_EN.md) · [ภาษาไทย](docs/demo/INSTALL_WINDOWS_TH.md) |
| **A Python user** (3.10 or newer) | `pip install delentia-os`, then `delentia setup`, `delentia serve`, `delentia desk` |
| **Using a local model** | The same, with [Ollama](https://ollama.com/download) installed: `delentia setup` helps you choose a model that answers |
| **On macOS** | **Untested.** The package is Python, so it may work, but nobody has tried it on a Mac and the author has no Mac to try it on. A [macOS install report](https://github.com/delentia-labs/Delentia-OS/issues/new/choose), good or bad, is one of the most useful things you can send |
| **A contributor** | `git clone https://github.com/delentia-labs/Delentia-OS`, `pip install -e .`, then [CONTRIBUTING.md](CONTRIBUTING.md) |
| **A researcher** | The demo below, then [`research/`](research/) and the [results register](research/RESULTS_PUBLIC.md) |

> The Windows installer is attached to every release from **2.4.0** on (2.3.1 and earlier have no installer and no Desk pages). Optional extras: `delentia-os[video]` (OpenCV), `delentia-os[vector]` (faiss). Install scripts for Linux, macOS and PowerShell exist in the repository ([`install.sh`](install.sh), [`install.ps1`](install.ps1)); they clone the `main` branch, not a release, so read them before running anything piped from the internet.

**Versions.** The package follows [Semantic Versioning](https://semver.org/) and only goes up. "*Public Technical Preview 0.1*" (Thai: *รุ่นทดลองเชิงเทคนิคสำหรับสาธารณะ 0.1*) is the name of a stage (what is opened to whom, see [`docs/release/RELEASE_LEVELS.md`](docs/release/RELEASE_LEVELS.md)), not a version number; `delentia --version` shows the version. More: [`docs/release/VERSIONING_POLICY.md`](docs/release/VERSIONING_POLICY.md).

## Try it in two minutes: no model, no API key

```bash
pip install delentia-os
delentia demo init --lang en                # a folder with three sample vendor quotes and a demo approver key (the default language is Thai: leave out --lang en for that)
delentia demo run compare --scripted        # the agent reads the quotes, answers, and the answer is checked against what is known to be true
delentia demo run edit --scripted           # asks to change a file: the agent STOPS and waits for a signature
delentia demo approve <id> --scripted       # you sign; only now does the file change
delentia demo run injection --scripted      # a hijacked model obeys a note hidden in a quote: watch the gate stop it
delentia demo status                        # the audit chain: how many rows, how many signed, intact or not
```

> **Version note.** `--lang en` and `delentia demo run injection --scripted` are in **2.4.1 and later**. On 2.4.0 the demo exists in Thai only; leave out `--lang en` there. `delentia --version` tells you which you have.

`--scripted` means a fixed program stands in for the **model** and nothing else: the files, the tools, the safety gate, the wait for a signature, the signature check and the audit log are real. It shows the mechanism without a model installed. It says nothing about how good any model is, and every report says so on its first line.

**Prefer a web page?** In one window run `delentia serve`, in another `delentia desk`: it opens the Desk in your browser (what the agent did, what waits for you, memory, models). A risky action can be approved from the Desk with a device you already own (Windows Hello, a fingerprint, a phone): [how](docs/demo/APPROVE_WITH_DEVICE_TH.md) (Thai). **To use a real model:** `delentia setup`, then the same commands without `--scripted` (a local Ollama model or any OpenAI-compatible endpoint).

## What a run looks like

This is an excerpt of a real run of the model-free demo ([the whole thing](docs/demo/SAMPLE_OUTPUT_EN.md), [in Thai](docs/demo/SAMPLE_OUTPUT.md)). The agent asks to change a price; it **stops**, and nothing is written:

```text
$ delentia demo run edit --scripted
**Goal:** Change the total price in quotes/vendor_a.md to 14,000 USD
**Status:** pending_approval - stopped and is waiting for a person: this step needs an approver's signature before it runs

## What the agent did
- delentia_read_repo_file {"relative_path": "quotes/vendor_a.md"} -> got a result of 228 characters
- delentia_patch_repo_file {"relative_path": "quotes/vendor_a.md", ...} -> waiting for an approver's signature
- Waiting for approval, id f483af2136b0 -> delentia demo approve f483af2136b0

## Text from outside (taint)
- This episode read text from outside: quotes/vendor_a.md is in a folder declared untrusted
  -> anything that could send data out or change something now needs a person to sign

## Look-back record
- audit chain: intact - 20 rows - 20 signed
```

After `delentia demo approve f483af2136b0 --scripted`, the report says the file changed, lists exactly which file, and the chain grows to 26 signed rows. The demo key sits on the same machine as the agent only so that you can see the whole flow: a real approval is signed from another device.

## What is measured, and what is not

| Evidence | Where it stands |
|---|---|
| The public test suite | **9,625 passed, 47 skipped, 0 failed, 92.18% coverage** ([CI run](https://github.com/delentia-labs/Delentia-OS/actions/runs/41300747145), commit `75e18b4`, 2026-11-01). A checkpoint that is updated by hand, not live. It is evidence about the code, not about how well a model uses it |
| The gate against a scripted attacker | A model that obeys every injected instruction: of 23 scenarios, 3 harmful side effects ran with the taint rule off and **0 with it on**, while 6 of 6 legitimate workflows still ran ([method and limits](docs/security/THREAT_MODEL.md)) |
| Signed approvals, the audit chain, recovery after a crash | Tested with a scripted model, including a hard kill at three points and a forged answer on its way back |
| Small local models | They complete some simple tasks, not reliably: on a five-goal probe qwen2.5:7b did 3, llama3.2:3b 0, qwen3:8b 4 (one machine, one run each) |
| **A strong hosted model driving the runtime** | **No result yet.** Everything above uses a scripted model or a small local one |
| **Independent reproduction** | **None yet** |
| An outside witness for the audit chain | Built (a public git ledger, a time-stamp authority, a Cloudflare Worker) but not independent of the author: until it is, the log is hash-chained and signed, **not** tamper-proof |
| The Windows installer | Built and run on a clean CI runner; not code-signed; not yet run on a second person's computer |
| Production readiness | **Not declared.** Experimental research software |

Every measurement is entered in [a register](research/RESULTS_PUBLIC.md) with the commit it ran on, the rule written before it ran and what it cost. Details and history: [`docs/testing/TESTING_CANONICAL.md`](docs/testing/TESTING_CANONICAL.md), [`CHANGELOG.md`](CHANGELOG.md).

## How it differs from other agent runtimes

There is **no head-to-head result that shows Delentia is better at anything**; the one comparison we ran (a small local model, four tasks) failed in every arm, which says nothing about the systems. What differs is the design, read from the other project's public documentation:

| | Delentia OS | A general agent such as Hermes Agent (per its documentation) |
|---|---|---|
| **Centre of the design** | A fixed cycle every episode passes: check the request, plan, route, judge each tool call, compress, verify, record, learn | A capable general agent with a very wide set of tools and platforms |
| **Risky actions** | Your policy plus a built-in floor decide per call; writing, sending and running code wait for a signature over that exact action, single use, expiring | Approval settings for dangerous commands; we did not find signed, per-action, single-use approvals in the documentation we read |
| **Text from outside** | Reading it taints the episode; from then on side-effect tools need a signature whatever the model says | We did not find a rule of this kind in the documentation we read |
| **The record** | A hash-chained, signed log, verifiable offline, with per-person erasure that keeps the chains valid | Session history and logs; we did not find tamper-evidence described |
| **Breadth and community** | Seven chat channels, 50 tools, one author, no outside users yet | A much wider set of platforms and tools and a large active community: **breadth is where Hermes is ahead, and Delentia does not claim parity** |

If you want the widest set of integrations and a large community today, use a mature general agent; Delentia is not that. If your problem is "I let an agent act for me, a person must approve the risky parts, and I need to show afterwards exactly what happened", Delentia is built for that. The two are not exclusive: any HTTP service that publishes an OpenAPI document can be put behind Delentia's gate. If a sentence about another project is wrong, [open an issue](https://github.com/delentia-labs/Delentia-OS/issues/new/choose) and we will correct it. The full page, with what we did and did not run: [`docs/COMPARISON.md`](docs/COMPARISON.md).

## Is it for you?

**A good fit** if you want to let an agent act on files or tools while a person approves the risky steps; you want evidence you can verify afterwards of what it did; you prefer a model on your own machine; or you study how agents should be governed and want something you can read and run.

**Not a fit (yet)** for production or critical workloads; compliance you need certified (nothing here is certified for PDPA, GDPR or anything else); a hosted service with a sign-up (there is none); two organisations that distrust each other on one host (people are separated by a namespace, not isolated); or the widest possible set of integrations.

## Configure it

```bash
delentia setup                                                   # choose a model that answers, make an audit key, offer recall by meaning
delentia model show                                              # which model and provider are in use (delentia model set ... to change)
delentia fdia template balanced --out ~/.delentia/fdia_policy.json     # write your rules for A: which tools run freely, which need a signature
delentia approvals keygen --out ~/keys/sec.pem --trust alice --role Security_Admin    # an approver key; keep it on another device
delentia fdia test delentia_write_repo_file --args '{"relative_path": ".env"}' --approved    # try a rule on a call without running it
```

Plan-first approval (one signature for a whole numbered plan) is off until you write it into your policy. A key is never stored in a file: the model configuration names an environment variable. The details, with data residency, other MCP servers, one token per person and the Tool Forge: [runtime features](docs/reference/runtime-features.md).

## FAQ

**Does it send my data anywhere?** Only to the model endpoint you choose. With a local model nothing leaves your machine. A data-residency policy can refuse or redact a call before it is sent. Once a day it reads PyPI to see whether a newer release exists (nothing about you is sent; it can be switched off).

**Do I need a GPU or an account?** No account. The demos need no model at all. A real run needs a model: a local one on a CPU works but is slow (a 7 to 8 billion parameter model took minutes per episode on the author's laptop), or use any OpenAI-compatible endpoint.

**Is it safe to point at my real files?** Treat it as experimental. Writes and sends wait for your signature, but the local shell tool is not a jail: it runs as your user. Start in a copy or a new folder, and keep approver keys on another device.

**How is this different from prompt-level guardrails?** The gate is code outside the model: a model that is talked into something still cannot write, send or run code without a signature, and text from outside permanently raises the bar for that episode. It does not stop a poisoned page from making an *answer* wrong.

**Why 41 algorithms?** They are modules from the design, all with real logic and tests, but five act directly inside the loop; most are optional stages. See [`research/ALGORITHM_BEHAVIOUR_MAP.md`](research/ALGORITHM_BEHAVIOUR_MAP.md).

**What does "tamper-evident, not tamper-proof" mean here?** Each audit row is hashed to the one before it and signed, so an edited row is found. Someone who controls the machine could still rewrite the whole log, or cut the newest rows, unless an outside witness holds a recent copy of its head. Witnesses exist but are off until you configure them.

**Who writes it?** One person, who directs AI coding assistants rather than writing the code line by line; many commits carry a `Co-Authored-By` trailer. There is no team and no support contract: [SECURITY.md](SECURITY.md) states the response goals.

## What is in this repository

| In | What |
|---|---|
| **The open-source runtime** (Apache 2.0) | The agent runtime (`rct_control_plane/`), the Desk web pages, the Windows installer, 41 algorithm modules (only some run inside the loop), the SDK modules and 5 reference microservices |
| **Optional** | Local or hosted models, other MCP servers through the same gate, web search, chat channels (each closed until you name who may use it), the jury runner |
| **Experimental** | RCT-7 steps 4 to 7, the model-assisted judge and critic, the Law Pack, memory by meaning |
| **Not included** | A separate, proprietary service layer that lives in a private repository and is not part of this release. No hosted service: nothing here runs anywhere except on your machine |

> **Enterprise** (not in this repository) means that separate proprietary layer; this repository does not offer it as a running service. The runtime can use any HTTP service that publishes an OpenAPI document, through the same gate (`python -m rct_control_plane.openapi_mcp_bridge --help`).

Two companion repositories: **Delentia Guard** (a policy filter in front of any MCP server, npm `delentia-guard`) and the **Delentia MCP connector** (six advisory tools, npm `delentia-mcp`), both in [delentia-mcp](https://github.com/delentia-labs/delentia-mcp).

## What Delentia is, and what RCT-7 and the FDIA Equation are

**Delentia OS is an experimental, open-source, self-hosted, intent-centric AI agent runtime.** The agent loop, tools, memory, skills, schedules and subagents live inside it, and every episode passes the cycle above. You choose the model and you run the installation. It is a research project by one creator, not a commercial product, and it is not production-stable for critical workloads. It does not change a language model's weights: it governs what an agent is allowed to do and keeps evidence of what it did. The one-page definition, with the history and what is still to be tested: [`docs/public/CURRENT_PUBLIC_INFORMATION_EN.md`](docs/public/CURRENT_PUBLIC_INFORMATION_EN.md) ([ภาษาไทย](docs/public/CURRENT_PUBLIC_INFORMATION_TH.md)).

- **FDIA Equation, `F = (D^I) × A`.** It began as a framework about the future: **F**uture (the outcome that actually happens), **D**ata (reality and experience, good and bad), **I**ntent (the exponent that gives the data direction) and **A**rchitect (the human who designs, decides and answers for the outcome). The equation has no official expanded name. In this runtime it is read as an admissibility score for an action, used together with the owner's policy and signed human approvals; the score alone is not what stops an action. Inside the gate D is a number between 0 and 1, so a larger I makes F *smaller* for the same D: a clearer, more demanding intent needs better data to pass. When A = 0 the formula gives F = 0 and the gate refuses, on every code path that applies the gate: this is an invariant of those paths, not a guarantee about every path or about what a model writes. [The full explanation](docs/reference/fdia-equation.md).
- **RCT-7, Reverse Component Thinking.** A way of working in seven steps: observe, analyze, deconstruct, reason backward from the wanted result, identify the core intent, reconstruct (show the plan before building), and compare the result with the intent (stop and ask when it does not match). **This is the design. The runtime implements parts of it; steps 4 to 7 do not yet meet the creator's definition.** [The checklist](docs/public/RCT7_IMPLEMENTATION_STATUS.md).

## Architecture and reference

The README is a short entrance. The detail lives in the documentation:

- [Reference index](docs/reference/index.md): [the FDIA Equation](docs/reference/fdia-equation.md), [runtime features](docs/reference/runtime-features.md) (data residency, API hardening, the owner's policy, MCP, Tool Forge), [SDK modules and components](docs/reference/sdk-and-components.md), [earlier README content](docs/reference/legacy-numbers-and-history.md) (key numbers, the older layer diagram, install variants, the project structure and the timeline, with dated corrections)
- [Whitepaper 3.0](docs/whitepaper/DELENTIA_WHITEPAPER_3.0_EN.md) ([ภาษาไทย](docs/whitepaper/DELENTIA_WHITEPAPER_3.0_TH.md)): the current single source for the design, the measured evidence and the withdrawn claims
- [Threat model](docs/security/THREAT_MODEL.md) · [Known limitations](docs/KNOWN_LIMITATIONS.md) · [Comparison](docs/COMPARISON.md) · [Release levels](docs/release/RELEASE_LEVELS.md) · [Release readiness checklist](docs/release/RELEASE_READINESS_CHECKLIST.md) · [Public release provenance](docs/release/PUBLIC_RELEASE_PROVENANCE.md)
- [Documentation site](https://delentia-labs.github.io/Delentia-OS/) · [Website](https://delentia.com)

## What comes next

Not promises, the order the author is working in: the first measurements with strong hosted models (planned and paid for by the author; the results go into the register whether they are good or poor), a real Windows Hello test and an install on a second computer, a handful of outside testers, a witness the author does not control, and code-signing for the Windows installer. Everything open is in [ROADMAP.md](ROADMAP.md) and [known limitations](docs/KNOWN_LIMITATIONS.md).

## Community and how to help

- **Run the demo and tell us what happened**, especially on **macOS** or Linux, through an [install report](https://github.com/delentia-labs/Delentia-OS/issues/new/choose).
- **Try to break the gate.** The routes we know are not covered are in [`research/GATE_PROPERTIES.md`](research/GATE_PROPERTIES.md); a bypass you can reproduce is the most valuable report. Security findings go to [SECURITY.md](SECURITY.md), not to a public issue.
- **Reproduce or dispute a measurement** with the command in the [results register](research/RESULTS_PUBLIC.md).
- **Correct something we said about your project** in the [comparison](docs/COMPARISON.md).
- Questions and ideas belong in [Discussions](https://github.com/delentia-labs/Delentia-OS/discussions); how to contribute code or translations: [CONTRIBUTING.md](CONTRIBUTING.md).

## About the creator

**Ittirit Saengow (อิทธิฤทธิ์ แซ่โง้ว)**, thinker and creator of Delentia, Klong Toei, Bangkok. The creator's account: the work, including the FDIA Equation and RCT-7, began on **28 June 2025**, on paper and in conversations with ordinary AI chat, with the question "What is the future?" and later a second one: if an AI agent is to work through a way of thinking we design, how can a human keep authority over what it does? **11 August 2025** is a separate personal turning point, not the date the equation was first written. No independent timestamp of the original paper exists, so the dates are the creator's account. The whitepapers are the history of the design, not evidence that every statement in them has been tested.

[GitHub @ittirit-delentia](https://github.com/ittirit-delentia) · [LinkedIn](https://www.linkedin.com/in/ittirit-saengow/) · [X @ittirit_rct](https://x.com/ittirit_rct) · [Reddit u/WindLate5307](https://www.reddit.com/user/WindLate5307/) · [Bio](https://ittiritsaengow.link) · founder@delentia.com. The timeline of the project is in the [earlier README content](docs/reference/legacy-numbers-and-history.md).

## The Delentia ecosystem

| Repository | Purpose | Status |
|---|---|---|
| [Delentia-OS](https://github.com/delentia-labs/Delentia-OS) | Agent runtime and core SDK, with the GUI (`apps/gui`), the adapter registry (`plugins/adapters`) and public deployment files (`deploy/`) | ✅ Apache 2.0 |
| [delentia-mcp](https://github.com/delentia-labs/delentia-mcp) | MCP server (6 tools on Cloudflare Workers) and Delentia Guard | ✅ Apache 2.0 |
| [Delentia-AI-SLM](https://github.com/delentia-labs/Delentia-AI-SLM) | SLM fine-tuning experiments | 🗄️ Archived |
| [Delentia-Infra-Enterprise](https://github.com/delentia-labs/Delentia-Infra-Enterprise) · [Delentia-Private-OS](https://github.com/delentia-labs/Delentia-Private-OS) | Enterprise infrastructure and platform | 🔒 Proprietary |
| [Delentia-Website](https://github.com/delentia-labs/Delentia-Website) | Marketing and documentation site (Next.js, Vercel) | 🔒 Proprietary |

## License

Apache 2.0, see [LICENSE](LICENSE). Copyright 2026 Ittirit Saengow (อิทธิฤทธิ์ แซ่โง้ว), Delentia Labs. Made in Bangkok, Thailand.
