Skip to main content

register_runtime

Function
This function is defined in the registry module.
Register a runtime factory with the global registry.

Signature

Parameters

str
required
Unique identifier (e.g., “praisonai”, “claude-code”)
Callable
required
Factory function that returns an AgentRuntimeProtocol instance **metadata: Additional metadata for the runtime

Uses

  • _global_registry.register

Source

View on GitHub

praisonaiagents/runtime/registry.py at line 323