AKF — Trust Metadata for AI Agents

A ~15-token stamp records what an agent verified, so the next agent spends tokens building instead of re-verifying.

Source repo
HMAKT99/AKF
Stars
★ 22
Last updated
1mo ago
FARS reviewed
Sep 26, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLILibrary / SDKMCP server
Works with
Universal · cross-platformCodex · Claude CodeChatGPT (Partial support)
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python (pip)Node.js (npm, optional)Shell / CLILocal filesystemMCP Server
Typical use
Multi-session coding: one agent fixed auth.py and ran the tests yesterday; a different agent opens it today and runs akf check auth.py, sees OK and skips re-reading and re-testing.
Not a fit if
  • Teams that only need C2PA media signing
  • Buyers who require certificate-authority signatures
  • Pipelines that forbid writing metadata into files
Website
akf.dev ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-24

What does this agent do, and when should you use it?

AKF is a file format plus toolchain that attaches trust metadata to AI-produced files — code, Markdown, Office documents, PDFs, images, JSON — either inside the file's native metadata container or in a sidecar .akf.json. Each stamp carries a compact claim list with a 0–1 confidence, a source tier (1 for SEC filings through 5 for AI inference), an AI-generated flag, provenance hops, and optionally a replayable probe recipe. Agents use two verbs: akf stamp after verifying, and akf check before trusting, which returns OK, STALE, LOW or UNSTAMPED with exit codes suitable for CI gating. akf replay --run goes further and re-executes the stored probe, returning CONFIRMED, CONFIRMED_DRIFTED or REFUTED, so trust rests on a re-runnable fact rather than on who signed. The project ships a Python package (akf), a TypeScript package (akf-format), an MCP server with 11 tools, framework adapters for LangChain/LlamaIndex/CrewAI, a GitHub Action, a VS Code extension, and setup files for Claude Code, Cursor, Windsurf, Copilot, Codex and OpenClaw. It runs locally with no hosted service and is MIT-licensed, including the specification.

akf stamp <file> --agent <id> --evidence "..." writes an _akf header into the file (YAML frontmatter for .md, OOXML custom XML part for Office, PDF metadata stream, EXIF/XMP for images, the reserved _akf key for JSON) and records claims, trust, tier, ver and ai flags; formats without a native container get a .akf.json companion. akf check <file> re-reads that header, compares it against the file's current hash and mtime, and emits one line plus exit codes 0/1/2. akf replay <file> --run executes the stored command such as pytest -q and classifies the result as CONFIRMED, CONFIRMED_DRIFTED or REFUTED based on whether inputs changed. Effective trust is computed as confidence × authority_weight × temporal_decay × (1 + penalty) with decision thresholds 0.7 (ACCEPT) and 0.4 (LOW). akf audit --regulation eu_ai_act maps stamps to compliance requirements, and run_all_detections(unit) returns findings from 10 detection classes including ungrounded AI claims, knowledge laundering, classification downgrade and provenance gaps. The MCP server exposes check_file, replay_file, create_claim, validate_file, scan_file, trust_score, stamp_file, audit_file, embed_file, extract_file and detect_threats. akf agent create / export-a2a produce SHA-256-verified agent identity cards, and DelegationPolicy with trust_ceiling caps downstream trust in multi-agent chains.

  1. Multi-session coding: one agent fixed auth.py and ran the tests yesterday; a different agent opens it today and runs akf check auth.py, sees OK and skips re-reading and re-testing.
  2. CI trust gate: run the bundled GitHub Action with akf certify --min-trust 0.8 --fail-on-untrusted so PRs containing unverified agent edits fail before merge.
  3. Compliance evidence: teams facing EU AI Act Article 50 (effective 2026-08-02) run akf audit report.docx --regulation eu_ai_act and export the trail for review.
  4. Document classification: stamp a .docx or .pdf as confidential with a provenance chain, then let downstream tools call akf extract before quoting it.
  5. Multi-agent orchestration: give research, writer and reviewer agents separate trust ceilings via DelegationPolicy and verify each with akf certify src/ --team, preventing trust inflation along the chain.
  6. MCP-native agents: register mcp_server_akf so any MCP client can check, stamp and replay files from inside its own tool loop instead of shelling out.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install akf
  • pipx install akf
  • npm install akf-format
  • pip install ./packages/mcp-server-akf
