# Diké

Diké: checks the article citations of Chilean law in a legal brief against a sealed, hash-identified local copy of 25 statutes (Ley Chile).

- Type: Plugin
- Version: 0.10.0
- Updated: 22 Nov 2026
- Publisher: Grizaceo
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Diké: checks the article citations of Chilean law in a legal brief against a sealed, hash-identified local copy of 25 statutes (Ley Chile), and refuses to certify what it cannot prove. Each citation comes back verified, with its identifier, source URL and text SHA-256, or unverified with the engine's reason (AMBIGUOUS, UNRESOLVABLE).

Three tools (dike_verificar_citas on text or a.md/.txt/.docx path; dike_leer_articulo and dike_buscar_corpus, read-only on the corpus), two commands (/dike-verificar, /dike-estado) and two skills. Text in English, Spanish optional; statute text and engine codes stay in Spanish.

Not legal advice: it never certifies that a provision supports an argument, nor that a dated copy is today's text. The opt-in Desktop page adds a Case Writer (a brief editor where only the engine can mark a citation verified, a pseudonymization step you control before any text leaves, and a chat about the brief in your own Ulpi gateway), a read-only 3D map of the sealed corpus and a versioned case board; a Dashboard tab and a backend at /api/plugins/dike serve them.

Disclosure — the vendored Diké engine runs in a child process (same interpreter, no shell, minimal environment without agent credentials), inside bubblewrap without network when it is available and in a declared degraded mode when it is not. One such sandboxed engine process stays up per session so the corpus is verified once (about 170 MB; it exits after 10 idle minutes or with Ulpi).

Two hooks (pre_llm_call, pre_tool_call) act only on Case Writer chat sessions, which carry a \<dike-escritor v=\\"1\\"\> envelope: they add fixed instructions and block every tool except skills, tool discovery and this plugin's three tools with text arguments; other sessions are untouched. Model calls happen only when you use that chat, case-board suggestions or opt-in prediction, through your own gateway, after pseudonymization unless you switch it off and confirm sending the real data.

Reads only the text passed or t

## Tools it adds

The tools an agent gets once this plugin is installed.

- `dike_verificar_citas`
- `dike_leer_articulo`
- `dike_buscar_corpus`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [Distro Reader](https://www.ulpi.io/en/marketplace/plugins/distro-reader): Read independent news and content from Distro publications in Ulpi.
- [Docket](https://www.ulpi.io/en/marketplace/plugins/docket): Quotes for trades businesses (plumbers, electricians, HVAC): describe a job in words or a voice note.
- [Docs Drift](https://www.ulpi.io/en/marketplace/plugins/docs-drift): Checks that the README and Markdown docs still match the code after the agent edits files.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
