> For the complete documentation index, see [llms.txt](https://archai.gitbook.io/archai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archai.gitbook.io/archai/create-your-own-ai/chaingraph-setup.md).

# Chaingraph setup

### Basic setup

Currently, there are 2 options on how to configure your agent, the easy one and the one that requires some scrupulousness and tech knowledge.&#x20;

<figure><img src="/files/AFW291D4GhiGTxdQlw76" alt="" width="563"><figcaption></figcaption></figure>

For **the easy way** you can choose `Simple Talker with Telegram Bot v1` ,  just click *Apply* and continue to the [next step](/archai/create-your-own-ai/ai-configuration.md).

### Advanced setup

If you feel **tech-savy**, choose `Start From Scratch` option or start editing the Simple Talker one by clicking edit; and experience a whole new level of AI Agent development.

<figure><img src="/files/VIdDAbHVGF3Jrmwoin2b" alt="" width="563"><figcaption></figcaption></figure>

With our set of nodes that include basic math functions, telegram and X integrations, LLM calls, DB interactions, webhooks, blockchain transactions module and other features, you may upgrade your custom agent to perform intricated tasks and workflows across different domains.&#x20;

***

### How to edit chaingraph

#### Control elements

There are 4 buttons on the right of the workboard.&#x20;

<figure><img src="/files/bkFj2R0nbENm1xWKZeUR" alt="" width="563"><figcaption></figcaption></figure>

`Presets` will get you back to chaingraph presets selection.

`Clear` removes everything and lets you start from scratch.

`Restore` button will revert your chaingraph to the last saved checkpoint.&#x20;

`Save` makes sure you do not lose progress. You should press it to apply changes.

#### Nodes

On the workbord you can see connected blocks – nodes.&#x20;

<figure><img src="/files/3DAdpVRqGqGEoF4p59sf" alt="" width="563"><figcaption></figcaption></figure>

Nodes are where the actual work happens - they process data, make decisions, interact with external systems, and orchestrate AI behaviors. Think of nodes as building blocks or workers, each with specific skills and responsibilities.

All available nodes are on the left side of the board. Drag and drop them to the working area.

<figure><img src="/files/y8hpt8fqZ3TMtDmbI2G6" alt="" width="563"><figcaption></figcaption></figure>

Nodes may have inputs and outputs. Each input output is represented by data of a certain type. You can only connect similar types of data. To make it easier, they have differently colored bullets. Hover over a bullet to learn data type.

<figure><img src="/files/w0jCvSkClIL095XYikit" alt="" width="563"><figcaption></figcaption></figure>

| Bullet color | Data type |
| ------------ | --------- |
| 🔴 Red       | String    |
| 🟢 Green     | Boolean   |
| 🔵 Blue      | Number    |
| 🟣 Purple    | Object    |
| 🟡 Yellow    | Enum      |
| 🟠 Orange    | Stream    |

***

...

This guide is being updated.

Refer to the [documentation](https://github.com/badaitech/badai-docs/blob/main/docs/03_chain_graph/nodes.md) to learn more about node types and capabilities.
