agentic_fabric.agentic_data

Agent runtime facade over the vendor and data layers.

Module Contents

Classes

AgenticData

VendorData extension with active runtime and fabric agent registry context.

API

class agentic_fabric.agentic_data.AgenticData(value: Any = None, *, fabric: Any | None = None, fabric_agents: collections.abc.Mapping[str, collections.abc.Mapping[str, Any]] | None = None, logger: Any | None = None, active_runtime: str | None = None, **fabric_kwargs: Any)

Bases: vendor_fabric.vendor_data.VendorData

VendorData extension with active runtime and fabric agent registry context.

Initialization

Initialize data, registered fabric agents, and optional active runtime.

runtime_priority: ClassVar[tuple[str, ...]] = 'tuple(...)'
property fabric_agents: collections.abc.Mapping[str, collections.abc.Mapping[str, Any]]

Return registered fabric agent definitions.

property active_runtime: str | None

Return the active runtime name, when one has been selected.

property vendor_fabric_available: bool

Return whether this import is backed by a real VendorData class.

cast(value: Any) agentic_fabric.agentic_data.AgenticData

Mutate the wrapped data while preserving runtime context.

register_fabric_agent(name: str, fabric_agent_config: collections.abc.Mapping[str, Any]) agentic_fabric.agentic_data.AgenticData

Register a named fabric agent config for run_fabric_agent lookup.

unregister_fabric_agent(name: str) agentic_fabric.agentic_data.AgenticData

Remove a named fabric agent config if it exists.

use_runtime(runtime: str, *, strict: bool = True) agentic_fabric.agentic_data.AgenticData

Select the active runtime for future agent calls.

clear_runtime() agentic_fabric.agentic_data.AgenticData

Clear the active runtime selection.

runtimes() list[dict[str, Any]]

Return runtime registry metadata with availability.

runtime_info(runtime: str | None = None) list[dict[str, Any]] | dict[str, Any]

Return runtime metadata with current availability.

is_runtime_available(runtime: str) bool

Return whether a runtime is importable in the current environment.

select_runtime(runtime: str | None = None, *, fabric_agent_config: collections.abc.Mapping[str, Any] | None = None) str

Select a runtime using explicit, active, manifest, then auto priority.

run_fabric_agent(fabric_agent: str | collections.abc.Mapping[str, Any], inputs: collections.abc.Mapping[str, Any] | None = None, *, runtime: str | None = None, **input_kwargs: Any) str

Run a registered fabric agent by name or a direct fabric agent config.

call_runtime(capability: str, *args: Any, runtime: str | None = None, **kwargs: Any) Any

Call a declared capability on a selected runtime runner.

vendor_tools(provider: str | None = None, *, include_unavailable: bool = True) list[Any]

Return agent-facing tools built from inherited vendor capabilities.

property value: Any
property active_provider: str | None
as_builtin() Any
open(provider_id: str, *, strict: bool = True, **_: Any) agentic_fabric.agentic_data._VendorDataBase
call(operation: str, *_: Any, **__: Any) Any
capabilities(provider: str | None = None, *, include_unavailable: bool = True) list[Any]