Trust Calibration UI Kit
Interface for operators to calibrate their trust in agent recommendations.
0/5 calibrated
Trust: 78%
Configuration
Trust Trend
-7dToday
Trust Calibration Queue
Flag user #4829 as high-risk
Agent:
91%
Operator:
1%
1000ms
Approve transaction #TX-8821
Agent:
97%
Operator:
1%
700ms
Escalate ticket #4421 to L3
Agent:
84%
Operator:
1%
900ms
Auto-resolve duplicate #3392
Agent:
99%
Operator:
1%
500ms
Throttle API consumer #C-18
Agent:
78%
Operator:
1%
800ms
Integration Code
import { createTrustCalibration } from 'agent-tools-kit/human-command'
const trust = createTrustCalibration({
method: 'interactive',
trackOverTime: true,
windowSize: '30d',
})
// Present a recommendation with trust calibration
const calibrated = await trust.present({
recommendation: agentRecommendation,
agentConfidence: 0.91,
domain: 'fraud-detection',
})
// Get operator's trust level
const trustLevel = await calibrated.getTrustLevel()
console.log(trustLevel.score) // 0.72
console.log(trustLevel.history) // [0.65, 0.68, 0.72, ...]
// Adjust trust based on feedback
await calibrated.adjust({
feedback: 'overridden',
reason: 'False positive',
})