Scan your whole stack
From OX Research Newsroom
Are you using dakc?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.1
dakc was last scanned on 23 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.1 LATEST | 23 Nov 2026 | No rules fired |
| 0.6.0 | 23 Nov 2026 | No rules fired |
| 0.5.0 | 22 Nov 2026 | No rules fired |
| 0.4.0 | 22 Nov 2026 | Not shown |
| 0.3.0 | 22 Nov 2026 | Not shown |
Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.6.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Knowledge bases shouldn't need to be rebuilt every time a document changes. DAKC brings incremental compilation, dependency tracking and full-rebuild verification to AI-generated knowledge. It tracks claim-level dependencies, selectively rebuilds invalidated artifacts, and checks incremental results against an independent full rebuild.
Given a directory of documents, it builds and maintains an LLM-generated knowledge base: claims, entity pages, topic summaries and an index. When the sources change, it recomputes only what has become invalid and can prove that the result equals a full rebuild. The same problem appears wherever LLM-derived knowledge must track evolving inputs: documentation generated from codebases, research knowledge bases built from papers, policy and compliance repositories, and long-lived agent memory.
It does this with a build-system model applied to knowledge:
source ─▶ passage ─▶ claim ─▶ entity / relationship ─▶ page ─▶ topic summary ─▶ index
(file) (paragraph) (fact) (who / what) (wiki) (overview)
Edit one sentence in a 5,000-document corpus (deterministic benchmark) and
DAKC re-extracts one paragraph and regenerates only the pages whose claims
changed. Pages whose
claims are unchanged but whose citations moved are re-rendered without an LLM
call. Everything else keeps its exact bytes. dakc compile --dry-run tells
you all of this before anything is spent.
On real docs: across the last 50 commits to FastAPI's documentation, DAKC used about 148,000 input tokens (317 LLM calls) where re-processing each changed file used about 35 million (284,354 calls), and its result equalled a full rebuild at every commit. Most of that gap comes from a large release-notes file edited in almost every commit; see examples/fastapi-docs for the breakdown, the per-commit costs and the limitations.
Status: research prototype / MVP, CLI-first, local-first. Python 3.12+, SQLite, no GPU, no network required (deterministic providers are the default). See what is not done.
Who uses it, and how: docs/using-dakc-by-role.md covers docs maintainers, developers, CI owners, solution architects, reviewers and AI agents.
The research phase audited twelve open-source LLM-wiki and graph-RAG projects at the code level (competitive analysis, gap report). In those twelve, we did not find one that does all of the following. That is a statement about what we audited, not proof that no such system exists.
The usual pattern is "a file changed, re-ingest it, and let the LLM merge the result into existing pages". That pattern is costly, and it keeps facts the source no longer states (for example llm_wiki issue #837; see the analysis for code citations). The techniques DAKC uses are not new: verifying traces and early cutoff come from build systems (Shake, Bazel, Salsa), support counting from incremental view maintenance, and content addressing from Git. The contribution is applying them correctly at claim granularity, with a test oracle.
pip install dakc # Python 3.12+; add [mcp] for the MCP server, [api] for the REST API
dakc ingest ./my-documents # discover, hash, extract, compile -> ./wiki
To run the examples, tests and benchmarks, work from a clone:
git clone https://github.com/thejasrao262003/dependency-aware-knowledge-compilation.git
cd dependency-aware-knowledge-compilation
uv sync --locked --extra dev && source .venv/bin/activate # or: pip install -e '.[dev]'
mkdir demo && cp -r examples/sample-knowledge-base demo/knowledge && cd demo
dakc ingest ./knowledge
ingest creates dakc.toml, the store in .dakc/dakc.db, and Markdown
output in wiki/ (pages/, summaries/, index.md). Your source files are
never modified.
dakc graph # artifact and edge counts by layer
dakc graph --source databases/postgresql.md # everything downstream of one source
# edit one claim in a source document...
perl -pi -e 's/supports JSONB/stores JSONB in a binary format/' knowledge/databases/postgresql.md
dakc check # new / modified / deleted / renamed / unchanged (content hashes)
dakc explain page:jsonb # STALE, with the reason and the upstream sources
dakc compile --dry-run # exactly which artifacts will be affected; writes nothing
dakc compile # incremental; only the plan above is executed
dakc diff 1 # what changed between build 1 and HEAD
dakc verify --against-full # invariants + identical to a from-scratch rebuild?
dakc rollback # restore the previous build (store + wiki files)
The dry run in this walkthrough prints the following (real output, unedited):
Compilation Plan
----------------
Strategy: dakc
New Sources: 0
Modified Sources: 1
Deleted Sources: 0
Renamed Sources: 0
Unchanged Sources: 6
Passages to (re-)extract: 1 (extraction cache hits: 0)
Affected Claims: 5 (new 1, retracted 1, changed 0, provenance-only 3, reproduced unchanged 0)
Affected Entities: 2
Affected Knowledge Pages: 2 (regenerate 2, re-render citations only 0, delete 0, checked & unchanged 3)
Unaffected Knowledge Pages: 20
Summaries: regenerate 0, re-render 0, delete 0, checked & unchanged 1
Index: unchanged
Planned Operations:
- Re-extract 1 passage(s)
- Reconcile 2 entities
- Regenerate 2 page(s), re-render 0
- Regenerate 0 summaries, re-render 0
Estimated LLM Calls: 0 (exact)
No files modified.
This is the PRD's example. The edited paragraph also states "PostgreSQL supports Transactions" and "PostgreSQL supports Indexing". Re-extraction reproduces those claims with the same ids, so the Transactions, Indexing and Ledger pages are checked and unchanged. Only the JSONB and PostgreSQL pages are regenerated.
With the default heuristic provider, LLM calls are 0 and the plan is exact. With an LLM provider, the plan counts the extraction calls it would make, exactly, and does not make them. It estimates the facts in new text with the free heuristic extractor, so its page and summary counts are labelled an estimate.
| Command | What it does |
|---|---|
dakc init [--source DIR] [--provider P] |
Create dakc.toml |
dakc ingest DIR |
Register a corpus and compile it |
dakc check [DIR] |
Classify sources by content hash, including renames and duplicates |
dakc compile [--incremental \| --full] [--dry-run] [--json] |
Compile; --full is the correctness baseline |
dakc compile --strategy file |
The file-level baseline used in the benchmark |
dakc graph [--source X] [--format text\|json\|dot\|reactflow] |
Inspect or export the dependency graph |
dakc explain ID |
Dependencies, dependents, upstream sources, signatures, history, VALID/STALE |
dakc trace PAGE |
Each displayed sentence → cited claims → passage → source version → exact evidence sentence |
dakc duplicates |
Advisory list of claims that are likely the same fact in other words (nothing is merged) |
dakc conflicts [ID] [--all] [--check] |
Statements in different documents that cannot both be true, with the file and line of each (below) |
dakc status |
HEAD, counts, and what is stale against the current sources |
dakc builds / dakc diff A [B] |
Audit log; artifact-level diff between builds |
dakc rollback [--to N] |
Restore an earlier committed build (later builds' artifact versions are discarded; their records stay in builds) |
dakc verify [--against-full] |
Invariant and provenance checks, citation coverage, equality with a full rebuild |
dakc serve |
Local web UI and read-only REST API (/status /check /plan /graph /artifacts /artifacts/{id}[/content\|/trace\|/downstream] /builds /diff /duplicates /conflicts) |
dakc mcp [--read-only] |
MCP server for AI agents (below) |
dakc watch |
Recompile incrementally on file changes |
dakc review --base REF |
Knowledge diff against a git ref: facts added and retracted, pages affected, LLM calls and cost; never calls a model |
dakc sources |
Configured sources: type, path prefix, location, documents at HEAD (below) |
dakc publish [NAME] [--dry-run] [--reset] |
Bring publishers up to date with HEAD; retries what a failed publish left pending |
IDs can be given in friendly form: page:database-architecture,
entity_postgresql, source:databases/redis.md, a source path, or a page
title. Commands that write (ingest, compile, rollback) take the
workspace build lock; pass --wait SECONDS to queue behind a running build
instead of failing. Most commands accept --json.
Everything the CLI does is available as a library; the CLI, the REST API and the MCP server are thin layers over it.
import dakc
with dakc.open("demo") as kb: # a directory holding dakc.toml
plan = kb.plan() # what a compile would do; nothing written or spent
if plan.has_work():
report = kb.compile() # incremental; atomic; wiki files updated
print(report.status, report.llm_calls())
page = kb.read("PostgreSQL") # rendered Markdown, version, metadata
for s in kb.trace("page:postgresql").sentences:
print(s.sentence, "->", s.cites) # each sentence and the claims it cites
kb.explain("page:jsonb").status # VALID / STALE, with reasons
kb.downstream("databases/postgresql.md") # what an edit to this file would invalidate
Module functions: dakc.open(path), dakc.init(path, source_dir=...),
dakc.ingest(directory, workspace). KnowledgeBase methods: status,
check, plan, compile, artifacts, read, explain, trace,
downstream, graph_stats, export_graph, builds, diff, duplicates,
verify, rollback, sources, publish. Every result is a dataclass with to_dict().
Errors derive from dakc.DakcError: WorkspaceNotFound, ArtifactNotFound,
InvalidArgument, BuildLocked, CompileFailed (with .preserved: HEAD
still points at the previous build), CostNotAllowed, RollbackError,
SourceError and PublishError.
compile and rollback hold the workspace build lock. Read methods never take
it and see a consistent snapshot while a build runs. A KnowledgeBase holds
one SQLite connection, so use one per thread. Details are in
docs/python-api.md.
dakc mcp exposes a workspace to agents over the Model Context Protocol.
It needs the mcp extra: pip install 'dakc[mcp]'.
claude mcp add dakc -- dakc mcp --workspace /absolute/path/to/demo # Claude Code
claude mcp add dakc -- uvx --from 'dakc[mcp]' dakc mcp --workspace /absolute/path/to/demo # nothing preinstalled
Other clients take the usual JSON configuration:
{ "mcpServers": { "dakc": { "command": "dakc", "args": ["mcp", "--workspace", "/absolute/path/to/demo"] } } }
| Tools | Kind |
|---|---|
status, check_sources, list_artifacts, read_artifact, explain, trace, downstream, graph_stats, builds, diff_builds, duplicates, verify |
read-only |
compile |
previews by default; builds only with apply=true |
rollback |
needs an explicit build id; marked destructive |
Safety rules:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.