RIB · English Edition

Agentic VM

ICR

Below is a clean, structured, English version of the architecture you asked for:

Intent Computing + Smart Contracts + Agents + Virtual Machine unified into an “Agent-VM”.

This is written in technical white-paper English, suitable for architecture review or a draft specification.

Agent-VM: A Unified Architecture for Intents, Agents, Contracts and VM Execution

(English Version)

1. Overview: A New Execution Paradigm

The Agent-VM unifies four traditionally separate layers:

The result is a goal-oriented, agent-centric execution environment where:

Intents become first-class objects,

agents become verifiable executors,

contracts guard invariants,

and the VM ensures deterministic, auditable reality.

2. Core Lifecycle: Intent → Plan → Act → Prove → Settle

  1. Intent Submission:

    I = <Goal, Constraints, SLA, Stake, Audience, Version>

    Intents may be single-party or multi-party (joint intents).
  2. Agent Matching & Planning:

    Agents advertise capability vectors and reputation scores (ρ).

    Routing chooses the best agent(s).

    The agent produces a Plan Graph (HTN decomposition + policy constraints).
  3. Execution (Act):

    The agent executes the plan in a deterministic sandbox and writes every step into a Verifiable Logic Clock (VLC), forming an IntentDAG.
  4. Proof Generation:

    The agent produces a PoCW (Proof of Constructive Work) packet:
    • Quality metrics
    • Novelty & reuse scores
    • External attestations (oracle / TEE / ZK proofs)
    • Deterministic replay logs
  5. Settlement:

    Smart contracts check invariants, validate the proof, and settle:
    • CreditΔ
    • RewardΔ
    • ReputationΔ
    • Bond release or slashing

3. First-Class Objects

3.1 Intent Object

{

"intent_id": "I-…",

"owner": "acct:…",

"goal": "Summarize paper X and draft 10 tweets",

"constraints": {"deadline":"2025-11-30","budget":{"aiusd":20}},

"stake": {"bond": 3},

"sla": {"quality":"A-","latency":600},

"audience": ["public"]

}

3.2 VLC Log Node

{

"node_id": "N-…",

"intent_id": "I-…",

"parents": ["N-1","N-3"],

"vlc": "vlc:123456:agentA",

"action": {"tool":"web.read","args":{"url":"…"}},

"model": {"name":"gpt-…","hash":"…"},

"attest": [{"by":"agentB","sig":"…"}],

"metrics": {"quality":0.86,"novelty":0.41},

"gas_ai": 0.72

}

4. The Agent-VM Stack

┌────────────────────────────────────┐

│ Intent Layer (Goals, SLAs, Bonds) │

├────────────────────────────────────┤

│ Planning Layer (HTN, DAG, Policy) │

├────────────────────────────────────┤

│ Agent Layer (Capabilities, ρ) │

├────────────────────────────────────┤

│ Contract Layer (Invariants, State)│

├────────────────────────────────────┤

│ VM Layer (Determinism, ZK, Replay)│

└────────────────────────────────────┘

Key Properties

5. Instruction Set & Syscalls

Intent Syscalls

Agent Syscalls

Resource Syscalls

These allow intents and agents to be executed natively in the VM, instead of being emulated through ad-hoc off-chain scripts.

6. PoCW: Proof of Constructive Work

A universal metric for agent performance:

PoCW = Q^a · C^-b · R^c · N^d · V^e

Where:

This becomes the economic engine for credit, reputation, and incentives.

7. Security Model

8. Example Execution Flow

User intent:

“Swap 1,000 AIUSD → HETU with max slippage 0.3% within 2 minutes.”

Agent-VM pipeline:

  1. Intent submitted with bond + SLA
  2. Router selects high-reputation trading agent
  3. Agent plans multi-hop DEX route
  4. Fetches prices with attestation proofs
  5. Simulates & validates invariants
  6. Executes swaps deterministically
  7. Produces PoCW proof
  8. Contract settles & updates credit/reputation

This is native intent execution, not a traditional transaction.

9. Developer Experience (DX)

Intent DSL

intent! {

goal: "Swap 1000 AIUSD → HETU",

constraints: [slippage < 0.3%, deadline = now + 120s],

budget: Power(2e6),

bond: 50

}

CLI Examples

agent plan I-abc

agent simulate I-abc

agent prove I-abc

agent commit I-abc

10. Why This Unification Matters

This is the correct architecture for AI-native blockchains.

✅ If you want, I can now produce:

✅ A full 15-page Agent-VM Whitepaper

✅ A complete instruction set specification (ISA v0.1)

✅ A Rust pseudocode skeleton for the VM

✅ A PoC architecture diagram deck

✅ A developer-facing Agent-VM API

Tell me which one you want next.