Skip to content

AI host API (env) planned ​

None of these functions exists in the VM yet. Until they do, read the same data off-chain through the REST API — the AI and models, Sentinel trust list and Account abstraction sections.

Neuro-native. Read / attest / request only — never changes BFT voting power.

Consensus-path calls must be deterministic (committed state). Full analyze_v2(bytes) is not a consensus call import — use RPC, query-path, or deferred AiRequest (Phase B).

ImportStatusPurpose
ai_active_modelplannedActive model hash/version from registry
oracle_getplannedLast oracle decision JSON
cert_getplannedCert tier/score for contract
ai_security_scoreplannedLast VMGuardian score 0–100
ai_analyze_hashplannedScore for known bytecode hash
ai_verify_zk_attestationplannedVerify ZKML receipt vs IMAGE_ID
ai_sentinel_score_txplannedConsensus-safe Sentinel for current TX
ai_is_trusted_recipientplannedTrust-list + activation delay
aa_session_allowedplannedSession grant check
aa_sponsor_remainingplannedSponsored gas pool remaining
ai_template_metaplannedTemplate registry metadata

When implemented, each of these will have a named fuel price and a governance switch to turn the AI host off.

See also VMGuardian, Sentinel, Account abstraction.