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 分