AIFeed

io.github.denyn1由 GitHub 帳號 denyn1 發布v1.0.0-draft.2更新於 Oct 24, 2026

Verify signed AIFeed permissions, fetch token-budgeted markdown, and verify assets for AI agents.

概覽

AI 產生的概覽

AIFeed 讓助理驗證某個網域簽章的 AIFeed 內容授權、取得依 token 預算精簡的 markdown,並在使用網頁內容前驗證資源。

可以做什麼
驗證網域的簽章 AIFeed 授權,檢查探索、簽章與 DNS 錨定,並在每次使用時重新檢查撤銷狀態。依 token 預算取得精簡的 AIFeed Markdown 或 MAKO 內容,並透過增量索引讓未變更頁面不產生成本。在使用內容前驗證資源及訓練、檢索、引用等用途的授權決定。透過命令列建置並驗證發布端的清單、金鑰與頁面 markdown。
適用情境
當助理需要確認某網站允許 AI 代理對其內容做什麼,或需要取得精簡的簽章 markdown 而非完整 HTML 頁面時使用。適合必須遵守逐項用途授權與撤銷狀態的代理工作流程。
執行需求
以本機 stdio 程序執行,從 npm 套件 aifeed-mcp-server 安裝;README 中的命令列與驗證器範例需要 Node.js 20 以上版本。進行探索、簽章與 DNS 檢查需要連線至目標網域。未宣告帳號、API 金鑰或環境變數。
安裝前請注意
規格仍為草案、尚未凍結,外部密碼學審查與線上試辦都還沒完成。來源站台與 DNS 同時遭入侵時,首次接觸無法察覺。發布端指令會產生並處理 Ed25519 私鑰,須避免放入程式碼儲存庫或共用工具。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AIFeed,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[AIFeed logo]

AIFeed

English · Bahasa Indonesia · 中文

Signed content permissions for the AI web.
Declare, sign, and revoke what AI agents may do with your content — and let agents prove it.

▶ Watch: How AIFeed stops web scraping waste

[npm version] [aifeed CLI] [PyPI] [test suites] [conformance vectors] [spec license] [code license] [status]

Website · Protocol flow · Benchmark · Complete guide · Paper (PDF)


1-Minute Quickstart

Publisher side — sign what agents may do with your content:

bash
npx aifeed keygen --out .aifeed                         # Ed25519 key pairnpx aifeed site build ./public --domain example.com \  --key .aifeed/aifeed-private.pem --llms --inject      # manifest + page markdown + indexnpx aifeed validate ./public --domain example.com       # verify locally

Prefer zero config? npx aifeed init --domain example.com --dir ./site creates the keys, a signed manifest, and the DNS/host setup guide in one step.

Agent side — verify any domain in 3 lines:

bash
npm install @aifeed/verify
js
const { verifyRemote } = require('@aifeed/verify');const out = await verifyRemote('example.com'); // discovery → signature → DNS anchorconsole.log(out.result, out.anchor.status);    // VERIFIED anchored

TypeScript: import { verifyRemote } from '@aifeed/verify';

Where to go next: Why AIFeed? · agent quickstart · publisher AI guide · Studio publisher app · npm: aifeed CLI · @aifeed/verify

Why AIFeed?

AI agents now drive a large and growing share of web traffic, but the signals that say what they may do are unsigned text files. Anyone can edit them, nothing binds them to a domain, and there is no way to revoke them. The asymmetry is measurable:

  • 1.9 billion crawls ignored robots.txt rules in a single half-year (one vendor).
  • A 70,900 : 1 crawl-to-referral ratio was measured for a major AI provider.
  • AI bots averaged 4.2 % of HTML requests in 2025, peaking at 6.4 %.

AIFeed replaces "please respect this file" with a cryptographically verifiable declaration, plus lean agent-ready content that cuts cost on both sides.

