Custom Agent Modules / Open starter kit
K Protocol · Component Contracts
Organize agent tools and workflows with explicit inputs, outputs, execution boundaries, and evidence requirements.
HOW TO USE
Getting started
- 01
Download the package and read the README and license files.
- 02
Validate it in a separate test directory using the included commands.
- 03
Adapt it to a real workflow and record acceptance evidence.
A use case
Use one task to check inputs, risk classification, planning, validation evidence, and process records.
Scope and limitations
The KGL-C/V2 public starter contract is not an MCP transport protocol. Adaptation and permission enforcement must be implemented in the runtime.
Package contents
- LICENSE.md
- README.md
- components/k.policy.component_protocol_v2.json
- docs/CLAIM_BOUNDARIES.md
- schemas/k_component_v2.schema.json
components/k.policy.component_protocol_v2.json
Read-only preview{
"component_id": "k.policy.component_protocol_v2",
"component_type": "K-Policy",
"version": "0.1.0",
"purpose": "Define the public starter contract for governed K components.",
"inputs": ["component_profile"],
"outputs": ["validated_component_contract"],
"risk_level": "B",
"gates": [],
"dependencies": [],
"runtime": {"mode": "python_api", "binding": "kcomponents.validate_component"},
"tests": [{"name": "package_validation", "command": "python -B tools/validate_package.py"}],
"audit": {"required": true, "evidence": ["component_hash", "validation_output"]},
"lifecycle": "active",
"protocol_version": "KGL-C/V2",
"contracts": {
"interface": {"input_schema_ref": ["schemas/k_component_v2.schema.json"], "output_schema_ref": ["validation_report"]},
"execution": {"side_effect_class": "read_only", "idempotency": "required"},
"resource": {"network": "disabled_by_default", "cost_budget": "zero_paid_usage"},
"stability": {"fallback": "fail_closed"},
"cache": {"cacheable": true},
"state": {"write_scope": "declared_outputs_only"},
"security": {"secret_policy": "no_secret_read_by_default"},
"observability": {"trace_id_required": true},
"adapter": {"cli_binding": true, "api_binding": false},
"selection": {"capability_score": 0.8}
}
}
This English reading preview is for reference. Downloads retain their original content and licenses.
COMMUNITY FEEDBACK
Community reviews & ratings
Share your experience and suggestions to help improve these templates.
Loading reviews…