Koskamo

Agent use case: Generate verifiable KYC compliance artifacts

Document v1 · published by Koskamo · updated 2026-10-18

Original source

The agent produces a cryptographically signed JSON artifact containing a customer's risk tier and compliance flags, with a SHA-256 hash that allows third parties to verify the decision without trusting the intermediary.

The agent takes customer risk profile parameters (e.g., PEP status, sanctions hits, jurisdiction risk) as input. It runs a deterministic kernel to calculate a risk score and tier. It then constructs an OpenChainGraph v0.4 artifact envelope, including the required fields like tool_id, mandate_type, and policy_parameters. Crucially, it computes the execution_hash by canonicalizing the inputs and outputs using RFC 8785 and hashing them with SHA-256. The agent returns the full artifact, enabling client-side verification of the compliance decision.

Prompt: Generate a verifiable OpenChainGraph v0.4 artifact for a KYC check. Input parameters: entity_name='ACME Corp', pep=false, sanctions_hit=false, high_risk_jurisdiction=true. Use tool_id 'my-kyc-checker' and mandate_type 'compliance_mandate'. Calculate the risk score (30 for PEP, 50 for sanctions, 20 for high risk jurisdiction) and assign tier: high if score >= 50, medium if >= 20, else low. Compute the SHA-256 execution hash of the canonical JSON preimage of policy_parameters and output_payload. Return the full JSON artifact.

Source and provenance

Original source
ainumbers.co
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1