Memory Governance Protocol
Your AI agent doesn't know it's forgetting.
Stale memory. Conflicting sources. Silent drift. Sgraal catches it before your agent acts — in under 10 ms.
Get Your API KeyOne preflight call. Three outcomes.
Before every memory-based decision, Sgraal scores the risk and tells your agent what to do.
USE_MEMORY
Memory is fresh and consistent. Proceed with confidence.
WARN
Some staleness or conflict detected. Log and monitor.
BLOCK
High risk of acting on bad data. Stop. Ask. Verify.
Quickstart — three ways
REST API, Python SDK, or Node.js — pick your stack.
No SDK needed — works with any language
curl -X POST https://api.sgraal.com/v1/preflight \
-H "Authorization: Bearer sg_live_..." \
-H "Content-Type: application/json" \
-d '{
"memory_state": [{
"id": "mem_001",
"content": "User prefers metric units",
"type": "preference",
"timestamp_age_days": 45,
"source_trust": 0.9,
"source_conflict": 0.2,
"downstream_count": 3
}],
"action_type": "irreversible",
"domain": "fintech"
}'Live API Demo
A single POST. Instant risk score. Full explainability.
Request
curl -X POST https://api.sgraal.com/v1/preflight \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memory_state": [{
"id": "mem_001",
"content": "User prefers metric units",
"type": "preference_memory",
"timestamp_age_days": 45,
"source_trust": 0.9,
"source_conflict": 0.2,
"downstream_count": 3
}],
"action_type": "irreversible",
"domain": "fintech"
}'Response
{
"omega_mem_final": 42.1,
"recommended_action": "WARN",
"assurance_score": 70,
"explainability_note": "Highest risk: s_freshness (54.0/100).",
"component_breakdown": {
"s_freshness": 54.0,
"s_drift": 33.6,
"s_provenance": 10.0,
"s_propagation": 24.0,
"r_recall": 36.4,
"r_encode": 5.0,
"s_interference": 20.0,
"s_recovery": 73.0
}
}Simple pricing
Start free. Pay only when you scale.
Free Tier
$0
Up to 10,000 calls / month
- All 8 risk components
- Full explainability
- Unlimited memory entries per call
Usage-Based
$0.001 / call
After 10,000 free calls
- Everything in Free
- Priority support
- Usage dashboard
Get your API key
Enter your email. Get a key. Start calling the API.