Module asset_agent

Source
Expand description

Acts as the [A]gent for the asset subsystem, fulfilling the role of an ISA.

This module provides the high-level, tactical logic for asset management in Khora. It is the public-facing API for requesting assets and querying their state, but it delegates the actual, heavy-lifting work of loading to the asset_lane.

As an Intelligent Subsystem Agent (ISA), its future responsibilities will include:

  • Reporting its own resource usage (e.g., memory, I/O bandwidth) to the DCC.
  • Managing multiple loading strategies (e.g., synchronous vs. asynchronous, high-quality vs. low-quality) and selecting one based on the budget allocated by GORNA.

The primary entry point for users is the AssetServer resource, which orchestrates the asset loading lifecycle.

Modulesยง

agent
The AssetAgent is responsible for managing asset loading and retrieval.
loader
A registry for asset loaders, enabling dynamic loading of different asset types by name.