ID Protocol

السجل الرسمي الذكاء الاصطناعي والوكلاء

Portable human-AI context protocol reference tooling.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package id-protocol
Claude Code
claude mcp add id-protocol -- uvx id-protocol==0.4.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "id-protocol": {
            "command": "uvx",
            "args": [
                "id-protocol==0.4.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. ID Protocol — portable context for AI tools
  2. Try it in five minutes
  3. Files and ownership
  4. Privacy behavior
  5. ABVX toolchain
  6. Evidence
  7. Develop
  8. ABVX ecosystem

ID Protocol — portable context for AI tools

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.

uv tool install id-protocol
mkdir my-id-profile && cd my-id-profile
idctl init --owner-id demo

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

idctl validate --owner-id demo
idctl refresh-soul --owner-id demo
idctl export-compact --owner-id demo
idctl 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:

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

git clone https://github.com/markoblogo/ID.git
cd ID
python -m venv .venv
. .venv/bin/activate
python -m pip install ".[dev]" build twine
make validate
make drift-check
make coverage
make release-build
make 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.

الأسئلة الشائعة

ما هو ID Protocol؟

Portable human-AI context protocol reference tooling.

كيف أثبّت ID Protocol؟

يعمل على جهازك. في Claude Code: claude mcp add id-protocol -- uvx id-protocol==0.4.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج ID Protocol إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل ID Protocol مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون ID Protocol؟

ينشره markoblogo. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.