dikt
Decisions, ideas, knowledge and tasks as validated local Markdown, built for people and AI agents working inside a project.
dikt is a single Rust binary. It stores items as Markdown files with YAML
frontmatter, validates every write (schemas, tags, references, lifecycle
rules), and generates backlogs and daily/weekly activity reports. Agents get
skills and instructions that tell them to retrieve before reasoning and to
preserve only verified, reusable results.
It is a Rust port of the DIKT blueprint's Python implementation. The behaviour and the blueprint's 47 regression scenarios are preserved (see Differences from the blueprint).
→ Full guide: docs/TUTORIAL.md
Install into a project (uv)
Prebuilt wheels for Linux, macOS and Windows are attached to every
GitHub release, so no Rust
toolchain is needed. Add the release as a pinned package source in your
project's pyproject.toml:
[[tool.uv.index]]
name = "dikt"
url = "https://github.com/dark-neonus/dikt/releases/expanded_assets/v0.1.0"
format = "flat"
explicit = true
[tool.uv.sources]
dikt-cli = { index = "dikt" }
uv add --dev dikt-cli
uv run dikt init # create dikt/ + agent skills and instructions
uv run dikt add task --title "Try DIKT" --tag dikt
The Python distribution is
dikt-cli. The PyPI package nameddiktis an unrelated project, so don'tuv add dikt. The installed command isdikt.
Other ways to install (details in the tutorial):
- From source (needs Rust ≥ 1.88):
uv add --dev "dikt-cli @ git+https://github.com/dark-neonus/dikt" - As a global tool:
uv tool install dikt-cli --find-links https://github.com/dark-neonus/dikt/releases/expanded_assets/v0.1.0 - As a standalone binary: download
dikt-<version>-<target>.tar.gz/.zipfrom the releases page - With Cargo:
cargo install --git https://github.com/dark-neonus/dikt
dikt init writes uv run dikt into the generated docs when the binary lives
in the project's .venv, and plain dikt otherwise. Override with --command.
What dikt init creates
| Path | Owner | Purpose |
|---|---|---|
dikt/dikt.toml |
project | Collection marker used for discovery |
dikt/tags.yaml, Inbox.md, Scratch.md, procedures/* |
project | Starter data, never overwritten |
dikt/tasks/, ideas/, knowledge/, decisions/, reports/, context/, tools/, guides/, docs/ |
project | Item storage and free-form resources |
dikt/README.md, STRUCTURE.md, AGENTS.md, CLAUDE.md, .gitignore |
dikt | Managed docs and full agent rules |
.claude/skills/dikt*/SKILL.md |
dikt | Claude Code skills (--agents claude) |
.github/skills/dikt*/SKILL.md, .github/prompts/dikt-*.prompt.md |
dikt | GitHub Copilot skills and prompts (--agents copilot) |
Marked section in AGENTS.md / CLAUDE.md |
dikt | Short pointer to the rules (--agents agents-md, claude) |
Running init again is safe: it creates anything that is missing and reports
what differs. dikt init --refresh (for example after upgrading dikt) rewrites
the managed files and the marked <!-- dikt:start -->…<!-- dikt:end -->
sections. It never touches items, reports, tags.yaml, procedures, Inbox or
Scratch. Text outside the marked sections of your AGENTS.md/CLAUDE.md is
always preserved.
Usage
dikt add task --title "Fix export" --tag csv-export --priority 2 --due 2026-12-01
dikt list --query "export" --type task
dikt update T-00001 --status in_progress --add-check "Reproduce"
dikt log T-00001 "Reproduced with an empty file"
dikt close T-00001 --outcome "Fixed; regression test added"
dikt add knowledge --title "..." --source "Benchmark run 2026-11-20" --tag ...
dikt add decision --title "..." --tag ... --based-on K-00001 \
--context "..." --options "..." --decision "..." --consequences "..."
dikt report week
dikt validate
The collection is found by walking up from the current directory and looking
for dikt.toml or dikt/dikt.toml. You can also pass --root PATH (before
the subcommand) or set DIKT_ROOT. The installed dikt/README.md has the full
command contract, lifecycle and tagging policy. dikt <command> --help lists
every option.
Development
cargo test # unit + ported blueprint regression tests
cargo clippy --all-targets
uv build # binary wheel + sdist via maturin
Releasing: bump version in Cargo.toml, commit, then tag and push
(git tag v0.2.0 && git push origin v0.2.0). The Release workflow runs the
tests, builds wheels (Linux glibc x86_64/aarch64, Linux musl x86_64, macOS
x86_64/arm64, Windows x86_64), an sdist and standalone binaries, and publishes them with
SHA256SUMS as a GitHub release. Then update the v0.1.0 URLs in this
README and the tutorial.
Layout:
src/store.rs parsing, validation (hand-written schema), IDs, lifecycle, transactional writes
src/views.rs backlog, decision review flags, daily/weekly reports
src/cli.rs clap adapter, projection and filtering
src/init.rs project installer (templates embedded at compile time)
src/yaml.rs strict YAML loading and deterministic emitting
templates/ files installed by `dikt init` ({{DIKT}}, {{ROOT}}, {{UP}} placeholders)
tests/ ported blueprint tests (store, cli, views) + init tests
Keep the core rules in store/views independent of the CLI adapter. Update
templates, tests and this README together.
Differences from the blueprint
- Implementation: Rust instead of Python. The JSON Schemas are hand-coded in
store::schema, anddate-timefields are actually checked as RFC 3339 (the Python build had no date-time format checker installed). - Packaging: it installs into any project as a tool (
uv add,uv tool install,cargo install) instead of being its own repository. Discovery usesdikt.tomlinstead of[tool.pm]inpyproject.toml. - New command:
dikt initinstalls the collection and the agent integrations: Claude Code, GitHub Copilot and AGENTS.md. - Renames: the lock file is
.dikt-write.lock, and report markers are<!-- dikt:generated:start/end -->. Skills are prefixeddikt-so they don't collide with the host project's own skills. - Single-line titles: titles containing any newline are rejected. Python's
$accepted a single trailing newline. - Starter tags:
tags.yamlstarts with a small generic vocabulary instead of DIKT-specific tags.
The known boundaries are unchanged. Search is ordered by ID with no ranking. Multi-file writes roll back on ordinary failures but are not crash-atomic. The lock serializes local writers only. There is no delete or migration command.
Metadata
Release files for dikt-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dikt_cli-0.1.0.tar.gz | 61.6 kB | With provenance | Details for dikt_cli-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 8.1 MB
Release files / dikt_cli-0.1.0.tar.gz
| Download URL | dikt_cli-0.1.0.tar.gz |
|---|---|
| Size | 61.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a60ad1559a7bc5fdf7cb4599662d2045c4da56e9f21c71092ca966bdaadc57c5
|
|
BLAKE2b-256 checksum How to use checksums |
97fd519cdd75a5b159432b4c39ad4410c9b787948d1b74ff72e68d31ad33e3e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-win_amd64.whl
| Download URL | dikt_cli-0.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
efe6a942cfb823605bdeb91b9e41f7f510accb3b6472c2e6874b1484a25e8090
|
|
BLAKE2b-256 checksum How to use checksums |
096df46f6dd0d39d5741f6b7d9e844980e9c1a62c6016532eb942688d9bda4d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | dikt_cli-0.1.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
b8e0c8b32ff959a4128dbe505d17ec1a322584b2e6e5b55902c8e70bb8635ba1
|
|
BLAKE2b-256 checksum How to use checksums |
d9fc8a2c47651d145974a92c23c404b3a1757644f0b981ea0e63a21a830992c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | dikt_cli-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
04e0fbf6469ee8bda6f6a6b5e634958c7d72699cdc7a090f76bcefc661388ade
|
|
BLAKE2b-256 checksum How to use checksums |
76921186f91e8086d4d39f4abe90fa406619ee794177419c10803c3095758d02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | dikt_cli-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
b89ff90e5270b7bb7a89cac36d0bdcdeffbff0422a6d4a9b1c585fea9d332935
|
|
BLAKE2b-256 checksum How to use checksums |
4b6b75fe2dd0435b2674d6fb6d068cb509b9d7f4e712df5a70a5ab52f259fff5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | dikt_cli-0.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c5a08e4e097b71dcefe2106532ebe12a32d65d418275f718910550d78185c353
|
|
BLAKE2b-256 checksum How to use checksums |
899ae21ffa4adbf29bb5518717611b124650ffb84ae9f9261eae66cae69e4d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / dikt_cli-0.1.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | dikt_cli-0.1.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d6a06eb810def0fca1041bdc47c277bc1facfb3ee453dd2dad442b09f97a7dd3
|
|
BLAKE2b-256 checksum How to use checksums |
34ce882438dde4359377f82094290c5ab1c2fa1c4fd07f6085fdb670f1771296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for dikt-cli 0.1.0
Provenance
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.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for dikt_cli-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
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.