Stop your agent from hallucinating facts that matter.
Edicts is a lightweight ground-truth layer that injects verified facts (launch dates, product constraints, compliance rules, naming conventions, embargoes) directly into your agent's system context. Every prompt gets the facts. No retrieval stack needed.
bash
openclaw plugins install openclaw-plugin-edicts
Or from ClawHub:
bash
openclaw plugins install clawhub:openclaw-plugin-edicts
ToolDescriptionedicts_listList edicts with optional category/tag/TTL filtersedicts_addCreate a new edictedicts_updateUpdate an existing edict by IDedicts_removeRemove an edictedicts_searchFree-text search across edictsedicts_statsShow edict store statisticsedicts_reviewReview and clean up stale/expired edicts
In your openclaw.json under plugins.entries:
json
{
"openclaw-plugin-edicts": {
"enabled": true,
"config": {
"format": "yaml",
"maxEdicts": 200,
"tokenBudget": 4000,
"autoSave": true,
"includeSystemContext": true
}
}
}
yaml or json — storage formatyaml
- text: "Product v2.0 launches April 15, NOT before."
category: product
confidence: verified # verified | inferred | user
ttl: event # ephemeral | event | durable | permanent
expiresAt: "2026-04-16"
tags: [launch, dates]
You control what appears in context. Edicts are stored in a local file in your workspace. Only content you write to that file appears in prompts. No remote fetch, no external data sources, no network calls.
Write tools are opt-in. By default, only read tools are active. Write tools ( edicts_add, edicts_update, edicts_remove) must be explicitly enabled if you want agents to create or modify edicts. Configuration options:
tools.enabled: false — read-only prompt injection, no agent mutationtools.names: [edicts_list, edicts_search] — whitelist read-only toolsautoSave: false — runtime changes don't persist across sessionsincludeSystemContext: false — tools without prompt injectionSafest config: tools.enabled: false + autoSave: false — your curated file, injected as-is, no runtime changes possible.