Install notes cover
Windows

How do you install or deploy this agent?

Primary Python path (pipx recommended to avoid PATH issues):

pip install akf
# or
pipx install akf

Verify the install, especially if akf is not found:

akf doctor

TypeScript / Node.js path:

npm install akf-format

The MCP server installs from the repository:

pip install ./packages/mcp-server-akf

On Windows, use python3 -m akf if akf is not on PATH.

How do you use this agent?

The minimal loop — stamp what you verified, check before you trust:

akf stamp auth.py --agent claude-code --evidence "42/42 tests passed"
akf check auth.py

Add a re-runnable probe so later verification tests the fact, not the label:

akf stamp auth.py --agent claude-code --evidence "42/42 tests passed" --replay "pytest -q"
akf replay auth.py --run

The same loop from Python:

import akf

akf.stamp_file("auth.py", agent="claude-code", evidence=["42/42 tests passed"])
result = akf.check_file("auth.py")
print(result.summary_line())

Turn on Git hooks and embed metadata into non-code formats:

akf init --git-hooks
akf embed report.docx --classification confidential --claim "Revenue $4.2B" --trust 0.98

Register the MCP server:

{
  "mcpServers": {
    "akf": {
      "command": "python",
      "args": ["-m", "mcp_server_akf"]
    }
  }
}

Inside Claude Code it can also be installed as a plugin:

/plugin marketplace add HMAKT99/AKF
/plugin install akf

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Stamps are tiny (~15 tokens in compact form) and stay inside the file, so an LLM can read them in-context rather than re-reading the whole artifact
  • Replayable probe recipes make verification falsifiable: akf replay --run re-executes the command and distinguishes CONFIRMED from CONFIRMED_DRIFTED when a dependency moved
  • One API spans 20+ formats — OOXML, PDF, Markdown, images, JSON — with a .akf.json sidecar fallback for everything else
  • Many auditable integration paths in the repo: Python akf, TypeScript akf-format, an 11-tool MCP server, LangChain/LlamaIndex/CrewAI packages, a GitHub Action and a VS Code extension
  • MIT license with an explicit promise that the format spec stays free and no feature is gated behind a paid tier
Limitations
  • The trust formula (tier weights 1.00–0.30, temporal decay, penalty) is a project-defined heuristic, not an industry standard, so thresholds must be agreed across teams
  • Framework adapters (LangChain, LlamaIndex, CrewAI) and the A2A bridge are labeled experimental in the README and may change
  • Embedding rewrites the artifact or creates sidecar files, which conflicts with byte-level checksums and fully read-only pipelines
  • The MCP server and framework packages install from the repository with pip install ./packages/... rather than from PyPI
  • Interoperability with C2PA and other trust ecosystems is only described in a comparison table, with no demonstrated cross-verification

How does this agent compare with similar options?

The README compares AKF directly against C2PA, watermarking and manual tracking. C2PA is media-focused and needs a certificate authority; AKF needs no CA, covers documents and code, and produces 0–1 trust scores with compliance auditing. Watermarking covers text or media but carries no provenance chain or audit trail. Manual tracking is not consumable by agents. AKF's distinguishing mechanism is the embed of a runnable probe recipe, so a claim can be re-verified without trusting the signer.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AKF — Trust Metadata for AI Agents This agent 44 · Major gaps CLIFree ★ 22 1mo ago Python Codex · Claude Code
OSS Autopilot 80 · Good Agent plugin / skillFree ★ 30 today TypeScript Claude Code · Claude.ai
RepoBrain – Repo Intelligence Engine 54 · Major gaps Agent plugin / skillFree + model costs ★ 1.4k 13d ago Python Codex · Claude Code
Claude Octopus 46 · Major gaps Agent plugin / skillFree + model costs ★ 4.5k today Shell Codex · Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
44/ 100 5-point scale 2.2 / 5
Trust 11/29
Reliability 5/14
Adaptability 9/18
Convention 10/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The README and workflows show AKF writes file metadata, installs a background watcher (akf install / akf watch), uses a shell hook to intercept claude/chatgpt/aider and other AI CLIs, and pre-stamps files uploaded to gws/box/m365/dbxcli/rclone. These are persistent environment changes and external side effects, yet the docs give no least-privilege guidance, default-off switch, or per-action confirmation, so least_privilege, user_confirmation, and external_effects score 1. On data flow, the README mentions inferring source from git log, macOS extended attributes, and LLM timestamps, but never states whether data leaves the machine or is uploaded, so data_flow_transparency and sensitive_data_handling score 1. Dependency security: pip/npm packages and multiple packages/ subpackages are referenced, but no lockfiles, hashes, or vulnerability audit evidence appear, so dependency_security is 1. Rollback: stamping mutates files (frontmatter, EXIF, OOXML custom XML) but no undo or restore command is documented, so rollback is 1. Source attribution: the format itself carries src, tier, prov chains, and agent identity, so source_attribution scores 2.

