Skip to main content

Typed cross-repo contracts for the agentic system: handoff state, MCP I/O, hook events, skill manifests, bootstrap install manifest.

Project description

agentic-protocol

Single source of truth for cross-repo contracts in the agentic system. Pydantic v2 is canonical; JSON Schema artifacts under schemas/ are generated from the models so non-Python consumers (hook scripts, future TS/JS tooling) can validate without importing Python.

Schemas (rolled out incrementally per founding plan 0001)

Status Module Schema
✅ v0.1.0 agentic_protocol.handoff HandoffState, ActiveTask, TaskRef, TargetWorktree, TaskPlanRef
✅ v0.1.0 agentic_protocol.branch_naming TASK_REF_RE, derive_task_ref_candidates, format_suggested_branch_name (single source of truth for the feature-branch grammar enforced by the post-checkout / PreToolUse / pre-commit / pre-push gates; cross-package consumers like agent_handoff_mcp re-export by reference, never by literal copy — identity is the contract)
agentic_protocol.mcp MCP tool I/O envelopes
agentic_protocol.hooks SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop
agentic_protocol.skills SkillManifest (with `scope: harness
agentic_protocol.bootstrap Bootstrap install manifest

Generated artifacts

schemas/*.json is regenerated by scripts/generate_schemas.py and committed. Consumers that don't want to import Python can read the JSON Schema directly.

Versioning

Hard-pin major version per consumer. Bootstrap resolves a compatible quartet of (handoff, orchestrator, bootstrap, system) against a single agentic-protocol major.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_protocol-0.1.4.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_protocol-0.1.4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file agentic_protocol-0.1.4.tar.gz.

File metadata

  • Download URL: agentic_protocol-0.1.4.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agentic_protocol-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0c09e2175aaa64df7e70d07afc1207fabc87e3763641473a88f8d15279a86f46
MD5 251423d0c5051b1fd1f2dc3679eb81c6
BLAKE2b-256 aa9651112a67e54515d88ddae525d3c50efa0b6cfda037ff55629fd318e2db2b

See more details on using hashes here.

File details

Details for the file agentic_protocol-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_protocol-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 62cd234e199dc9b676dc763b282398c5fb9a7f40323255c7a0a73b7e42eb621c
MD5 a7c471bab24a65ec66b83aa8e589a3a4
BLAKE2b-256 bb9f43ddfd04a93de16c63cee2c0661fb87636a3bae52b30e3008df19d1a634f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page