> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel.societies.workforce.base

<a id="camel.societies.workforce.base" />

<a id="camel.societies.workforce.base.BaseNode" />

## BaseNode

```python theme={"system"}
class BaseNode(ABC):
```

Base class for all nodes in the workforce.

**Parameters:**

* **description** (str): Description of the node.
* **node\_id** (Optional\[str]): ID of the node. If not provided, it will be generated automatically. (default: :obj:`None`)

<a id="camel.societies.workforce.base.BaseNode.__init__" />

### **init**

```python theme={"system"}
def __init__(self, description: str, node_id: Optional[str] = None):
```

<a id="camel.societies.workforce.base.BaseNode.reset" />

### reset

```python theme={"system"}
def reset(self, *args: Any, **kwargs: Any):
```

Resets the node to its initial state.

<a id="camel.societies.workforce.base.BaseNode.set_channel" />

### set\_channel

```python theme={"system"}
def set_channel(self, channel: TaskChannel):
```

Sets the channel for the node.

<a id="camel.societies.workforce.base.BaseNode.stop" />

### stop

```python theme={"system"}
def stop(self):
```

Stop the node.
