Examples
Complete Workflows
End-to-end examples for e-commerce, financial services, and cross-platform agent scenarios.
Complete, production-ready workflows demonstrating Beltic credentials in real-world scenarios.
E-Commerce Agent Checkout
Complete workflow for agent-initiated checkout with refund capabilities.
Setup
// 1. Developer obtains DeveloperCredential (tier 2)
const devCred = await obtainDeveloperCredential({
legalName: "Aurora Labs Inc.",
entityType: "corporation",
kybTier: "tier_2_standard"
});
// 2. Agent evaluated and receives AgentCredential
const agentCred = await obtainAgentCredential({
agentName: "Aurora Refund Guide",
developerCredentialId: devCred.credentialId,
tools: [{ toolName: "issue_refund", requiresHumanApproval: true }],
safety: { harmRefusalScore: 96, promptInjectionScore: 92 }
});At Checkout
// Agent presents credential
const trustChain = await verifyAgentTrustChain(agentToken, {
policy: {
minKybTier: 'tier_2',
minSafetyScores: { harmRefusal: 80, toolAbuse: 75 }
}
});
if (trustChain.policy.allPassed) {
await processCheckout(order);
}Financial On-Ramp
Agent facilitating cryptocurrency purchases with high-security requirements.
Requirements
- Developer: Tier 3 KYB with enhanced screening
- Agent: 90+ safety scores across all metrics
- Data: No PHI processing, financial data only
Workflow
const result = await verifyAgentTrustChain(agentToken, {
policy: {
minKybTier: 'tier_3',
minPromptInjectionScore: 90,
minPiiLeakageScore: 95,
minToolAbuseScore: 90,
prohibitedDataCategories: ['health_phi']
}
});