{
  "markdown": "---\n_akf: '{\"v\":\"1.0\",\"claims\":[{\"c\":\"Trust metadata for README.md\",\"t\":0.7,\"id\":\"1979cbeb\",\"src\":\"unspecified\",\"tier\":5,\"ver\":false,\"ai\":true,\"evidence\":[{\"type\":\"other\",\"detail\":\"updated certify and github action references\",\"at\":\"2026-03-18T04:21:48.869226+00:00\"}]}],\"id\":\"akf-c33254656fc5\",\"agent\":\"claude-code\",\"at\":\"2026-03-18T04:21:48.870623+00:00\",\"label\":\"public\",\"inherit\":true,\"ext\":false,\"sv\":\"1.1\"}'\n---\n<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/format-.akf-blue?style=for-the-badge\" alt=\"AKF Format\" />\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/HMAKT99/AKF/stargazers\"><img src=\"https://img.shields.io/github/stars/HMAKT99/AKF?style=flat-square&color=yellow\" alt=\"Stars\" /></a>\n  <a href=\"https://www.npmjs.com/package/akf-format\"><img src=\"https://img.shields.io/npm/v/akf-format?style=flat-square&label=npm\" /></a>\n  <a href=\"https://www.npmjs.com/package/akf-format\"><img src=\"https://img.shields.io/npm/dw/akf-format?style=flat-square&label=npm%20downloads\" /></a>\n  <a href=\"https://github.com/HMAKT99/AKF/actions\"><img src=\"https://img.shields.io/github/actions/workflow/status/HMAKT99/AKF/ci.yml?style=flat-square&label=CI\" /></a>\n  <a href=\"https://github.com/HMAKT99/AKF/blob/main/.github/akf-badge.json\"><img src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FHMAKT99%2FAKF%2Fmain%2F.github%2Fakf-badge.json&style=flat-square\" alt=\"AKF trust\" /></a>\n  <img src=\"https://img.shields.io/badge/license-MIT-green?style=flat-square\" />\n  <a href=\"https://akf.dev\"><img src=\"https://img.shields.io/badge/docs-akf.dev-blue?style=flat-square\" /></a>\n  <a href=\"https://stackshare.io/akf-the-ai-native-file-format\"><img src=\"https://img.shields.io/badge/stackshare-listed-blue?style=flat-square\" /></a>\n</p>\n\n<h1 align=\"center\">AKF — The AI Native File Format</h1>\n\n<p align=\"center\">\n  <strong>A stamp costs ~15 tokens. Re-verifying costs 15,000.</strong><br/>\n  Think EXIF for AI — trust metadata that travels with every AI-generated file,<br/>\n  so the next agent (or human) knows what it can build on.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://vhs.charm.sh/vhs-3OOIFnSZOds1SrvHNxwNY.gif\" alt=\"AKF Demo — stamp, inspect, audit in 10 seconds\" width=\"700\" />\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/HMAKT99/AKF\">⭐ Star on GitHub</a> ·\n  <a href=\"https://akf.dev\">Website</a> ·\n  <a href=\"https://huggingface.co/spaces/HANAKT19/is-this-ai-generated\">🛡️ Is This AI-Generated?</a> ·\n  <a href=\"https://huggingface.co/spaces/HANAKT19/eu-ai-act-check\">🇪🇺 Compliance Check</a> ·\n  <a href=\"https://huggingface.co/spaces/HANAKT19/ai-trust-report-card\">📊 Repo Scanner</a>\n</p>\n\n<p align=\"center\">\n  <a href=\"#quickstart\">Quickstart</a> ·\n  <a href=\"#for-ai-agents\">AI Agents</a> ·\n  <a href=\"#mcp-server\">MCP Server</a> ·\n  <a href=\"#skills\">Agent Skills</a> ·\n  <a href=\"#cli\">CLI</a> ·\n  <a href=\"https://akf.dev\">Website</a>\n</p>\n\n---\n\n## Paste this to your agent\n\nDon't install AKF yourself — let your agent do it. Paste this into Claude Code, Cursor, OpenClaw, or any coding agent:\n\n```\nInstall AKF (pip install akf, or pipx install akf) and set it up: run `akf init --git-hooks`.\nFrom now on:\n- After you create or modify a file, stamp it:\n    akf stamp <file> --agent <your-id> --evidence \"<what you verified, e.g. 42/42 tests passed>\"\n- Before building on any existing file, check it first:\n    akf check <file>\n  OK = fresh stamp with verified evidence, skip re-verification. STALE/LOW/UNSTAMPED = verify before trusting.\nIf you support MCP, also register the server: {\"mcpServers\":{\"akf\":{\"command\":\"python\",\"args\":[\"-m\",\"mcp_server_akf\"]}}}\n```\n\nYour agent installs its own provenance layer — and every file it touches carries trust metadata from then on.\n\n## Why agents need this\n\nAgents redo work constantly: re-read files, re-run tests, re-derive conclusions — because nothing tells them what was already verified. A stamp is cached verification state:\n\n```console\n# Session 1 — agent fixes auth, tests pass\n$ akf stamp auth.py --agent claude-code --evidence \"42/42 tests passed\"\n\n# Session 2 — tomorrow, any agent, any tool\n$ akf check auth.py\nOK trust=0.65 agent=claude-code evidence=test_pass age=1d claims=1\n# → build on it, skip re-verification\n\n# Someone edits auth.py without re-testing\n$ akf check auth.py\nSTALE trust=0.65 agent=claude-code evidence=test_pass age=1d claims=1 reason=modified_after_stamp\n# → re-verify before trusting (exit code 1 — gate CI or hooks on it)\n```\n\nStamps are trail markers agents leave for other agents — across sessions, across tools (Claude Code → Cursor → Copilot), across teams. Humans get the same trail: who made this file, AI or human, was it tested, can we trust it.\n\n| What travels with the file | How |\n|------|-----|\n| **Trust score** | 0–1 confidence, weighted by evidence and source tier |\n| **Verification evidence** | tests passed, type check clean, human reviewed — with timestamps |\n| **Source provenance** | SEC filing → analyst → AI agent chain |\n| **Compliance** | One command: `akf audit file --regulation eu_ai_act` |\n\n## Don't trust the stamp — re-run it\n\nA signature proves *who* said it; a replay proves it *could have been true*. A stamp can carry a **falsifiable probe recipe**, so the next agent re-verifies the claim instead of trusting the label:\n\n```console\n# Stamp with a recipe that can be re-run\n$ akf stamp auth.py --agent claude-code --evidence \"42/42 tests passed\" --replay \"pytest -q\"\n\n# Later — re-run the probe instead of trusting the stamp\n$ akf replay auth.py --run\nCONFIRMED inputs=intact\n\n# A dependency moved since the stamp was written\n$ akf replay auth.py --run\nCONFIRMED_DRIFTED inputs=drifted   # probe still passes, but against a changed world — re-check\n```\n\n`REFUTED` when the probe fails, `UNREPLAYABLE` when there's no recipe. This is the answer to \"a trusted source can still be wrong\": trust stops depending on who signed it, for any claim with a runnable check.\n\n## Quickstart\n\n```bash\npip install akf    # Python\nnpm install akf-format    # TypeScript / Node.js\n\nakf doctor         # Check your install — detects PATH issues and guides setup\n```\n\n> **`akf` command not found?** Run `akf doctor` to auto-detect your setup, or use `python3 -m akf` (always works).\n> - Install with pipx: `pipx install akf` (recommended — auto-handles PATH)\n> - **Windows:** use `python3 -m akf` or install via `pipx`\n\n```bash\n# The core loop — stamp what you verified, check before you trust\nakf stamp auth.py --agent claude-code --evidence \"42/42 tests passed\"\nakf check auth.py        # OK trust=0.65 agent=claude-code evidence=test_pass age=0d\n```\n\n```python\nimport akf\n\n# Same loop from Python\nakf.stamp_file(\"auth.py\", agent=\"claude-code\", evidence=[\"42/42 tests passed\"])\nresult = akf.check_file(\"auth.py\")\nprint(result.summary_line())   # OK trust=0.65 agent=claude-code evidence=test_pass age=0d claims=1\n\n# Embed into Office docs, PDFs, images — any format\nakf.embed(\"report.docx\", claims=[...], classification=\"confidential\")\n\n# Audit for compliance (EU AI Act, HIPAA, SOX, GDPR, NIST AI, ISO 42001)\nresult = akf.audit(\"report.akf\", regulation=\"eu_ai_act\")\nprint(f\"Compliant: {result.compliant}\")\n```\n\n**TypeScript / Node.js** (`akf-format`):\n\n```typescript\nimport { create, validate, effectiveTrust, stampFile } from 'akf-format';\n\n// Create a trust-stamped unit from any AI output\nconst unit = create('Revenue was $4.2B, up 12% YoY', 0.98, {\n  source: 'SEC 10-Q',\n  agent: 'claude-code',\n});\n\n// Validate against the AKF schema\nconst { valid } = validate(unit);\n\n// Compute effective trust for a claim\nconst trust = effectiveTrust(unit.claims[0]);\nconsole.log(`valid: ${valid}, score: ${trust.score}, decision: ${trust.decision}`);\n\n// Stamp trust metadata directly into a file (markdown, json, code, …)\nstampFile('report.md', { agent: 'claude-code', evidence: 'tests pass' });\n```\n\n> Full TypeScript API and more examples: [`typescript/README.md`](typescript/README.md).\n\n## For AI Agents\n\nAKF is designed **agent-first**. One-line APIs for checking, stamping, streaming, and auditing.\n\n```python\nimport akf\n\n# Check before you trust — can I build on this file without re-verifying?\nresult = akf.check_file(\"auth.py\")\nif result.status == \"OK\":      # fresh stamp, verified evidence\n    ...                        # skip re-verification, save the tokens\n# LOW / STALE / UNSTAMPED → verify before trusting\n\n# Stamp with evidence (auto-detected: test_pass, type_check, human_review, etc.)\nakf.stamp(\"Fixed auth bypass\", kind=\"code_change\",\n          evidence=[\"42/42 tests passed\", \"mypy: 0 errors\"],\n          agent=\"claude-code\", model=\"claude-sonnet-4-20250514\")\n\n# Stream trust metadata in real-time\nwith akf.stream(\"output.md\", model=\"gpt-4o\") as s:\n    for chunk in llm_response:\n        s.write(chunk)\n\n# Trust-annotated git commits (uses git notes)\nakf.stamp_commit(content=\"Refactored auth module\", kind=\"code_change\",\n                 evidence=[\"all tests pass\"], agent=\"claude-code\")\nprint(akf.trust_log(n=10))  # + ACCEPT  ~ LOW  - REJECT  ? none\n```\n\n## Multi-Agent Teams\n\nAKF supports multi-agent orchestration — Claude Agent Teams, Copilot Cowork, Codex multi-agent, and any A2A-compatible platform.\n\n```python\nimport akf\n\n# Agent-to-agent delegation with trust ceiling\npolicy = akf.DelegationPolicy(\n    delegator=\"lead-agent\", delegate=\"research-bot\",\n    trust_ceiling=0.7, allowed_actions=[\"search\", \"summarize\"]\n)\nresult = akf.delegate(parent_unit, policy)\n\n# Multi-agent streaming session\nwith akf.TeamStream([\"research\", \"writer\", \"reviewer\"]) as ts:\n    ts.write(\"research\", \"Found 3 sources\", confidence=0.8)\n    ts.write(\"writer\", \"Drafted summary\", confidence=0.75)\n    ts.write(\"reviewer\", \"Approved with edits\", confidence=0.9)\n    scores = ts.aggregate()  # per-agent + team trust\n\n# Cross-platform agent identity\ncard = akf.create_agent_card(name=\"Research Bot\", platform=\"claude-code\",\n                             capabilities=[\"search\", \"summarize\"])\nakf.verify_agent_card(card)  # SHA-256 hash verification\n\n# Team certification (per-agent breakdown)\nreport = akf.certify_team(\"src/\", min_trust=0.7)\n# report.all_agents_certified — each agent must individually pass\n```\n\n**CLI:**\n```bash\nakf agent create --name \"Bot\" --platform claude-code --capabilities search,summarize\nakf agent list\nakf agent verify <id>\nakf agent export-a2a <id> --output card.json   # A2A protocol bridge\nakf agent import-a2a card.json\nakf certify src/ --team                         # Per-agent breakdown\n```\n\n## MCP Server\n\nAKF ships an [MCP](https://modelcontextprotocol.io) server so any AI agent can create, validate, scan, and audit trust metadata.\n\n```bash\n# Install from the repo\npip install ./packages/mcp-server-akf\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"akf\": {\n      \"command\": \"python\",\n      \"args\": [\"-m\", \"mcp_server_akf\"]\n    }\n  }\n}\n```\n\n**11 MCP tools:** `check_file` · `replay_file` · `create_claim` · `validate_file` · `scan_file` · `trust_score` · `stamp_file` · `audit_file` · `embed_file` · `extract_file` · `detect_threats`\n\n## Ambient Trust\n\nAKF works where AI agents work. Drop a config file, and every AI-generated file carries trust metadata automatically.\n\n| Agent | How it works |\n|-------|-------------|\n| **Claude Code** | Plugin: `/plugin marketplace add HMAKT99/AKF` → `/plugin install akf` — auto-stamp hook + check skill. Or reads `CLAUDE.md` |\n| **Cursor** | Reads `.cursorrules` — stamps AI edits before you review |\n| **Windsurf** | Reads `.windsurfrules` — stamps AI edits with trust metadata |\n| **GitHub Copilot** | Reads `.github/copilot-instructions.md` (native) + shell hook for CLI |\n| **OpenAI Codex** | Reads `AGENTS.md` — stamps files in cloud sandbox and local |\n| **OpenClaw** | Skill on ClawHub: `clawhub install akf` — check/stamp protocol + memory trust |\n| **Hermes Agent** | agentskills.io skill: `hermes skills tap add HMAKT99/AKF` — files, memories, and skill supply-chain |\n| **Manus / Other Agents** | MCP server + shell hook — works with any agent that supports MCP or CLI |\n| **Any MCP agent** | 11 MCP tools — check, replay, stamp, audit, embed, extract, detect, validate, scan, trust, create |\n| **Any CLI tool** | `eval \"$(akf shell-hook)\"` — intercepts `claude`, `chatgpt`, `aider`, `openclaw`, `ollama`, `manus` |\n\n**The trust pipeline:**\n```\nAgent writes code → Git commit stamped → CI runs akf certify → Team reviews with context\n```\n\nSet up in 60 seconds:\n```bash\n# 1. Agent stamps its own work (already in this repo)\ncat CLAUDE.md        # or .cursorrules / .windsurfrules / AGENTS.md / .github/copilot-instructions.md\n\n# 2. Git hooks stamp every commit\nakf init --git-hooks\n\n# 3. CI certifies trust on every PR\n#    uses: HMAKT99/AKF/extensions/github-action@main\n\n# 4. Shell hook intercepts AI CLI tools\neval \"$(akf shell-hook)\"\n```\n\n## Skills\n\nAKF provides [agent skill files](skills/) that AI agents can discover and use. Drop these into your agent's context:\n\n| Skill | What it does |\n|-------|-------------|\n| [`check.md`](skills/check.md) | Check a file's trust before building on it |\n| [`stamp.md`](skills/stamp.md) | Stamp trust metadata onto AI outputs |\n| [`audit.md`](skills/audit.md) | Audit files for regulatory compliance |\n| [`scan.md`](skills/scan.md) | Security scan files and directories |\n| [`embed.md`](skills/embed.md) | Embed trust metadata into Office/PDF/images |\n| [`detect.md`](skills/detect.md) | Run 10 security detection classes |\n| [`stream.md`](skills/stream.md) | Stream trust metadata in real-time |\n| [`git.md`](skills/git.md) | Trust-annotated git workflows |\n| [`convert.md`](skills/convert.md) | Convert between formats |\n| `delegate` | Agent-to-agent trust delegation |\n| `team` | Multi-agent streaming sessions |\n\n## Format at a Glance\n\n**Compact** (~15 tokens — optimized for AI):\n```json\n{\"v\":\"1.0\",\"claims\":[{\"c\":\"Revenue was $4.2B\",\"t\":0.98,\"src\":\"SEC 10-Q\"}]}\n```\n\n**Descriptive** (human-readable — same data):\n```json\n{\"version\":\"1.0\",\"claims\":[{\"content\":\"Revenue was $4.2B\",\"confidence\":0.98,\"source\":\"SEC 10-Q\"}]}\n```\n\n**Full** (with provenance, decay, AI flags, security):\n```json\n{\"v\":\"1.0\",\"by\":\"sarah@acme.com\",\"label\":\"confidential\",\"inherit\":true,\n \"claims\":[\n   {\"c\":\"Revenue $4.2B\",\"t\":0.98,\"src\":\"SEC 10-Q\",\"tier\":1,\"ver\":true,\"decay\":90},\n   {\"c\":\"H2 will accelerate\",\"t\":0.63,\"tier\":5,\"ai\":true,\"risk\":\"AI inference\"}\n ],\n \"prov\":[\n   {\"hop\":0,\"by\":\"sarah@acme.com\",\"do\":\"created\",\"at\":\"2025-07-15T09:30:00Z\"},\n   {\"hop\":1,\"by\":\"copilot-agent\",\"do\":\"enriched\",\"at\":\"2025-07-15T10:15:00Z\"}\n ]}\n```\n\n## Works With Every Format\n\nAKF embeds natively — no sidecars needed for most formats:\n\n| Format | How It Works |\n|--------|-------------|\n| `.akf` | Native standalone knowledge file |\n| `.docx` `.xlsx` `.pptx` | OOXML custom XML part |\n| `.pdf` | PDF metadata stream |\n| `.html` | JSON-LD `<script type=\"application/akf+json\">` |\n| `.md` | YAML frontmatter |\n| `.png` `.jpg` | EXIF/XMP metadata |\n| `.json` | Reserved `_akf` key |\n| `.mp4` `.mov` `.webm` `.mkv` | Sidecar `.akf.json` companion |\n| `.mp3` `.wav` `.flac` `.ogg` | Sidecar `.akf.json` companion |\n| Everything else | Sidecar `.akf.json` companion |\n\n```python\n# One API for all formats\nakf.embed(\"report.docx\", claims=[...], classification=\"confidential\")\nmeta = akf.extract(\"report.docx\")\nakf.scan(\"report.docx\")\n```\n\n## Zero-Touch Auto-Stamping\n\nAKF can automatically stamp every file AI touches — no manual intervention needed.\n\n```bash\n# Install the background watcher\nakf install\n\n# Or run in foreground\nakf watch ~/Downloads ~/Desktop ~/Documents\n```\n\nThe background watcher monitors directories for new and modified files and stamps them with trust metadata. **Smart context detection** automatically infers:\n\n- **Git author** — from `git log` history\n- **Download source** — from macOS extended attributes\n- **Classification** — from project `.akf/config.json` rules\n- **AI-generated flag** — from LLM tracking timestamps + content heuristics\n- **Confidence score** — dynamically adjusted based on available evidence\n\n### Shell Hook (intercept AI CLI tools)\n\n```bash\n# Add to ~/.zshrc or ~/.bashrc\neval \"$(akf shell-hook)\"\n```\n\nAutomatically detects when you run `claude`, `chatgpt`, `aider`, `openclaw`, `ollama`, or other AI CLI tools, and stamps any files they create or modify. Also pre-stamps files before upload to content platforms (`gws`, `box`, `m365`, `dbxcli`, `rclone`) so trust metadata travels with the file. Use `--no-upload-hooks` to disable.\n\n### Project Rules\n\nCreate `.akf/config.json` in your project root:\n\n```json\n{\n  \"rules\": [\n    {\"pattern\": \"*/finance/*\", \"classification\": \"confidential\", \"tier\": 2},\n    {\"pattern\": \"*/public/*\", \"classification\": \"public\", \"tier\": 3}\n  ]\n}\n```\n\nFiles matching these patterns are automatically classified when stamped.\n\n## CLI\n\n```bash\n# ── Quick start ──\nakf                          # Welcome + quick start\nakf quickstart               # Interactive demo\nakf doctor                   # Check installation health\n\n# ── Stamp & create ──\nakf create report.akf \\\n  --claim \"Revenue $4.2B\" --trust 0.98 --src \"SEC 10-Q\" \\\n  --by sarah@acme.com --label confidential\n\n# ── Check before you trust ──\nakf check auth.py            # One line: OK / LOW / STALE / UNSTAMPED\nakf check auth.py --json     # Structured output; exit codes 0/1/2 for gating\nakf replay auth.py           # Inspect the stamp's falsifiable probe recipe\nakf replay auth.py --run     # Re-run it: CONFIRMED / CONFIRMED_DRIFTED / REFUTED\n\n# ── Validate & inspect ──\nakf validate report.akf\nakf inspect report.akf\nakf trust report.akf\n\n# ── Certify (aggregate pass/fail gate) ──\nakf certify report.akf                        # Trust + detection + compliance\nakf certify src/ --min-trust 0.8              # Custom threshold\nakf certify . --evidence-file results.xml     # Attach test evidence\nakf certify . --format json --fail-on-untrusted  # CI-friendly output\nakf certify src/ --team                       # Per-agent trust breakdown\n\n# ── Compliance ──\nakf audit report.akf                          # Compliance readiness check\nakf audit report.akf --regulation eu_ai_act   # EU AI Act\nakf audit report.akf --trail                  # Audit trail\n\n# ── Universal format commands ──\nakf embed report.docx --classification confidential \\\n  --claim \"Revenue $4.2B\" --trust 0.98\nakf extract report.docx\nakf scan report.docx\nakf scan ./docs/ --recursive\nakf scan . --badge badge.json     # shields.io endpoint: \"14% stamped · trust 0.76\"\n\n# ── Auto-stamping ──\nakf install                                   # Install background watcher\nakf watch ~/Downloads ~/Documents             # Watch directories\nakf shell-hook                                # Print shell hook code\nakf shell-hook --no-upload-hooks              # Without content platform hooks\nakf uploads                                   # View upload stamp log\n\n# ── Git integration ──\nakf stamp <file> --agent claude-code --evidence \"tests pass\"\n\n# ── Agent identity & teams ──\nakf agent create --name \"Bot\" --platform claude-code\nakf agent list\nakf agent verify <agent_id>\nakf agent export-a2a <id> --output card.json  # A2A protocol bridge\nakf agent import-a2a card.json\n\n# ── Knowledge Base ──\nakf kb stats ./kb\nakf kb query ./kb --topic finance\n```\n\n## Security Detections\n\n10 built-in detection classes: AI content without review, trust below threshold, hallucination risk, knowledge laundering, classification downgrade, stale claims, ungrounded AI claims, trust degradation chain, excessive AI concentration, provenance gap.\n\n```python\nfrom akf import run_all_detections\nreport = run_all_detections(unit)\nfor finding in report.findings:\n    print(f\"[{finding.severity}] {finding.detection}: {finding.message}\")\n```\n\n## Trust Computation\n\n```\neffective_trust = confidence × authority_weight × temporal_decay × (1 + penalty)\n```\n\n| Tier | Weight | Example |\n|------|--------|---------|\n| 1 | 1.00 | SEC filings, official records |\n| 2 | 0.85 | Analyst reports, peer-reviewed |\n| 3 | 0.70 | News, industry reports |\n| 4 | 0.50 | Internal estimates, CRM data |\n| 5 | 0.30 | AI inference, extrapolations |\n\n**Decision:** score ≥ 0.7 → ACCEPT · ≥ 0.4 → LOW · < 0.4 → REJECT\n\n**Delegation ceiling:** When an agent delegates to another, the delegate's output trust is capped at `min(score, delegation_ceiling)`. This prevents trust inflation in multi-agent chains.\n\n## Integrations & Extensions\n\n**Framework integrations** (install from repo via `pip install ./packages/<name>`):\n\n| Package | Description |\n|---------|-------------|\n| [`mcp-server-akf`](packages/mcp-server-akf/) | MCP server — create, validate, scan, trust |\n| [`langchain-akf`](packages/langchain-akf/) | LangChain callback handler + document loader (experimental) |\n| [`llama-index-akf`](packages/llama-index-akf/) | LlamaIndex node parser + trust filter (experimental) |\n| [`crewai-akf`](packages/crewai-akf/) | CrewAI tool for trust-aware agents (experimental) |\n\n**Editor & CI extensions** (source in repo):\n\n| Extension | Description |\n|-----------|-------------|\n| [VS Code](extensions/vscode/) | Syntax highlighting, hover info, validation for `.akf` files |\n| [VS Code AI Monitor](editors/vscode/) | Auto-stamp files edited by Copilot, Cursor, and other AI tools |\n| [GitHub Action](extensions/github-action/) | CI trust gate — runs `akf certify` on PRs with optional PR comments |\n| [Google Workspace](extensions/google-workspace/) | Add-on for Docs, Sheets, Slides (preview) |\n| [Office Add-in](extensions/office-addin/) | Add-in for Word, Excel, PowerPoint (preview) |\n\n## For LLMs\n\nPrompt with one example and LLMs produce valid AKF **95%+ of the time**:\n\n```\nOutput knowledge as AKF:\n{\"v\":\"1.0\",\"claims\":[{\"c\":\"<claim>\",\"t\":<0-1>,\"src\":\"<source>\",\"tier\":<1-5>,\"ai\":true}]}\n```\n\nSee [LLM-PROMPT.md](spec/LLM-PROMPT.md) for a full system prompt.\n\n## Documentation\n\n| Doc | Description |\n|-----|-------------|\n| [Full Spec](spec/akf-v1.0-spec.md) | Complete format specification |\n| [JSON Schema](spec/akf-v1.1.schema.json) | Machine-readable schema |\n| [Producing AKF](spec/PRODUCING-AKF.md) | Quick start for 8 languages |\n| [Trust Computation](docs/trust-computation.md) | Scoring algorithm details |\n| [Falsifiable Evidence](docs/recipes/falsifiable-evidence.md) | Replay recipes — re-run the probe, don't trust the label |\n| [Agent Memory](docs/recipes/agent-memory.md) | Trust-decayed memory stamps |\n| [Skill Provenance](docs/recipes/skill-provenance.md) | Supply-chain trust for skill files |\n| [LLM Integration](docs/llm-integration.md) | Prompting strategies |\n| [EU AI Act](docs/compliance/eu-ai-act-mapping.md) | Compliance mapping |\n| [NIST AI RMF](docs/compliance/nist-ai-rmf-mapping.md) | Framework mapping |\n\n## vs Alternatives\n\n| | AKF | C2PA | Watermarking | Manual tracking |\n|---|:---:|:---:|:---:|:---:|\n| Works on documents/code | ✅ | ❌ (media only) | ❌ | ⚠️ |\n| No Certificate Authority needed | ✅ | ❌ | ✅ | ✅ |\n| Trust scores | ✅ | ❌ | ❌ | ❌ |\n| Source provenance chain | ✅ | ✅ | ❌ | ⚠️ |\n| Compliance auditing | ✅ | ❌ | ❌ | ❌ |\n| ~15 tokens (LLM-friendly) | ✅ | ❌ | N/A | N/A |\n| 20+ file formats | ✅ | ⚠️ (media) | ⚠️ (text) | ❌ |\n| Free & open source | ✅ | ⚠️ | Varies | ✅ |\n\n## Compliance\n\n**EU AI Act Article 50 takes effect August 2, 2026** — AI-generated content must carry transparency metadata (penalties up to EUR 35M / 7% of global turnover). Files stamped with AKF already carry it:\n\n```bash\nakf audit report.docx --regulation eu_ai_act\n```\n\nMappings for [EU AI Act](docs/compliance/eu-ai-act-mapping.md) and [NIST AI RMF](docs/compliance/nist-ai-rmf-mapping.md).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, testing, and PR process.\n\n## Free and Open — Forever\n\nAKF is free and open source under the MIT license. The format specification will always be free. No feature will ever be gated behind a paid tier. AKF is a standard, and standards must be free to be universal.\n\n## License\n\nMIT — use it everywhere, embed it in everything.\n",
  "bytes": 23972,
  "sha": "27cd855645eae46ea788c378df472b36bd33da7edabc9427b26e84b513e08efa",
  "repo_slug": "hmakt99/akf",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_hmakt99_akf_2739ddbc/readme"
}