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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_protocol-0.1.5.tar.gz.
File metadata
- Download URL: agentic_protocol-0.1.5.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ee6d2a9b9c20d5b91bb14c7650c442f08d93b8a50ad20bad2501f4dd0114359
|
|
| MD5 |
a2a5b24dfc925fb1cd2216bc9286a0b4
|
|
| BLAKE2b-256 |
bcf304b6d6146ea98e95abf80dc79e1d2e57b9062372bb0675d079bb881ff2a2
|
File details
Details for the file agentic_protocol-0.1.5-py3-none-any.whl.
File metadata
- Download URL: agentic_protocol-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8bdc132a4c098777646db97c198e124f3fa5c3dfdcb514f3529a77bcfa14b03
|
|
| MD5 |
07717594150a4f9f5bc290312207f1fe
|
|
| BLAKE2b-256 |
f76a9d846ffa092d07550c0f637762cf7362d57e17d904f10c7c0dc27b9e91f3
|