Skip to main content

Agent Integration Patterns

9.1 The Trust Decision Workflow

When an AI agent needs to recommend a merchant, the OTR query is one step in a broader decision workflow:
The OTR trust score is not the sole ranking factor, but it is a critical signal for AI agents evaluating merchant reliability.

9.2 Integration Patterns

Pattern 1: Real-Time Queries

Call the OTR API in real time for each recommendation:

Pattern 2: Cached Queries

Trust scores do not change frequently, making them well-suited for caching:

Pattern 3: MCP Tool Invocation

Through the MCP protocol, AI applications can invoke the OTR query tool directly (see Chapter 7).

9.4 Presenting Trust Information to Users

AI agents can display trust information alongside their recommendations:
Transparently presenting trust information increases user confidence in the agent’s recommendations.
Next chapter: How to Improve Your Trust Score — A dimension-by-dimension guide to raising your OTR score