Asset Core Docs

Deterministic world-state engine documentation and API references.

Decision Gate docs

assetcore_read_stream

AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Stream committed batches over SSE starting at a world sequence for incremental replay.

Details

AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Stream committed batches over SSE starting at a world sequence for incremental replay.

Opens /v1/read/namespaces/{namespace_id}/stream to emit StreamEntry events over SSE. Parameters: from_world_seq (inclusive), limit (max events before close), optional last-event-id header for resume, and optional x-assetcore-min-world-seq for read-your-writes gating. Each event wraps replay entry metadata plus freshness and correlation ids. Use the last_event_id to resume deterministically after reconnect.

Protocols

  • MCP
  • OpenAI
  • Gemini

Input Schema

{
  "properties": {
    "from_world_seq": {
      "description": "Optional world sequence to begin streaming from (inclusive).",
      "minimum": 0,
      "type": "integer"
    },
    "last_event_id": {
      "description": "Optional SSE Last-Event-Id header value for resume.",
      "minimum": 1,
      "type": "integer"
    },
    "limit": {
      "description": "Maximum number of stream entries to return before closing.",
      "maximum": 10000,
      "minimum": 1,
      "type": "integer"
    },
    "min_world_seq": {
      "description": "Optional minimum world sequence for read-your-writes gating.",
      "minimum": 0,
      "type": "integer"
    },
    "namespace_id": {
      "description": "Required namespace identifier for all namespaced operations.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "limit",
    "namespace_id"
  ],
  "type": "object"
}

Examples

No examples are currently available for this tool.