rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
vicfei/dsh-auto-ontology
Auto ontology construction for DeepSeek Harness — two-pass LLM pipeline (TBox schema, ABox assertions) with evidence quotes on every entity/relation and type-guard against silent drops. Implements the concept of NVIDIA/auto-ontology. Not affiliated.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:vicfei/dsh-auto-ontology
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Feed it documents; get a typed ontology (TBox + ABox) where every entity and relation carries its source quote. No evidence, no assertion; unknown types are flagged, never silently dropped.
Implements the concept of NVIDIA/auto-ontology (13.3k★) natively for DSH, with the family's evidence discipline. Clean-room, zero upstream code. Not affiliated. 中文文档 Family: dsh-TradingAgents · dsh-WrenAI
A real run over 19 family READMEs: 88 entities / 121 relations / 4 organically detected type conflicts, every assertion carrying its evidence quote (`ontologies/20261118-1441.`).*
| NVIDIA auto-ontology (upstream) | ontology viewers/bridges | dsh-auto-ontology | |
|---|---|---|---|
| Corpus | enterprise DB metadata (8 connectors) | — | documents — any text you already have |
| Builds ontologies | governed semantic layer (Docker/Postgres stack) | no (view existing) | two-pass LLM: TBox schema from a sample, then per-doc ABox assertions |
| Trust | grounding at answer time | — | evidence spans at build time — no evidence, no assertion |
| Conflicts | reconcile definitions | — | both evidences kept, never silently resolved |
| Incremental | metadata ingest | — | append-only fold; certifications respected forever |
| Infra | Docker + Postgres + API key stack | — | zero-infra stdlib CLI + any DeepSeek-compatible key |
npm i -g dsh-auto-ontology
auto-ontology build --docs 'docs/*.md' --domain "internal design docs" --save
auto-ontology --query "WrenAI" # every assertion + its evidence spans
auto-ontology validate ontologies/*.json # format v0.1 conformance
auto-ontology eval --from ontologies/x.json --n 20 # honest evidence-support precision
Requires python3 (stdlib only) + a DEEPSEEK_API_KEY. Artifacts land in
./ontologies/: typed JSON (every assertion + evidence), zero-dep SVG cluster
graph, markdown digest, single-file HTML report, JSON-LD export.
Register the DSH skill: ln -s "$(npm root -g)/dsh-auto-ontology/skills/dsh-auto-ontology" ~/.dsh/skills/dsh-auto-ontology.
With the plugin installed, agents get ontology_build / ontology_query as
typed tools (dsh plugin add dsh-auto-ontology).
--certify reject and are recorded with the original evidence;auto-ontology eval measures whether quotes actually
support their assertions (seeded, rerunnable). Our first artifacts scored
10% — reported as-is; the weak axis (type-grounding quotes) is tracked
openly. A metric you can rerun beats a number you can't;The artifact shape is a versioned open format — docs/FORMAT.md — with a stdlib conformance validator, enforced by CI on the committed showcase. If other tools adopt it, assertions stay auditable across implementations.
O1–O4 complete (see ROADMAP): English-first engine, npm distribution vehicle + typed tools, incremental merge & coreference & conflicts, JSON-LD / HTML / WeKnora bridge, certification fold-back, run-layer diff, the honest eval, format v0.1. In flight: type-grounding evidence tightening (#35).
MIT; concept credit to Apache-2.0 upstream — zero upstream code used. Not enterprise advice.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm-extraction、deepseek-harness。