> ## Documentation Index
> Fetch the complete documentation index at: https://aidflow.aigensys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ProjectContext.genesis

**def ProjectContext.genesis**(self, theme=None, kind='v', \*\*kwargs) [\[source\]](https://github.com/aigensys-labs/aidflow/blob/main/AID/\TRUENAS\aig_modeling_Products\AID\1_0_Lib\AID\ctx\project.py#L217)

Initializes the gateway layer parameters.

In the UI mode, this launches the `ProjectGenesis` web panel to handle
initial data loading or model selection. In script mode, it simply
captures the provided `kwargs` for later use.

#### Parameters

**`theme`** : *`str`*
Custom theme name for the UI. Defaults to `self.theme`.

**`kind`** : *`(v, h)`*
Layout orientation for the gateway: 'v' for vertical, 'h' for horizontal.

**`**kwargs`** : *`dict`*
Configuration arguments passed in a script mode.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.