> For the complete documentation index, see [llms.txt](https://aikaverse.gitbook.io/aikaverse/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aikaverse.gitbook.io/aikaverse/inside-aikaverse/aikas-architecture/conversational-flow.md).

# Conversational Flow

## Conversational Flow: Dynamic and Adaptive Intelligence

Aika’s conversational engine is designed to process and adapt to user inputs in real time, employing a **state-based dialog framework**. The dynamic flow ensures precision while maintaining a natural conversational tone, critical for both user engagement and trust-building.

<figure><img src="https://106389321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwtyo4jQdwpPsFsxt84bp%2Fuploads%2FWXNegBX6OgLDXagBCTT4%2F574f415e-9959-406d-831c-6c0a15d2c6eb.jpeg?alt=media&amp;token=4857d0cc-afa4-48b8-99b6-935c1463b7a1" alt=""><figcaption></figcaption></figure>

### Flow Stages

{% stepper %}
{% step %}
**Intent Parsing**

Converts raw inputs into structured intents using transformer-based NLP models.
{% endstep %}

{% step %}
**Clarification Loop**

Detects ambiguities in user inputs and requests additional details (e.g., chain specification, token amounts) for seamless execution.
{% endstep %}

{% step %}
**Context Preservation**

Maintains conversational continuity with **context-aware state management** to avoid redundant queries.
{% endstep %}

{% step %}
**Feedback and Approval**

Summarizes the transaction for user confirmation, providing a transparent decision-making process.
{% endstep %}
{% endstepper %}

### Advanced Features

* **Multi-Language NLP:** Supports global users by processing natural language commands in multiple languages with equal proficiency.
* **Error Gracefulness:** Communicates system or user errors with actionable suggestions, ensuring smooth user experiences.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aikaverse.gitbook.io/aikaverse/inside-aikaverse/aikas-architecture/conversational-flow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
