registry
registry
¶
Decorator-based registry for runtime discovery of pluggable components.
Adapted from IPW's src/ipw/core/registry.py. Each typed subclass gets its
own isolated storage so registrations in one registry never leak into another.
Classes¶
RegistryBase
¶
Bases: Generic[T]
Generic registry base class with class-specific entry isolation.
Functions¶
register
classmethod
¶
Decorator that registers entry under key.
Source code in src/openjarvis/core/registry.py
register_value
classmethod
¶
Imperatively register a value under key.
Source code in src/openjarvis/core/registry.py
get
classmethod
¶
Retrieve the entry for key, raising KeyError if missing.
Source code in src/openjarvis/core/registry.py
create
classmethod
¶
Look up key and instantiate it with the given arguments.
Source code in src/openjarvis/core/registry.py
items
classmethod
¶
keys
classmethod
¶
contains
classmethod
¶
ModelRegistry
¶
EngineRegistry
¶
MemoryRegistry
¶
AgentRegistry
¶
ToolRegistry
¶
RouterPolicyRegistry
¶
BenchmarkRegistry
¶
ChannelRegistry
¶
LearningRegistry
¶
SkillRegistry
¶
SpeechRegistry
¶
CompressionRegistry
¶
TTSRegistry
¶
ConnectorRegistry
¶
MinerRegistry
¶
Bases: RegistryBase[Any]
Registry for Pearl mining provider implementations.
Each provider implements the MiningProvider ABC defined in
openjarvis.mining._stubs. Registry keys are short lowercase strings
such as "vllm-pearl" (CUDA + Hopper) and (future) "mlx-pearl",
"llamacpp-pearl-metal", "ollama-pearl".