# Using the Chat Interface

### Starting a Conversation

1. **Open a new chat:** From the left sidebar in Gemach AI, click **New Chat**. A blank conversation window will appear with the currently selected AI assistant shown in the header.
2. **Describe your request:** Type your question or instruction in natural language. For example, you can ask the AI to swap tokens, bridge assets, query rates, or open a lending position.
3. **Review the confirmation:** Before any transaction is executed, the AI will summarise your request and display the chain, protocol, estimated costs and tokens involved. Confirm or cancel the action as needed.

#### Example prompts

* "Swap 100 USDC for ETH on Arbitrum"
* "Bridge 0.5 ETH from Optimism to Sui"
* "What’s the best staking rate for USDC right now?"
* "Show me the balance of all tokens across my connected wallets"

### Understanding AI Responses

Gemach AI responses typically include:

1. **Confirmation of intent:** The AI restates what you intend to do and asks for confirmation before proceeding.
2. **Action details:** Specific information about the protocol, chain and trade parameters.
3. **Transaction preview:** For on‑chain actions, you’ll see estimated costs, expected outputs and any approvals required.
4. **Next steps:** Instructions on how to proceed, such as signing a transaction in your wallet or switching networks.

### Chat History and Management

* **View past conversations:** Click **Chat History** in the sidebar to see a list of your threads. Tabs at the top let you filter between **All Threads** and **Favorites**.
* **Rename or delete:** Hover over a conversation in the history list to rename it for easier recall or delete it if it’s no longer needed.
* **Resume a chat:** Select any thread to reopen it and continue the conversation with the AI. The system remembers context within each thread.
* **Start new chat:** Use the **Start New Chat** button on the Chat History page to begin a fresh conversation.

Gemach AI keeps your interactions organised so you can easily revisit past questions, track on‑chain activity and continue complex workflows over multiple sessions.


---

# Agent Instructions: 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:

```
GET https://docs.gemach.io/gemach-dao/products/gemach-ai/using-the-chat-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
