orka.nodes.base_node module
- class orka.nodes.base_node.BaseNode(node_id, prompt, queue, **kwargs)[source]
Bases:
ABC
Abstract base class for all agent nodes in the OrKa orchestrator. Defines the common interface and properties for agent nodes.
- __init__(node_id, prompt, queue, **kwargs)[source]
Initialize the base node with the given parameters.
- Parameters:
node_id (str) – Unique identifier for the node.
prompt (str) – Prompt or instruction for the node.
queue (list) – Queue of agents or nodes to be processed.
**kwargs – Additional parameters for the node.