Reliability5 / 14 · 1.8/5

The README's sample outputs (OK trust=0.65, STALE reason=modified_after_stamp, CONFIRMED_DRIFTED) are broadly consistent with the trust formula and tier-weight table, but the _akf frontmatter embedded at the top of the same README declares 'src: unspecified' and 'ver: false', which sits in tension with the verification claims in the body, so self_consistency is only 1. Dependency availability: the README references akf.dev, npm akf-format, HMAKT99/akf-action@v1, and many packages/ and extensions/ paths without version constraints or availability guarantees, so dependency_availability is 1. Failure messages: the CLI exposes OK/LOW/STALE/UNSTAMPED and exit codes 0/1/2, but there is no error taxonomy, recovery guidance, or documented exception paths, so failure_messages is 1.

Adaptability9 / 18 · 2.5/5

The README clearly targets AI agents (Claude Code, Cursor, Windsurf, Copilot, Codex, OpenClaw, Hermes, Manus) and human users, with Python/TypeScript/CLI/MCP entry points, so audience_and_scenarios scores 2. Capability boundaries: the docs claim 20+ formats, 10 detection classes, 11 MCP tools, and compliance auditing, but never state unsupported scenarios, false-positive rates, or trust-score limits, so capability_boundaries is only 1. Trigger precision: the shell hook intercepts AI CLIs and upload tools but does not explain how it distinguishes AI-generated from human edits or avoids mis-stamping, so trigger_precision is 1. Environment fit: the README covers Windows/macOS/Linux, pipx, python3 -m akf, and npm, so environment_fit scores 2.

Convention10 / 18 · 2.8/5

The README is well structured with Quickstart, AI Agents, MCP, Skills, CLI, format notes, comparison table, compliance, contributing, and license sections, so information_architecture scores 2. Install notes cover pip, pipx, npm, MCP subpackage, and akf doctor, so install_notes scores 2. Naming stability: the README mixes akf, akf-format, mcp_server_akf, mcp-server-akf, HMAKT99/akf-action, and HMAKT99/AKF/extensions/github-action, showing inconsistent naming and paths, so naming_stability is only 1. Examples and FAQ: the README provides extensive CLI/Python/TypeScript examples and an 'akf command not found' note, so examples_and_faq scores 2. Known limitations: only langchain/llama-index/crewai marked experimental and Google Workspace/Office marked preview; no systematic limitations list, so known_limitations is only 1. License: the LICENSE file is a complete MIT text, so license scores 3. Versioning/changelog: the README mentions v1.0/v1.1 format and schema but no CHANGELOG is present, so versioning_changelog is only 1. Maintenance responsibility: copyright is 'AKF Contributors', the publisher is unverified, and no maintainer, security contact, or governance statement appears, so maintenance_responsibility is only 1.

Effectiveness6 / 13 · 2.3/5

Output usability: the single-line akf check output, --json mode, exit codes, and MCP tools are agent-consumable, so output_usability scores 2. Marginal value: the README claims 'a stamp costs ~15 tokens, re-verifying costs 15,000', but gives no benchmark, measurement method, or comparison data, so marginal_value is only 1. Cost benefit: likewise unquantified, and the background watcher plus shell hook impose ongoing runtime cost, so cost_benefit is only 1.

Verifiability3 / 8 · 1.9/5