How it works

  1. Generate an Ed25519 key pair — the private key never leaves the origin.
  2. Publish a signed manifest at /.well-known/ai.json: per-use permissions (training, retrieval, quote, …), crawl limits, license, revision.
  3. Anchor the key in DNS (_aifeed TXT) so a manifest cannot be spoofed by another domain.
  4. Agents verify the chain — TLS → domain → signature (JCS + Ed25519) → DNS anchor — and re-check a multi-signature revocation registry on every use.
  5. Rotate keys safely — announce the successor with an old-key-signed directive (plus an advisory DNS pk2 cross-check), keep a bounded overlap, cut over, then revoke the old key permanently. Runbook: docs/rotation.md.
  6. Serve lean content under one of two profiles (below), with a signed delta index so unchanged pages cost 0 bytes.

For AI agents: the check-first guide (discovery → verification → permission decisions → delta → failure handling) is in docs/agent-quickstart.md, with a runnable example at examples/agent/compliant-agent.js.

Verify from other stacks

Independent Python package (standard library only):

bash
pip install aifeed
python
from aifeed import verify
report = verify.verify_directory('./my-site', domain='example.com')print(report['result'], report['errors'])

Prefer the repository? The same CLI is here (zero dependencies, Node ≥ 20):

bash
cd aifeed-protocolnode bin/cli.js keygen --out keys/node bin/cli.js validate https://example.comnode bin/cli.js site build ./public --domain example.com --key keys/aifeed-private.pem

Two content profiles

ProfileMedia typeExtensionNotes
AIFeed Markdown (native)text/aifeed+markdown.aifeed.mdIn-band signed policy block, token budget, translation alternates, triage metadata
MAKO (compatibility)text/mako+markdown.mako.mdExternal MAKO trust profile, served from the same signed bytes with its own signature context

Dual-stack origins serve both; cross-format replay is rejected by design.

Measured results

All numbers are reproducible from committed artifacts (npm run bench:mako, npm run bench:enforcement); the test environment is a single machine on loopback networking with a synthetic 60-page corpus. Honest baseline included.

WhatResultLabel
Conversion to markdown profiles vs HTML−68.83 % transferred bytesmeasured
Delta consumption (10 % pages changed)−95.73 % vs HTML crawlmeasured
Publisher egress bytes / CPU / peak connections−55.19 % / −56.23 % / −88.24 %measured (simulation)
AI-side received bytes (all profiles / compliant client)−54.84 % / −72.93 %measured (simulation)
Unchanged pages skipped14 of 18measured (simulation)
Signature verification cost0.70 ms / pagemeasured

The 30-day live pilot has not run yet; projections per 1,000 tenants are labeled as model extrapolations, and vendor claims of up to 94 % token reduction require semantic summarization this project does not perform automatically.

What's in this repository

PathContents
lib/ + bin/Zero-dependency reference implementation and CLI
packages/ + clients/python/Published packages: CLI (aifeed), SDK (@aifeed/verify), MCP server, build plugins (@aifeed/frameworks), PyPI aifeed verifier
conformance/Conformance vectors: 34 manifest · 39 MAKO · 11 AIFeed Markdown
wp-plugin/WordPress plugin: signed manifest, AIFeed Markdown + MAKO dual-stack, /llms.txt
spec/Specifications EN/ID: manifest v0.1/v0.2, AIFeed Markdown v1.0
schema/JSON Schemas for manifests, signatures, AIFeed Markdown, MAKO
paper/Preprint: LaTeX source, PDF, claim ledger, arXiv bundle
docs/Agent quickstart, deploy and namespace guides, Indonesian project notes
studio/Zero-dependency local publisher app: crawl, declare, build, verify, export, and rotate
docs/REFERENCE.mdReference implementation details, what gets verified, CLI quickstart

Documentation

Status

  • Release 1.0.0-draft — the specifications are not frozen yet. Wire versions: manifest 0.1/0.2, AIFeed Markdown 1.0, MAKO 0.2.
  • Conformance: 34 manifest + 39 MAKO + 11 AIFeed Markdown vectors, executed by independent JavaScript and Python verifiers, plus PHP differential fixtures, 90,000+ fuzz executions, and a WordPress end-to-end test.
  • Not claimed: external cryptographic review and a live pilot (both pending); origin+DNS compromise is undetectable on first contact.

License and contact

Specifications CC BY 4.0 · reference code and plugin MIT · vectors CC0. Contact: [email protected] — security reports per SECURITY.md.

來源:README.md,提交 1a382a6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0-draft.2最新Sep 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分