Delentia OS: a governed, self-hosted AI agent runtime (experimental)
pip install delentia-os==2.4.1 Copy PIP instructions
Delentia OS is an agent runtime. An agent here is not a loop that does whatever the model says. Every episode passes the same fixed cycle:
GUARD (is the request itself an attack?) → THINK (plan) → ROUTE (fast or careful) → ACT (each tool call is judged first; anything that writes, sends or runs code waits for a person's Ed25519 signature) → COMPRESS → VERIFY (does the answer match what was asked?) → RECORD (hash-chained, signed audit log you can re-verify offline) → LEARN (only verified episodes become skills).
Why you might care: the model can be wrong, or be talked into something by text it reads on a web page. The runtime does not rely on the model behaving. Text from outside (a web page, a file in an untrusted folder, a message) marks the episode as tainted, and from then on anything that could send or change something needs a human signature, whatever the model says.
Windows, no Python needed: 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 fetches the Python packages). The program is not code-signed yet, so Windows SmartScreen will warn; check the download against the published checksum first (SHA256SUMS.txt). Step by step, and what to do if something is wrong: English · ภาษาไทย.
The installer is attached to every release from 2.4.0 on. Releases 2.3.1 and earlier have no installer and no Desk pages.
Any system with Python 3.10 or newer: pip install delentia-os (then delentia setup, delentia serve, delentia desk). Optional extras: delentia-os[video] (OpenCV), delentia-os[vector] (faiss).
Versions: the package follows Semantic Versioning 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), not a version number: the installer, the Desk and the package all carry the same number, shown by delentia --version. Once the stage is declared, the Desk and the installer show its name beside the number, in both languages. How numbers are chosen and what each part of the ecosystem is called: docs/release/VERSIONING_POLICY.md.
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 --scripted # you sign; only now does the file change 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 current release until 2.4.1 is published) the demo exists in Thai only; leave out --lang en there. delentia --version tells you which you have.
Not ready to install anything? Here is what these commands print (a real run, in English; the Thai run).
Prefer a web page to a terminal? 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). Release 2.4.0 and later carry the pages inside the package (2.3.0 and 2.3.1 do not have them); a source checkout builds them once with python scripts/package_desk.py (Node.js 20 or newer). A risky action can be approved from the Desk with a device you already own (Windows Hello, a fingerprint, a phone): how (Thai).
--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 is there so that you can see the mechanism without installing a model; it says nothing about how good any model is, and every report says so on its first line. To use a real model: delentia setup, then the same commands without --scripted (a local Ollama model or any OpenAI-compatible endpoint).
Details and the history of every claim: docs/testing/TESTING_CANONICAL.md and CHANGELOG.md.
The agent runtime (rct_control_plane/), the 41 algorithms, the SDK modules and 5 reference microservices. A separate, private service layer is not part of this repository; 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).
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 fixed cycle shown 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 (ภาษาไทย).
The project is developed in the open at delentia.com and in this repository; the code is Apache 2.0.
🌐 Website: delentia.com · 🔗 GitHub: github.com/delentia-labs
curl -fsSL https://raw.githubusercontent.com/delentia-labs/delentia-os/main/install.sh | bash Windows PowerShell:
iex (irm https://raw.githubusercontent.com/delentia-labs/delentia-os/main/install.ps1) Or, if you just want the CLI without cloning the repo:
delentia doctor # real preflight check - tells you exactly what's missing delentia init # creates a local .env from the template delentia chat # start the terminal chat UI For a fully local, zero-cloud setup (nothing leaves your machine, no account, no API key): install Ollama, run ollama pull llama3.1, and delentia talks to it at http://127.0.0.1:11434 by default.
Both installer scripts only create a project-local virtualenv - no sudo, no elevation, no system-wide changes. Read them before running them if you'd rather not pipe-to-shell: install.sh, install.ps1.
If you're arriving from social media or seeing RCT Platform for the first time and want to check our work rather than take our word for it, use this path:
Status: experimental. The SDK surface is versioned and the full suite is 9,069 passed, 46 skipped, 0 failed (CI, 2026-10-30, see TESTING_CANONICAL), CI enforces a 72% coverage floor (--cov-fail-under=72; Codecov separately targets 90% with tolerance), packages published on PyPI + npm. A passing suite is evidence about the code, not about how well a model uses it: no capable hosted model has driven the agent yet (see the table above). Enterprise (not in this repository) means a separate proprietary layer; this repository does not offer it as a running service — contact for licensing or a design-partner conversation.
SignedAI is the optional jury runner: models you name vote independently and the verdict is signed with Ed25519. It has been tested with scripted voters only and has not been shown to reduce hallucination.
The equation has three layers that should not be mixed up: the framework (a way of thinking about the future), a computational model (an action score with defined ranges), and the enforcement (policy and signed approvals that the execution path actually checks). The first column is what the creator means; the second is what the runtime computes.
Because D is in [0, 1], raising I lowers F for the same D (0.8^2 = 0.64 1 the exponent amplifies instead, and for D = 1 it has no effect. If D > 0 and I = 0 the raw arithmetic gives D^0 = 1, so the runtime returns 0 for D ≤ 0 or I ≤ 0 as an added rule, not as a consequence of the exponent. When A = 0, the formula gives F = 0 and the gate refuses — on every code path that applies the gate (the paths and the tests that pin them are listed in research/GATE_PROPERTIES.md). This is an invariant of those paths, not a guarantee about every path or about what a model writes; maintenance routes that are not part of the governed loop are listed there too.
For the current single source of truth, see docs/testing/TESTING_CANONICAL.md.
┌──────────────────────────────────────────────────────────┐ │ DELENTIA OS SDK │ │ Intent-Centric AI Operating System │ └──────────────────────────────────────────────────────────┘ Layer 11: CI/CD & Quality Gates ├─ GitHub Actions (ci.yml + security-scan.yml) ├─ See docs/testing/TESTING_CANONICAL.md for the current, live test/coverage checkpoint (this number moves every round - do not hardcode it in two places that can drift apart, see Round 44's own audit) · Python 3.10/3.11/3.12 └─ E2E integration tests (no Docker required) Layer 10: Enterprise Hardening ├─ Security (JWT RS256, RBAC, ABAC, Rate Limiting) ├─ Validation (SQL Injection 3-layer, Pydantic v2, XSS) └─ Resilience (Circuit Breaker, Retry policies) Layer 9: Control Plane ├─ JITNA Wire Schema (JITNAPacket: I, D, Δ, A, R, M) ├─ TOON Formatter (ALGO-42 compression, 40-50% token savings) ├─ Ed25519 Signed Execution (RFC 8032) ├─ Replay Engine (SHA-256 checkpoints) └─ rct_control_plane: 15-module DSL + intent schema Layer 8: Regional Language + data residency (routing and call-time enforcement) ├─ LanguageDetector (EN, TH, JA, KO, ZH, VI, ID) └─ RegionalModelRouter (LRU cache, 4-level resolution) Layer 7: Universal Adapters (13 integrations) └─ Home Assistant · Terraform · n8n · Obsidian · Playwright · ... Layer 6: JITNA Protocol (RFC-001 v2.0) └─ AI-to-AI intent wire format + task negotiation Layer 5: SignedAI — optional jury of independent models ├─ TIER_S (1) · TIER_4 (4) · TIER_6 (6) · TIER_8 (8 + veto) └─ Hallucination rate: not measured (earlier 0.3% claim withdrawn, see docs/benchmark) Layer 4: RCTDB v2.0 — 8-Dimensional Universal Memory └─ Registry Zone · Vault Zone · Governance Zone Layer 3: 41 Algorithms (Tier 1–9) Layer 2: OS Primitives (6 Kernel RFCs) Layer 1: 7 Genome System + Cognitive Kernel SDK Modules: signedai/ · core/ · rct_control_plane/ 5 reference microservices What is in this repository: the agent runtime (rct_control_plane/), the 41 algorithms, the SDK modules and 5 reference microservices. What is not: a separate, proprietary service layer that lives in a private repository and is not part of this release. Enterprise licensing and early access: delentia.com.
# 1. Clone & install git clone https://github.com/delentia-labs/delentia-os.git cd delentia-os pip install -e . # 1b. (Only if you want to run the test suite) install the full dependency set. # `pip install -e .` is enough for the CLI and demos, but tests import torch, # numpy, opencv, faiss and others that pyproject.toml lists as optional extras. pip install -r requirements.txt -r requirements-dev.txt python -m pytest -q --no-header # needs internet + Ollama for ~40 network-dependent tests # 2. Validate the CLI surface without API keys delentia version delentia start --ui-test # 3. Create a local .env template for real runs delentia init delentia doctor # 4. Run the 5-minute offline demo — zero API keys needed python examples/quickdemo.py # 5. Run the FDIA benchmark (target: 0.92 accuracy) python benchmark/fdia_benchmark.py --verbose # 6. Try the CLI delentia compile 'Protect resources from hostile agents' delentia governance delentia timeline Expected output (quickdemo.py):
✅ Best action: act_001 (cooperate) — highest FDIA score Consensus: PASSED ✅ (threshold: 4/6) Final decision: EXECUTE — all 7 gates cleared, FDIA ≥ threshold, intent signed Memory compression ratio: 5.0× (baseline + 4 deltas vs 5 full-state copies) Expected output (fdia_benchmark.py):
RCT FDIA Score : 0.9167 Industry Baseline : 0.6500 Delta vs Baseline : +0.2667 (+41.0%) ✅ Benchmark PASSED Quick Start (With API Keys) # 1. Generate a local .env template delentia init # Edit .env with your API keys # 2. Run tests python -m pytest microservices/ -q # 3. Try the SignedAI demo python examples/signed_ai_demo.py # 4. Try the Hexa-Core demo python examples/hexa_core_demo.py Expected output (signed_ai_demo.py):
ALL IMPORTS OK Tier 6: 6 signers, required=4 Consensus: True, confidence=75.00% Supreme Architect: anthropic/claude-opus-4.6 Verify This Repository Quickly Use these paths when you need evidence, not marketing copy:
pytest tests/hypothesis/test_fdia_properties.py -v The whole system against a scripted model (Round 52) - 15 cases, 76 checks: guard, a real tool call, warm recall, signed approvals, memory, model failures, budget, data residency, delegation, three subagents in three OS processes and git worktrees, a forged subagent answer, audit tampering and the .jitna handoff. The model is a real HTTP endpoint that follows a script, so a result is about the system, not about a model: python scripts/full_pipeline_cases.py # add --no-subagents for the 30-second version python scripts/real_model_tool_probe.py qwen2.5:7b # the other question: is this MODEL good enough to drive it? Current test and coverage checkpoint - docs/testing/TESTING_CANONICAL.md Release gate checklist - docs/release/RELEASE_READINESS_CHECKLIST.md Public export and provenance policy - docs/release/PUBLIC_RELEASE_PROVENANCE.md GitHub UI launch tasks - docs/community/GITHUB_UI_LAUNCH_CHECKLIST.md Core Components FDIA Engine (core/fdia/fdia.py) The FDIA Scorer evaluates candidate NPC/agent actions using a weighted constitutional formula. All methods are pure functions — deterministic, no side effects.
from core.fdia.fdia import FDIAScorer, FDIAWeights, NPCAction, NPCIntentType scorer = FDIAScorer(weights=FDIAWeights()) score = scorer.score_action( agent_intent=NPCIntentType.DISCOVER, action=NPCAction(action_id="a1", action_type="explore"), world_resources={"knowledge": 50.0}, agent_reputation=0.85, other_intents=[NPCIntentType.PROTECT], governance_penalty=0.0, ) print(f"FDIA score: {score:.4f}") # deterministic float in [0.0, 1.0] SignedAI Consensus (signedai/core/) Multi-tier verification framework for AI decisions. Routes to the appropriate tier based on risk level.
from signedai.core.registry import SignedAITier, RiskLevel, SignedAIRegistry from signedai.core.router import TierRouter # Tier selection by risk level tier_config = SignedAIRegistry.get_tier_by_risk(RiskLevel.HIGH) print(f"High-risk → {tier_config.tier.value}: {len(tier_config.signers)} signers") # Consensus calculation result = SignedAIRegistry.calculate_consensus( tier=SignedAITier.TIER_6, votes_for=4, votes_against=2, ) print(f"Consensus: {result.consensus_reached}, confidence={result.confidence:.2%}") # Cost estimation total_cost, breakdown = SignedAIRegistry.estimate_tier_cost( SignedAITier.TIER_6, input_tokens=10_000, output_tokens=5_000 ) print(f"TIER_6 cost: ${total_cost:.4f}") SignedAI Tier Reference:
Stores agent memory as compressed delta sequences — only what changed, not full state.
from core.delta_engine.memory_delta import ( MemoryDeltaEngine, AgentMemoryState, NPCIntentType ) engine = MemoryDeltaEngine() engine.register_agent("agent-1", AgentMemoryState( agent_id="agent-1", tick=0, intent_type=NPCIntentType.ACCUMULATE, resources={"gold": 100.0}, )) engine.record_delta( agent_id="agent-1", tick=5, intent_type=NPCIntentType.ACCUMULATE, action_type="trade", outcome="success", resource_changes={"gold": 10.0}, ) state = engine.get_state_at_tick("agent-1", tick=5) print(f"Gold at tick 5: {state.resources['gold']}") print(f"Compression: {engine.compute_compression_ratio():.1%}") Intent Loop Engine Every user intent passes through a 7-state pipeline:
RECEIVED → VALIDATED (FDIA) → MEMORY_CHECK → COMPUTING → VERIFYING (SignedAI) → COMMITTING (RCTDB) → COMPLETED Property Value Cold Start 3–5 seconds (full computation + SignedAI consensus) Warm Recall 0.95) Cost Trend Decreases as memory fills — approaches $0 for repeated intents JITNA Protocol (RFC-001 v2.0) Just In Time Nodal Assembly — agents are assembled into working groups just in time based on intent, then dissolved when the task completes.
Full documentation: docs/concepts/jitna.md | RFC-001 Specification
from signedai.core.models import JITNAPacket # SignedAI Semantic Layer — verification-focused variant # (D=Domain, A=Assumptions, R=Requirements, M=Metrics) packet = JITNAPacket( I="Refactor authentication module", D="Backend engineering", **{"Δ": "Adopt clean architecture pattern"}, A="No breaking changes to public API", R="Test coverage must remain > 90%", M="All existing tests pass, cyclomatic complexity < 10", ) The canonical 6-field JITNA Language schema uses I=Intent, D=Data, Δ=Delta, A=Approach, R=Reflection, M=Memory — the SignedAI variant above uses different field semantics for verification context. See docs/concepts/jitna.md for the full disambiguation.
A JITNA packet can be written as a signed file and sent over any network or medium; the receiver needs only the sender's public key. The 6-field language is plain text:
I: Refactor the authentication module D: 800-line monolith, no tests Δ: separate domain logic from infrastructure A: hexagonal architecture M: all tests must pass delentia jitna keygen --out ~/.delentia/keys/jitna.pem # prints the public key to publish delentia jitna pack --language intent.txt --source planner --target worker --key ~/.delentia/keys/jitna.pem -o task.jitna delentia jitna verify task.jitna --trust # exit 0 valid+trusted, 3 valid but not trusted, 1 invalid delentia jitna unpack task.jitna --trust # prints the language, only from a file that verifies Each packet carries its own Ed25519 signature, and the file carries a seal over the whole body. The seal matters because a packet's own hash leaves priority, correlation_id, metadata and status outside what is signed. "Valid" (nothing changed after signing) and "trusted" (you pinned the signer's key) are reported separately: anyone can generate a key and sign anything. A .jitna file is signed, not encrypted. Receivers can also POST /v1/jitna/verify. Code: rct_control_plane/jitna_file.py.
You can do all of the following from the Desk (Models and Sovereignty pages) without the command line: pick a country, provider and model (or Other), declare where the endpoint processes data, test the connection (no prompt is sent, and an endpoint the policy would block is not contacted), and set the policy. A key typed there stays in the server's memory; only the name of its environment variable is saved.
The idea: any country or organisation plugs in its own AI, and personal data does not leave the boundary it sets.
# plug in your own AI: any OpenAI-compatible endpoint (a national provider, vLLM, llama.cpp, a gateway in your country) delentia model set typhoon-v2-70b-instruct --provider openai-compat --base-url https://llm.example.th/v1 --kind in_region --region TH --credential-env TYPHOON_TOKEN delentia sovereignty set --region TH # nothing may leave Thailand delentia sovereignty check "Call 081-234-5678" # would this text be sent? (nothing is sent) This resembles data-localisation duties but is not legal compliance by itself. Thailand's PDPA does not require data to stay in Thailand; it restricts transfers abroad unless the destination has adequate protection or a basis such as consent or contract safeguards applies (s.28-29), and requires a lawful basis, purpose limits and data-subject rights. The policy therefore lets an owner choose "stay in-region" (strict) or "cross-border with redaction and a recorded legal basis". China's PIPL and Korea's PIPA are stricter about transfers. Have counsel confirm the setting for your case.
Not covered yet: egress by the crawl tool and the TypeScript MCP bridge are not checked by the policy, and the entry-point filter sees only text that goes through the model provider.
15-module DSL + intent schema for composing multi-step agent pipelines:
from rct_control_plane import IntentObject, ExecutionGraph, DSLParser parser = DSLParser() graph = parser.parse(dsl_text) print(f"Nodes: {len(graph.nodes)}, Edges: {len(graph.edges)}") Available modules: intent_schema · dsl_parser · execution_graph_ir · intent_compiler · policy_language · observability · control_plane_state · jitna_protocol · signed_execution · replay_engine · default_policies · cli · api · middleware · rich_formatter · plan_engine · architect_policy_loader · approval_gateway · otel_adapter
Historical, not currently runnable (noted 2026-09-24, version note updated 2026-09-25): this block describes v1.1.0's command surface; the current public CLI (delentia) does not have plan, apply, memory, policy, or approve commands - confirmed against delentia --help's real, current command list (adapter, audit, build, chat, compile, doctor, evaluate, governance, init, list, logs, metrics, replay, reset, serve, start, status, timeline, version). plan_engine.py and approval_gateway.py are real modules with real logic (see "Available modules" above), just not wired to any CLI command today. Also: rct here means the CLI's old name - the real, current command is delentia (pyproject.toml's delentia = "rct_control_plane.cli:main"). The rct serve line's own (GET /metrics for Prometheus) sub-claim is also fabricated - see the API Contract table's own correction below; no route in this repo has ever exposed /metrics, in v1.1.0 or since.
10 purpose-specific AI roles with full geopolitical balance (v2.3):
delentia jury run --config jury.json --tier tier_4 --question "Is this migration safe?" --proposal-file plan.md --sign-key jury-key.pem --out verdict.json delentia jury verify verdict.json --pubkey What it guarantees: members are asked independently and at the same time; a reply that is not a clear vote, a timeout, an error or a member the sovereignty policy forbids is an abstention (it never counts as agreement and cannot lift the ratio); a jury whose answering members are one model is not a consensus (opt out with --allow-shared-model, recorded in the verdict); in tier 8 the chairman can veto but cannot force a pass; the verdict carries a SHA-256 digest and an optional Ed25519 signature that verify re-checks together with the vote counts and the tier rules. What it does not do yet: the governed loop does not call it by itself, and no multi-vendor vote has been run with real keys.
delentia serve rate-limits per caller (DELENTIA_RATE_LIMIT, default 600/60 s; an agent run costs 20 requests, a subagent fan-out 30). Model endpoints that keep failing are paused by a circuit breaker shared across episodes. Without DELENTIA_API_TOKEN the API answers only loopback clients; since Round 53 it also refuses a request whose Origin is a web page from another site or whose Host is not a loopback name (CORS used to be *, so any page the user opened could drive a local agent), and CORS answers only the local Desk and origins listed in DELENTIA_CORS_ORIGINS.
F = D^I x A: A is the accountable human. You write that responsibility down: which tools run freely, which need a human signature (from which approver role, how many distinct keys), which paths are off limits, which roles may ask, which tools are refused outright, and when a SignedAI jury must agree first (per rule, or per goal risk). Without a file only the built-in gate applies; with one, every tool call is judged, the most restrictive matching rule wins, a broken file refuses everything, and the policy can only tighten the built-in floor (path safety, the 0.5 threshold, repository writes always wait for a human). A signature never lifts a path or pattern you forbade.
delentia fdia template balanced --out ~/.delentia/fdia_policy.json delentia approvals keygen --out ~/keys/sec.pem --trust alice --role Security_Admin delentia fdia test delentia_write_repo_file --args '{"relative_path": ".env"}' --approved The Desk page explains the equation with a live calculator and worked examples, edits the rules, and tests an unsaved draft. Roles come from the identity the server attached to the request, so use one API token per user if roles are to mean anything.
~/.delentia/mcp_servers.json lists MCP servers whose tools the agent may use as mcp__ __ ; they pass the same gate as the built-in tools (FDIA judgement, owner policy, audit), anything not declared read-only waits for a human signature, results are screened as third-party content, tool descriptions are screened against tool poisoning, and delentia mcp inspect prints a digest you can pin. delentia_web_search works with a SearXNG instance or Brave (DELENTIA_SEARCH_PROVIDER) and says plainly when none is configured. delentia skills starter install adds 20 bundled playbooks (labelled as written by people, not learned). delentia_crawl_url now refuses cloud-metadata and this machine's own internal addresses. WhatsApp (signed webhook), Signal (through signal-cli-rest-api) and Email (IMAP/SMTP; the sender must be on the allowlist and the receiving server must have verified DKIM or SPF) join Telegram, Discord, Slack and LINE; every channel stays closed until its allowlist is set. Tested against local fakes of those services, not against the real ones. Thai prompt-injection screening: on a Thai set the rules did not see before they block about half of the attacks (15 of 31), about two thirds with a small local model's second opinion (21 of 31), with no harmless text blocked in 32; small, maintainer-written sets, indicative only.
delentia tokens create alice prints a token once and stores only its SHA-256 in ~/.delentia/api_tokens.json; with any entry the server is in per-user mode and the identity (namespace, memory, FDIA role) comes from the token, never from the request body. Since Round 62 a token is either a person's or an owner's (delentia tokens create alice --owner, delentia tokens owner alice): a person may talk to the agent and manage their own jobs, tasks, approvals and memory; every other route (the Desk, audit, policies, the MCP gateway) is default-denied for them. On a server with an API token, changing or turning off the owner's policy waits for an approver signature bound to that exact policy. DELENTIA_CORD_SECOND_OPINION=flag|block plus delentia model set --profile classifier adds a small model's judgment of goals and third-party content on top of the rules (it can only add a finding and fails open); on a public labelled set the rules block 10% of attacks and rules + qwen2.5:7b 23%, with no false blocks. Tool Forge also has a Desk page (/forge).
DELENTIA_PARALLEL_TOOLS=1 lets the model ask for several independent tool calls in one decision; they run as waves over the Execution Graph IR (dag_executor.py), every call is gated before any runs, and one refusal stops the batch. Measured on real tools: four independent 0.5 s waits 3.8x, a diamond 1.3x, a chain 1.0x, CPU-bound Python about 1.1x (scripts/dag_wave_benchmark.py).
delentia forge is Genesis grown into a governed loop: repeated unmet goals (forge gaps) lead to a proposed pure-function tool (written by the model or by you; checked statically, smoke-tested in another process), a human signs the exact code hash, and only then can the agent call it (delentia_run_forged_tool). Pure functions only; not a jail against someone who can also get a human to sign.
Five reference microservices demonstrating production patterns:
Each service includes a Dockerfile and follows the OpenAPI contract in contracts/openapi.yaml. All 5 build, run, and report healthy under docker compose up --build (verified for real 2026-09-25, see microservices/docker-compose.yml's own port mapping, which these match).
python benchmark/run_benchmark.py --config benchmark/default_config.json See benchmark/README.md for methodology.
Full OpenAPI 3.1.0 specification: contracts/openapi.yaml
Corrected 2026-09-24/25: GET /metrics for Prometheus does not exist in this repo's real routes (rct_control_plane/api.py, microservices/*/gateway_main.py/main.py) - confirmed via grep, no route registers that path. This same fabricated claim was found and fixed twice already this session in docs/architecture/observability.md and docs/getting-started/cli-reference.md; this was the third occurrence, in this README. config/prometheus.yml exists as a scrape-target config file, but nothing in this repo currently exposes a /metrics endpoint for it to scrape.
Note: This section records earlier milestones and is kept for history. Current versions are on PyPI and in CHANGELOG.md; the status of each capability is in RELEASE_LEVELS.
✅ 9,069 Passed (public CI, 2026-10-30; see TESTING_CANONICAL.md for the checkpoint and caveats) — Full delentia-os test suite ✅ Plan Engine — plan_engine.py real Terraform-style pre-execution simulation logic (corrected 2026-09-24: not currently wired to any real CLI command - plan isn't in delentia --help's command list; the module itself is real) ✅ Policy Governance — approval_gateway.py real omni-channel human approval logic, plus the real delentia governance command (shows governance violations from the audit log) (corrected 2026-09-24: rct policy doesn't exist as a command; approval_gateway.py isn't currently wired to any CLI command either) ✅ TypeScript SDK — sdk-typescript/: fdia, jitna, signedai, client modules
Previous milestone: Private enterprise test suite: count not published (not independently verifiable from this repository)
delentia-os/ ├─ core/ # Core algorithms + AI engine │ ├─ fdia/fdia.py # FDIA Scorer (NPCIntentType, FDIAWeights) │ ├─ delta_engine/ # Delta-Memory (39-90% in measured bytes on a synthetic simulation, grows with run length) │ └─ regional_adapter/ # regional routing + sovereignty policy (data residency) ├─ signedai/ # SignedAI consensus framework │ └─ core/ │ ├─ registry.py # HexaCoreRegistry (table of example roles) + SignedAIRegistry │ ├─ router.py # TierRouter (risk → tier selection) │ └─ models.py # JITNAPacket, AnalysisJob ├─ rct_control_plane/ # 19-module DSL + intent schema + enterprise platform │ ├─ plan_engine.py # PlanEngine — Terraform-style pre-execution simulation │ ├─ architect_policy_loader.py # PolicyRule YAML loader │ ├─ approval_gateway.py # Omni-channel human approval (SHA-256 tokens) │ └─ otel_adapter.py # OpenTelemetry bridge for FDIA metrics ├─ sdk-typescript/ # TypeScript SDK (fdia, jitna, signedai, client) ├─ github-action/ # rct-policy-gate GitHub Action (Node 20) ├─ microservices/ # 5 reference microservices │ ├─ intent-loop/ # Core FDIA execution loop (port 8001) │ ├─ analysearch-intent/ # Deep analysis + Mirror Mode (port 8020) │ ├─ vector-search/ # RCTDB semantic search (port 8016) │ ├─ crystallizer/ # Output crystallization (port 8004) │ └─ gateway-api/ # Unified entry + rate limiting (port 8000) ├─ config/ # Configuration files │ ├─ architect_policy.yaml # 6 constitutional policy rules │ ├─ prometheus.yml # Prometheus scrape config │ └─ grafana-datasources.yml # Grafana auto-provision ├─ docker-compose.monitoring.yml # Prometheus + Grafana + OTel Collector stack ├─ examples/ # Working code demos + pipeline.yaml ├─ contracts/openapi.yaml # OpenAPI 3.1.0 spec ├─ apps/gui/ # Desktop GUI, Next.js + Tauri (was Delentia-OS-Gui) ├─ plugins/adapters/ # Adapter SDK, manifest schema and registry (was Delentia-Ecosystem) ├─ deploy/ # Docker, Kubernetes, Helm, Terraform (was Delentia-Infra-Public) └─ docs/ # Architecture docs + whitepaper/ (3.0) + whitepapers/ (historical) └─ assets/grafana-dashboard.json # Pre-built Control Plane dashboard Built With
Contributions welcome! See CONTRIBUTING.md for guidelines.
For vulnerability reports, see SECURITY.md. Do not open public issues for security findings.
Ittirit Saengow (อิทธิฤทธิ์ แซ่โง้ว) Thinker and creator of Delentia
The creator's account: the work, including the FDIA Equation and RCT 7 Thinking, began on 28 June 2025, on paper and in conversations with ordinary AI chat. FDIA began with the question "What is the future?" and the belief that people help shape their future through the data and experience they have, their intent and what they do. Later came a second question: 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 and a commitment to carry the work through. It is not the date the equation was first written. No independent timestamp of the original paper exists, so the dates are the creator's account.
Delentia OS is where those questions became a runtime with inspectable code. What exists today, with the limits stated above: an agent runtime with a signed approval gate and an audit log; 41 algorithm modules, of which only some run inside the loop; the JITNA signed-packet format; an optional jury runner for several models; scripted demos; and a CI-verified test suite (see TESTING_CANONICAL). It is experimental and runs on the creator's machine. It is not a running public service. The whitepapers are the history of the design, not evidence that every statement in them has been tested.
Delentia OS is the open-source core. The full ecosystem extends across:
video graph qdrant monitoring persistence llm vector ml web-intelligence integrations diffusion media-ai full
ai constitutional-ai intent-loop signedai fdia delentia recot
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




