Skip to main content

register

Method
This is a method of the RuntimeRegistryProtocol class in the registry module.
Register a runtime with the registry.

Signature

Parameters

str
required
Unique runtime identifier (e.g., “claude-code”)
Any
required
Runtime factory function or instance **metadata: Additional metadata for the runtime

Exceptions

If runtime_id is already registered
If factory_or_instance is not callable or valid instance

Used By

Source

View on GitHub

praisonaiagents/runtime/registry.py at line 46