Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Toolkdeps asset

kdeps-tools-md5_file

v2.0.0

Compute the MD5 checksum of a file. Call once before and once after a change to prove whether the file's contents actually changed -- pair both hashes as evidence rather than asserting the change happened.

set tools / shelf tools

LLM context: ~110 tokens when loaded (prompt or tool definition)

Where it runs

Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.

  1. the agent loop builds the request
  2. the tool definitions are sent to the modeltools/md5_file
  3. the model calls a tool
  4. kdeps runs it
  5. the result goes back to the model

Loaded by: kdeps (agent loop), /update, /settings, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update

In the code: kdeps (agent loop)agent.RegisterBuiltinToolsagent.definedAs

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install tools/md5_file

Pin a version with kdeps install tools/md5_file@<version>.

Contents

Compute the MD5 checksum of a file. Call once before and once after a change to prove whether the file's contents actually changed -- pair both hashes as evidence rather than asserting the change happened.

category
file
outputFormat
the absolute path, two spaces, then the hex digest
seeAlso
read_file, tail_file, list_files
ParameterTypeDescription
file_path *stringPath to the file to hash (absolute, or relative to the working directory)

Python script (declared in YAML, no Go code)

import hashlib, json, os, sys

path = json.loads(sys.argv[1])["file_path"]
# An absolute path comes back as given; a relative one is resolved.
path = path if os.path.isabs(path) else os.path.abspath(path)
if os.path.isdir(path):
    sys.exit("md5_file: %s is a directory" % path)
h = hashlib.md5()
try:
    with open(path, "rb") as f:
        for chunk in iter(lambda: f.read(1 << 20), b""):
            h.update(chunk)
except OSError as e:
    sys.exit("md5_file: %s: %s" % (path, e.strerror or e))
print("%s  %s" % (path, h.hexdigest()))

Paths kept in the workspace: file_path

Versions

VersionPublishedStatus
2.0.010/24/2026active
1.0.110/23/2026active
1.0.010/11/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
2.0.0
Published
10/11/2026

Tags

kdepstool