A standardised JSON-LD 1.1 encoding surface (S1–S11) that exposes agent state, credentials, events, and work metadata in a queryable, linkable format, enabling federated consumption by heterogeneous external systems (monitoring dashboards, compliance audits, blockchain oracles, knowledge grap…

Semantic Classification

Content

VisionClaw agents emit state through eleven standardised JSON-LD 1.1 surfaces. Each surface exposes a specific aspect of agent lifecycle and state in a common semantic format. This design allows external systems to integrate agent data without custom API clients.

Surface Inventory

S1: Pod Index Enumerates available Solid pods and their metadata. An agent may have multiple pods (personal, shared, organisational), each with its own URI, access control rules, and available quota.

{
  "@context": "https://visionclaw.dreamlab-ai.systems/ns/v1",
  "@type": "ldp:Container",
  "@id": "urn:visionclaw:pod:0abc...ef:sha256-12-deadbeef",
  "ldp:contains": [
    { "@id": "urn:visionclaw:pod:0abc...ef:sha256-12-aaa111", "label": "Personal" },
    { "@id": "urn:visionclaw:pod:0abc...ef:sha256-12-bbb222", "label": "Shared Team" }
  ]
}

S3: Verifiable Credentials Issues W3C VC 2.0 credentials signed by the agent’s did:nostr DID. Credentials attest to work completed, capabilities claimed, or attestations from other agents.

{
  "@context": ["https://www.w3.org/2018/credentials/v1", "https://visionclaw.dreamlab-ai.systems/ns/v1"],
  "type": ["VerifiableCredential", "vcw:AgentWorkCredential"],
  "issuer": "did:nostr:0abc...ef",
  "credentialSubject": {
    "id": "did:nostr:0123...ab",
    "taskId": "urn:visionclaw:bead:0123...ab:task-42",
    "completionTime": "2026-04-26T12:34:56Z",
    "result": "success"
  },
  "proof": {
    "type": "SchnorrSignature2025",
    "verificationMethod": "did:nostr:0abc...ef#key-0",
    "signatureValue": "<JCS-canonicalised Schnorr sig>"
  }
}

S6: Agent Events Real-time telemetry stream emitted via WebSocket, recording agent lifecycle events: birth (instantiation), startup, activity (work assignment), completion, errors, and termination. External monitoring systems subscribe to this stream to track fleet health.

{
  "@context": "https://visionclaw.dreamlab-ai.systems/ns/v1",
  "@type": "as:Event",
  "@id": "urn:visionclaw:event:0abc...ef:sha256-12-eee333",
  "actor": "did:nostr:0abc...ef",
  "object": "urn:visionclaw:bead:0abc...ef:task-99",
  "eventType": "completion",
  "timestamp": "2026-04-26T12:34:57Z",
  "result": { "status": "success", "duration": 2340 }
}

S9: Memory Snapshots Periodic snapshots of agent memory state (episodic memories, learned patterns, state vectors) encoded as JSON-LD. Enables analysis of how agents’ internal state evolves, and allows agents to migrate state to new instances.

{
  "@context": "https://visionclaw.dreamlab-ai.systems/ns/v1",
  "@type": "vcw:MemorySnapshot",
  "@id": "urn:visionclaw:activity:0abc...ef:sha256-12-fff444",
  "agent": "did:nostr:0abc...ef",
  "timestamp": "2026-04-26T12:35:00Z",
  "memory": {
    "recentTasks": [
      { "taskId": "task-99", "duration": 2340, "outcome": "success" }
    ],
    "learnedPatterns": [
      { "pattern": "urn:visionclaw:pattern:classify-docs", "confidence": 0.92 }
    ]
  }
}

S11: Bead Catalogue Index of work units (beads) and their status (pending, in-progress, completed, failed). External systems (task schedulers, compliance auditors) query this surface to understand fleet workload.

{
  "@context": "https://visionclaw.dreamlab-ai.systems/ns/v1",
  "@type": "ldp:Container",
  "@id": "urn:visionclaw:bead:0abc...ef:",
  "ldp:contains": [
    {
      "@id": "urn:visionclaw:bead:0abc...ef:task-99",
      "status": "completed",
      "assignedAgent": "did:nostr:0abc...ef",
      "createdTime": "2026-04-26T12:30:00Z",
      "completedTime": "2026-04-26T12:34:57Z"
    }
  ]
}

Design Principles

  1. Content-Addressed URIs: Every object in every surface has a urn:visionclaw:… URI. External systems follow URIs to discover related data without hardcoding paths.

  2. Immutable Contexts: Each surface references pinned JSON-LD contexts (https://visionclaw.dreamlab-ai.systems/ns/v1) that never change. Consumers can safely cache contexts without fear of breaking semantics.

  3. Queryable: All surfaces are exposed via HTTP endpoints (/v1/agent/<agent-id>/surface/<surface-name>). External systems use SPARQL or link-following to extract insight.

  4. Linkable: Cross-references between surfaces use @id links. A credential references a bead by URI; a memory snapshot references patterns by URI. This enables graph traversal.

  5. Decoupled from Agent Code: Surfaces are emitted by a separate encoder, not by agent logic. Agent logic never needs to know about JSON-LD semantics.

Federation in Practice

A typical federation workflow:

  1. A compliance audit system queries GET /v1/agent/did%3Anostr%3A0abc.../surface/credentials and receives all credentials issued by the agent, along with Schnorr signatures.
  2. The audit system verifies each credential’s signature using the agent’s public key.
  3. For any suspicious credential, the audit system follows the @id link to retrieve the referenced bead (urn:visionclaw:bead:...), discovering what work was actually done.
  4. The audit system then queries the agent events surface to confirm the agent was online and active at that time.

This entire process occurs without the agent needing to expose a custom audit API; the agent’s surfaces are generic.

Blockchain Oracle Integration

Smart contracts can also consume federation surfaces:

  1. A smart contract needs attestation that an agent completed a specific task.
  2. The contract’s oracle queries the agent’s credentials surface for a credential matching that task URI.
  3. The oracle verifies the credential’s Schnorr signature against the agent’s public key (derived from its did:nostr).
  4. If valid, the oracle calls the smart contract with the credential as proof.

This pattern eliminates the need for centralised oracle operators; anyone can verify agent claims independently.

Provenance