ID Protocol

io.github.markoblogoPublished by GitHub account markoblogov0.4.0Updated Oct 24, 2026

Portable human-AI context protocol reference tooling.

Overview

AI-generated overview

A local Python CLI that turns reviewed profile files into compact, privacy-filtered context for AI tools and repositories.

What you can do
ID Protocol provides the idctl command-line tool for managing a personal context profile kept in Markdown files. Commands include init, validate, refresh-soul, export-compact, diff, and install-set-hook. It builds derived artifacts such as soul.md, context.compact.json, and mcp.context.resource.json, applying a per-field privacy policy so unlisted fields stay local-only. The README states the package is a local CLI and does not itself provide an MCP server or synchronize vendor accounts.
When to use it
Use it when you want to keep working preferences and operating constraints in files you control and move a reviewed, filtered version of that context between AI tools and repositories. It suits users who want explicit per-field export permissions and a review step before sharing context.
Requirements
Python 3.11 or newer, installed locally (for example via uv tool install id-protocol). A profile directory created with idctl init and a valid privacy policy whose owner_id matches the requested profile are needed for compact and MCP resource exports. No accounts, API keys, or network access are declared.
Before you install
Exports are blocked when the privacy policy is missing, malformed, mixed, conflicting, or owner-mismatched; the --allow-unfiltered flag only permits a missing policy in a reviewed legacy workflow and cannot bypass an invalid one. Review the resulting export before attaching it to another tool, since generated JSON is a transport view that may omit nuance. Use synthetic profiles in public issues and pull requests.

Installation

In SourceWeft

  1. Open ID Protocol in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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.

Source: README.md at commit 80ff7da

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.4.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts