Skip to main content

ID — portable context for AI tools

Keep your working preferences in reviewed files. Reuse them across projects and AI tools, and inspect what changed before sharing.

CI PyPI MIT

ID gives you a small owner profile, a derived soul.md, portable JSON exports, privacy rules, and a semantic diff. You choose which files an AI tool receives.

Start with one profile

Requires Python 3.11+ and uv. Run in a private working directory:

uv tool install id-protocol
idctl init --owner-id demo

Edit profiles/demo/profile.minimal.md: language, level of detail, working rules, and what a good result means to you. The starter is provisional until you review it. Use an owner ID such as demo or my-work-profile; a real name is unnecessary.

idctl validate --owner-id demo
idctl refresh-soul --owner-id demo
idctl export-interop --owner-id demo
idctl export-compact --owner-id demo
idctl validate-compact --owner-id demo

These commands work from an installed package, outside this repository. No Makefile, API key, central registry, or paid service is required. Validation checks structure and freshness; it cannot decide whether the profile reflects you.

What you get

File Purpose
profile.minimal.md Owner-edited starting point
privacy-policy.v1.json Rules for filtered exports
handshake.md Instructions for confirming context
soul.md Short derived bootstrap; refresh after source edits
context.compact.json Portable, policy-filtered context

Add profile.core.md and profile.extended.md when you need more detail. If core exists, it takes precedence over minimal for interop exports. The extended profile is optional. Init refuses to overwrite existing starter files.

Review before sharing

idctl diff --owner-id demo --since 7d

Diff uses Git history; commit reviewed source changes if you want version comparisons. interop.v1.json and soul.md are local derived context, not privacy-filtered sharing bundles. Review your policy and the resulting compact export before giving it to another tool. Missing, invalid, or mismatched policies block compact/MCP export. The explicit --allow-unfiltered option permits a missing policy for a reviewed legacy workflow; it does not bypass an invalid policy.

Generating or exporting a file does not upload it. Source profiles remain under your control.

Use with agentsgen and SET

Product Owns Tested release
ID Human preferences and operating constraints 0.5.0
agentsgen Repository commands and instructions 0.5.0
SET Workflow presets and planning exports 0.3.1
abvx-agent-skills Optional reusable agent workflows 0.14.0, optional pairing

All remain separate products. ID does not install the others automatically. The first three versions are exercised together in release CI; skills are an optional workflow reference and are not part of the executable compatibility test.

For a repository that already has ID profiles:

idctl install-set-hook --path .

This creates a small repo-local adapter for SET. It requires idctl on PATH, preserves an existing custom hook, and resolves bootstrap files inside the selected owner directory. Complete SET setup.

Evidence and compatibility

Three reproducible demos verify installed onboarding, privacy-policy omissions, and the agentsgen/SET handoff with synthetic profiles. They measure CLI behavior and runtime, not AI task quality.

AI-client loading depends on each client's configuration. ID exports files for manual attachment or an adapter; it does not automatically synchronize ChatGPT, Claude, Cursor, or other clients. export-mcp creates resource JSON for an adapter; this package does not run an MCP stdio or HTTP server.

Historical benchmark runs are available as a dated snapshot. They are a small sample, not a general performance guarantee.

Explore or contribute

For source development: install .[dev], then run make validate and make coverage. Keep real private profiles outside this public repository.

Metadata

Release files for id-protocol 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for id-protocol 0.5.0
File Size Uploaded
id_protocol-0.5.0.tar.gz 69.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for id-protocol 0.5.0
File Interpreter ABI Platform
id_protocol-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 150.5 kB

Release files / id_protocol-0.5.0.tar.gz

Download URL id_protocol-0.5.0.tar.gz
Size 69.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1c4d629b8240b1f51bb12369301f4eebaa4cb394ce0f6becb60020603b1455c9
BLAKE2b-256 checksum
How to use checksums
5e34f33b52a7cea152fb72aa33b525a4cdfb1c56cde3c3211ea4b0c77ca2e73d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / id_protocol-0.5.0-py3-none-any.whl

Download URL id_protocol-0.5.0-py3-none-any.whl
Size 80.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07c9afd359da1e6538c3db0aa88ee00e181c405fc4a29260d24cd3f362dd1454
BLAKE2b-256 checksum
How to use checksums
a12c076e7b066e78895172ca3464035bf36ce5f3774314379c841c8cd5e07268
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.2

2 release files

0.5.1

2 release files

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page