Check

dev.getstub由 getstub.dev 发布v0.1.0更新于 Oct 24, 2026

Verify what an AI agent did for someone, and what commercial influence the operator disclosed.

发布方自己的服务:check.tattoo: tattoo size and placement guide

已验证STDIO仅桌面安全与监控商业与电商

概览

AI 生成的概览

Stub Check 让助手核验已签名的忠诚回执,查看 AI 代理为某人做了什么,以及运营方披露了哪些商业影响。

可以做什么
  • 向中立注册中心核验签名回执,检查谁提出请求、做了什么、涉及多少金额以及适用了哪些商业影响
  • 读取回执中的披露字段,包括以空披露签名证明本次操作未受任何利益冲突影响
  • 通过为服务器配置的注册中心主机解析回执
  • 查看任何代理都可添加的公共校验服务器,以及运营方的签发模式
适用场景
当你希望助手核查代理代表某人做了什么、结果是否受到付费排名或佣金影响时使用,例如审计代理给出的排名或预订结果。
运行要求
以本地 npm 包通过 stdio 在桌面端运行。需要 Node.js 以及访问注册中心的网络;环境变量 STUB_REGISTRY 指定注册中心主机,默认使用提供方的 API 主机。未声明任何身份验证。
安装前请注意
README 说明没有离线模式或模拟注册中心,每次运行都会连接真实注册中心。免费额度为每月 1,000 个 stub,示例每次运行都会生成新的密钥对,README 指出这不适合生产环境。回执是公开的、任何人都能打开,因此自由文本中写入的内容需谨慎。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Check,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Stub recipes

[Stub]

Working reference integrations for Stub, the allegiance receipt registry for AI agents.

Each recipe is a runnable agent with Stub wired in at the line where the ranking picks a winner. Clone one, run it, read the receipt it produces.

Every recipe here is a reference and a simulation. No real merchants, no real money, no real users. Nobody is running these in production, and each README says so. The point is to show exactly where a receipt belongs in code you recognise.

The recipes

RecipeWhat it showsLanguage
tool-loopThe primitive every framework wraps. A model, two tools, a loop.JavaScript
acp-commerceAllegiance lives upstream of checkout, in the ranking.JavaScript
mcpA public check server any agent can add, plus the operator issuing pattern.JavaScript
langchain-pythonThe same integration inside a LangChain agent.Python
vercel-ai-sdkThe biggest agent surface in JavaScript.JavaScript
insurance-adviceThe primitive outside commerce, with real stakes.Python

Every recipe runs against the live registry and issues real receipts, under an operator id you choose. The free tier is 1,000 stubs a month, so trying all six costs nothing. There is no offline mode and no mock registry: the only way to issue a stub is to issue one.

The badge above

These recipes are exercised against the live registry every day, and the badge is drawn from the receipts that run produces. It is not a build status: it says the reference agents ranked their catalogues, disclosed what influenced the result, and issued signed records anyone can open. Click it to read them.

If it ever goes quiet, the recipes stopped working and this repo is telling you so before you clone it.

Start here

If you are new to this, read tool-loop first. It is the smallest one and it carries the lesson the others repeat: the model does nothing wrong, the ranking decided.

cd tool-loopnpm installexport STUB_OPERATOR_ID=op_yourname_toolloopnpm run demo

Pick an operator id that is yours. The first run registers it and saves your keypair to .stub-keys.json, which is gitignored. Every run after that uses the same identity.

The demo prints the ranking your code produced, with the reason beside each item, and then a receipt link anyone can open.

When you are ready to deploy

The recipes generate a fresh keypair each run, which is right for reading and wrong for production. PRODUCTION.md covers what changes: persisting your identity, where the receipt belongs, what never goes in the free text, and the mistakes we made taking our own agent live.

What a stub is

When your agent acts for someone, it issues a small signed record: who asked, what was done, what money moved, and what commercial influence applied. The person served checks it at a neutral registry, not on your servers and not on ours.

Here is a live one before you install anything:

https://api.getstub.dev/check/72b4baee1719ec34acc5df5c514a12fd2e19b9a6776de4b45706988f765c77d8

The integration, in full

js
import { Stub, influenced } from '@getstub/agent';
const stub = new Stub({  operator: 'Your Agent',  declared: {    paid_by: 'the user, subscription',    conflicts: ['commission'],  },});
// at the line where your ranker picks a winner:const inf = [];if (pick.paid_placement) inf.push(influenced.placement(pick.seller));if (pick.commission_pct) inf.push(influenced.commission(pick.commission_pct + '%'));
const receipt = await stub.issue({  principal: user.id,        // hashed on your side, never sent raw  agent: 'your-agent',  requested: query,  done: `booked ${pick.name}`,  value_moved: { amount: pick.price, currency: 'USD' },  not_disclosed: inf,        // an empty array is signed proof none applied});

Python is the same shape:

python
from getstub import Stub, influenced

Two things that keep coming up

Nobody hand writes disclosures. Your ranking code already knows when a commission or a placement fee shaped a result, because it applied it. The receipt reads the same flags at the same line. It scales the way your ranking scales.

An empty disclosure is not nothing. It is a signature saying conflicts exist in your business and none of them touched this action. That is worth more than silence, and it is why honest operators have something to gain here.

Install

npm install @getstub/agentpip install getstub

Both clients sign over the same canonical form, verified rather than assumed: the Python test suite signs a stub and has the registry code verify it.

Free tier

1,000 stubs a month. Checking is free forever, because charging the person being served to verify would defeat the point.

Links

Copyright Stub 2026

来源:README.md,提交 81e0f4d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Check 集成