Claim traceability: the format carries src, tier, prov, and evidence fields, but key README claims such as '95%+ valid', '15 tokens vs 15,000 tokens', and the EU AI Act penalty figures carry no source or measurement method, so claim_traceability is only 1. Cross-source corroboration: the README, the two workflows, and the two test files do not independently corroborate the same claims, so cross_source_corroboration is only 1. Fact/inference separation: the format design separates ai:true from tier, but the README's own _akf frontmatter marks an AI-generated claim as ver:false with src:unspecified, showing the separation is not consistently enforced at the documentation level, so fact_inference_separation is only 1.

Risks and how to mitigate them
  • The _akf frontmatter embedded at the top of the README itself declares src:unspecified and ver:false, which is in tension with the verification and trust claims in the body; independently verify those claims before relying on them.
  • akf install / akf watch / shell hook create persistent environment changes and external side effects (intercepting AI CLIs, pre-stamping uploads to gws/box/m365/dbxcli/rclone); the docs give no least-privilege, default-off, or per-action confirmation guidance, so evaluate in an isolated environment first.
  • Key README figures such as '15 tokens vs 15,000 tokens', '95%+ valid', and the EU AI Act penalty amounts lack sources and measurement methods and should not drive procurement or compliance decisions.
  • The publisher is unverified, and the repository shows no CHANGELOG, maintainer, or security contact, leaving long-term maintenance and update paths unclear.
  • Dependencies and external resources (akf.dev, npm akf-format, HMAKT99/akf-action@v1, multiple packages/ and extensions/) lack version constraints and vulnerability audit evidence; verify them independently.
Evidence confidence: Low Reviewed Sep 26, 2026 Reviewed revision e4908d30cece
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/akf.svg)](https://followagents.com/en/agents/akf)
<a href="https://followagents.com/en/agents/akf"><img src="https://followagents.com/badge/akf.svg" alt="FARS review"></a>

FAQ

Does an OK from akf check mean the file is correct?
No. OK means the stamp is fresh and carries verified evidence; if the stamp includes a replay recipe, run akf replay --run to get CONFIRMED. Otherwise OK only reports that the evidence held at stamp time. STALE means the file changed after the stamp; LOW means trust fell under the threshold.
Does it need network access or a hosted LLM?
No. stamp, check, replay, audit and detect run locally as file operations and local command execution; the README requires no API keys. A model only enters the picture if you wire AKF into an agent that is itself calling one.
Will embedding break my documents?
Each format uses its native container: OOXML custom XML parts for .docx/.xlsx/.pptx, a metadata stream for .pdf, YAML frontmatter for .md, EXIF/XMP for .png/.jpg, and the reserved _akf key for .json. Audio, video and unknown formats get a separate .akf.json companion and the original bytes are untouched. Skip embed where byte-level hashes must stay stable.
Can I use it in a pure Node/TypeScript project?
Partially. npm install akf-format gives you create, validate, effectiveTrust and stampFile. The CLI, MCP server, Git hooks and background watcher are Python packages.
Which agents stamp automatically?
The README documents Claude Code (plugin or CLAUDE.md), Cursor (.cursorrules), Windsurf (.windsurfrules), GitHub Copilot (.github/copilot-instructions.md), OpenAI Codex (AGENTS.md), OpenClaw (clawhub install akf), plus any MCP- or CLI-capable agent. eval "$(akf shell-hook)" intercepts files created by claude, chatgpt, aider, openclaw, ollama and similar CLIs.
Is AKF — Trust Metadata for AI Agents free?
Yes. AKF — Trust Metadata for AI Agents is free to use and does not need a paid service.
Is AKF — Trust Metadata for AI Agents open source?
Yes. The source code is on GitHub (HMAKT99/AKF) under the MIT licence.
Is AKF — Trust Metadata for AI Agents safe to use?
FollowAgents' FARS review (Sep 26, 2026) scored AKF — Trust Metadata for AI Agents 11/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is AKF — Trust Metadata for AI Agents still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-24, within the last six months but not the last 30 days.
Who makes AKF — Trust Metadata for AI Agents?
AKF — Trust Metadata for AI Agents is published on GitHub by the account HMAKT99. FollowAgents has not verified which person or company is behind that account.
What is AKF — Trust Metadata for AI Agents's official website?
The project's GitHub repository lists https://akf.dev as its website. That link is set by the repository owner; the source code itself is on GitHub (HMAKT99/AKF).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts