# Explore the chat agent · GOAT chat agent for native Chromia transactions · Learn Chromia

> You will start the chat agent and work with it from a browser. It accepts natural-language requests, so you can manage Chromia accounts and try out…

Source: https://chromia.com/learn/chromia-goat-chat-agent/explore-agent/

GOAT chat agent for native Chromia transactionsLesson 3 of 4

1. [01An AI chat agent that sends Chromia transactions](https://chromia.com/learn/chromia-goat-chat-agent/introduction/)
2. [02Set up your project](https://chromia.com/learn/chromia-goat-chat-agent/setup/)
3. [03Explore the chat agent](https://chromia.com/learn/chromia-goat-chat-agent/explore-agent/)
4. [04Code walkthrough](https://chromia.com/learn/chromia-goat-chat-agent/codebase-overview/)

[Learn](https://chromia.com/learn/)[GOAT chat agent for native Chromia transactions](https://chromia.com/learn/chromia-goat-chat-agent/)

03 / 04Advanced

# Explore the chat agent

You will start the chat agent and work with it from a browser. It accepts natural-language requests, so you can manage Chromia accounts and try out blockchain operations without writing code.

## Steps to run the agent

1. **Start the development server**: From your project directory, run:

   bash

   ```nolines
   npm run dev
   ```

   Open the URL the server prints (for example, `http://localhost:3000`) in your browser.
2. **Connect MetaMask**: At the prompt, use MetaMask to connect an **EVM account**. That account must be linked to a Chromia account that holds **tCHR**.

   tip

   You can find your Chromia account address by connecting MetaMask to the Economy Chain in Vault: [Vault - Chromia Economy Chain](https://vault.testnet.chromia.com/dapps/dapp/?dapp=1-Chromia+Economy+Chain).

## Use the chat agent

The agent understands requests for several blockchain operations. Try the examples below.

### **Check your balance**

Send the agent this request:

plaintext

```nolines
What is my balance?
```

It responds with the **tCHR balance** of the connected Chromia account.

### **Transfer tCHR tokens**

To move **tCHR tokens** to a different Chromia account, enter:

plaintext

```nolines
Transfer [amount] to <your-second-chromia-account>
```

First, the agent asks you to confirm the transfer details. Next, MetaMask prompts you to sign the transfer. After you sign, the agent submits the transaction and returns a Chromia Explorer link where you can verify it.

### **Verify updated balances**

Check your own balance after the transfer with:

plaintext

```nolines
What is my balance now?
```

To see the recipient's balance, enter:

plaintext

```nolines
What is the balance of <your-second-chromia-account>?
```

### **Get real-time CHR price**

Ask for the current CHR price like this:

plaintext

```nolines
What is the price of CHR?
```

### **Transfer a dollar-equivalent amount**

To send CHR tokens matching a given USD value, enter:

plaintext

```nolines
Transfer 10 dollars' worth of CHR to <your-second-chromia-account>
```

The agent converts the USD amount to CHR using the current price. Confirm the transfer, then sign the message in MetaMask to finish the transaction.



## Experiment and explore

Go beyond the examples: query balances of other Chromia accounts, check token price trends, or start transfers with different amounts or currencies. Trying varied requests shows you what the agent can do and where you might customize it.

Written for this site from Chromia’s public course. Code samples are the course’s own.

[← Previous**Set up your project**](https://chromia.com/learn/chromia-goat-chat-agent/setup/)[Next →**Code walkthrough**](https://chromia.com/learn/chromia-goat-chat-agent/codebase-overview/)

On this page

* [Steps to run the agent](#steps-to-run-the-agent)
* [Use the chat agent](#use-the-chat-agent)
* [Experiment and explore](#experiment-and-explore)
