dominion-observatory
Drop-in LangChain tool (TrustGateTool) for behavioral trust scoring in agent pipelines
DAEE Engine
Dominion Agent Economy Engine
The infrastructure layer for autonomous agents that earn, transact, and build trust in the open economy.
What is this?
DAEE is a monorepo powering the Dominion ecosystem — a set of MCP servers, trust infrastructure, and settlement tooling that lets AI agents operate as first-class economic actors.
The problem: Agents need to pay for APIs, but there's no way to know if the agent on the other side is trustworthy before settling a payment.
Our solution: Behavioral trust scoring that plugs directly into the payment flow.
Agent A wants to call a paid API
│
▼
┌─────────────────────┐
│ x402 Payment Flow │
│ │
│ beforeSettle hook │──► Query Dominion Observatory
│ │ │
│ Trust score: 82 │◄──────┘
│ Decision: PASS │
│ │
│ Settlement: GO │──► USDC transfer on Base
└─────────────────────┘Architecture
Component | What it does |
Live behavioral trust registry — tracks interaction history, latency, success rates for MCP servers. Try it → | |
Plugs Observatory data into x402's | |
Drop-in LangChain tool — | |
End-to-end: Observatory query → trust gate → USDC transfer on Base Sepolia | |
Formal spec (v0.1) for the trust-provider interface |
MCP Servers (Live)
Production MCP servers powering Singapore government data for AI agents:
Server | Domain | Status |
CPF contributions, age-banded rates, OA/SA/MA allocation | ✅ Live | |
UEN validation, ACRA lookups, officer data, SSIC codes | ✅ Live | |
Levy rates, filing deadlines, EP benchmarks, holidays | ✅ Live | |
Employment Pass COMPASS scoring | ✅ Live | |
ASEAN trade regulations and tariff data | ✅ Live |
All servers are registered on the Dominion Observatory with behavioral trust scores.
Quick start
Try the trust gate (no wallet needed)
cd testnet-demo
npm install
npm run demo:dry-runUse in LangChain
from langchain_trust_gate import TrustGateTool
tool = TrustGateTool()
result = tool.invoke({"agent_id": "sg-cpf-calculator"})
# {'decision': 'PASS', 'score': 0.82, ...}Use in TypeScript
import { observatoryEvaluate } from "@dominion/trust-provider";
const evaluation = await observatoryEvaluate({
schema: "x402-trust-query-v0.1",
payer: { agent_id: "sg-cpf-calculator" },
resource: { url: "https://api.example.com/data", method: "GET" },
requested_at: new Date().toISOString(),
});
if (evaluation.decision === "PASS") {
// proceed with payment settlement
}Query the Observatory directly
curl https://dominion-observatory.sgdata.workers.dev/api/agent-query/sg-cpf-calculatorEmbed a trust badge
Display your MCP server's live trust score as a badge in any README or documentation:
Examples with real servers:
The badge auto-updates every 5 minutes and is color-coded:
Color | Score | Decision |
Green | 60+ | PASS |
Yellow | 40-59 | UNCERTAIN |
Red | < 40 | FAIL |
Gray | — | Server not found |
Use it in your MCP server's README to signal trust to consumers.
How trust scoring works
The Observatory tracks behavioral attestation data for every registered MCP server:
Signal | What it measures |
Interaction count | How much real usage the server has |
Success rate | Reliability under real-world conditions |
Avg latency | Performance consistency |
Registration age | Time-based trust accumulation |
These signals produce a trust score (0-100) mapped to decisions:
Score | Decision | Tier |
60+ |
| Silver+ — proceed with settlement |
40-59 |
| Review band — apply extra checks |
<40 |
| Below Bronze — block settlement |
Integrations
x402 Protocol — Trust-provider extension for payment gating (PR #2300)
LangChain —
TrustGateToolfor agent pipelinesModel Context Protocol — All servers are MCP-native (Discussion #2720)
Packages
Package | Registry | Description |
| npm | TypeScript trust-provider with Observatory adapter |
| PyPI | LangChain tool for behavioral trust scoring |
Project structure
daee-engine/
├── dominion-observatory/ # Trust registry (Cloudflare Workers)
├── packages/
│ ├── trust-provider/ # npm: @dominion/trust-provider
│ └── langchain-trust-gate/ # PyPI: langchain-trust-gate
├── specs/ # Formal specifications
├── testnet-demo/ # x402 + Base Sepolia demo
├── sg-cpf-calculator-mcp/ # MCP server: CPF
├── sg-company-lookup-mcp/ # MCP server: Company data
├── sg-regulatory-data-mcp/ # MCP server: Regulatory
├── sg-workpass-compass-mcp/ # MCP server: Work passes
├── asean-trade-rules-mcp/ # MCP server: ASEAN trade
├── benchmarks/ # Performance benchmarks
├── decisions/ # Architecture decision records
└── docs/ # DocumentationContributing
PRs welcome. See individual package READMEs for development setup.
License
MIT
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vdineshk/daee-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server