ID Protocol

io.github.markoblogo由 GitHub 帳號 markoblogo 發布v0.4.0更新於 Oct 24, 2026

Portable human-AI context protocol reference tooling.

概覽

AI 產生的概覽

一套本機 Python 命令列工具,把審閱過的個人設定檔轉成精簡、經隱私過濾的脈絡,供 AI 工具與程式碼儲存庫使用。

可以做什麼
ID Protocol 提供 idctl 命令列工具,用來管理以 Markdown 檔案保存的個人脈絡設定檔。指令包括 init、validate、refresh-soul、export-compact、diff 與 install-set-hook。它會產生 soul.md、context.compact.json、mcp.context.resource.json 等衍生檔案,並依逐欄位隱私政策過濾,未列出的欄位只留在本機。README 說明這個套件是本機 CLI,本身不提供 MCP 伺服器,也不同步廠商帳號。
適用情境
當你想把工作偏好與操作限制保存在自己掌控的檔案中,並在 AI 工具與程式碼儲存庫之間傳遞審閱過、過濾後的脈絡時適用。適合需要明確逐欄位匯出權限,並在分享脈絡前先審閱的使用者。
執行需求
需要在本機安裝 Python 3.11 或更新版本(例如透過 uv tool install id-protocol)。精簡匯出與 MCP 資源匯出需要先用 idctl init 建立設定檔目錄,並具備 owner_id 與所要求設定檔相符的有效隱私政策。未宣告需要帳號、API 金鑰或網路存取。
安裝前請注意
當隱私政策缺少、格式錯誤、混合、衝突或 owner_id 不符時,匯出會被阻擋;--allow-unfiltered 僅在審閱過的舊版工作流程中允許缺少政策,無法繞過無效政策。產生的 JSON 只是傳輸檢視,可能省略細節,附加到其他工具前應先審閱匯出結果。在公開 issue 與 pull request 中請使用合成設定檔。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[ID Protocol logo]

ID Protocol — portable context for AI tools

[CI] [PyPI] [Python] [MIT] [ID Protocol — Local CLI on MCPRush]

Keep your working preferences in files you control. ID turns a reviewed profile into compact, privacy-filtered context that can move between AI tools and repositories.

Try it in five minutes

Requires Python 3.11 or newer.

sh
uv tool install id-protocolmkdir my-id-profile && cd my-id-profileidctl init --owner-id demo

Edit profiles/demo/profile.minimal.md, then build and inspect the portable output:

sh
idctl validate --owner-id demoidctl refresh-soul --owner-id demoidctl export-compact --owner-id demoidctl diff --owner-id demo --since 7d

The starter profile is provisional until you review it. Use an alias such as demo or my-work-profile; a legal name is unnecessary. ID does not upload generated files.

Files and ownership

FileRole
profile.minimal.mdSmall owner-edited starting profile
profile.core.mdCanonical profile when a fuller source is needed
profile.extended.mdOptional detailed workflows and context
privacy-policy.v1.jsonPer-field export permissions
handshake.mdConcise rules for applying context
soul.mdShort derived bootstrap for an agent
context.compact.jsonPrivacy-filtered portable context
mcp.context.resource.jsonResource payload for an external MCP adapter

Markdown profiles remain the source of truth. Generated JSON is a transport view and may omit nuance. The package is a local CLI; it does not provide an MCP server or synchronize vendor accounts.

Privacy behavior

Compact and MCP resource exports require a valid policy whose owner_id matches the requested profile. Unlisted fields stay local-only. Missing, malformed, mixed, conflicting, or owner-mismatched policies block export.

Legacy list policies from earlier releases are normalized in memory during validation and export. Their source files remain unchanged and their restrictions remain effective. --allow-unfiltered only permits a missing policy in a reviewed legacy workflow; it cannot bypass an invalid policy.

Review the resulting export before attaching it to another tool. See the privacy model, policy schema, and threat model.

ABVX toolchain

ProductResponsibilityTested release
IDHuman preferences and operating constraints0.5.2
agentsgenRepository instructions and commands0.5.0
SETReview-first workflow planning and exports0.4.0
abvx-agent-skillsOptional reusable workflows0.15.0

These remain independently installable. ID does not install companions or grant tool permissions.

For a repository that already contains a reviewed ID profile:

sh
idctl install-set-hook --path .

The adapter returns owner-local bootstrap pointers to SET and preserves an existing custom hook. See the SET integration guide.

Evidence

Three reproducible demos exercise installed onboarding, policy-filtered omission, legacy-policy compatibility, and the agentsgen/SET handoff with synthetic data. They measure local CLI behavior and runtime, not AI answer quality.

The historical benchmark snapshot is a small checked-in sample with explicit limits. AI-client behavior still depends on each client's configuration and context rules.

Develop

sh
git clone https://github.com/markoblogo/ID.gitcd IDpython -m venv .venv. .venv/bin/activatepython -m pip install ".[dev]" build twinemake validatemake drift-checkmake coveragemake release-buildmake release-check

Start with the documentation index, protocol, integration boundaries, and contributing guide. Use synthetic profiles in public issues and pull requests.

ABVX ecosystem

  • AGENTS.md_generator — Exports reviewed context for repository guidance. Current release: v0.5.1.
  • AGENTS.md_generator — Keeps repository guidance and machine-readable context current. Current release: v0.5.1.
  • abvx-agent-skills — Uses shared, reviewable agent capabilities during maintenance. Current release: v0.16.1.

This block is generated from the reviewed ABVX ecosystem registry.

來源:README.md,提交 80ff7da

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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