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 整合