Interacting With Agents
Follow the steps below to test and interact with trading agents using predefined commands via the Agent Chat interface.
Navigation
Select the
Agents
tab from the top Navbar to access the Agent Chat interface.You will see an input box where you can interact directly with the Agent.

# Steps to Test the Agent
Navigate to the Agent section

In the chat input box, enter the query for one of the supported commands listed below:
Deposit
Withdraw Assets
Close Position
Open Position
Provide the appropriate parameters for the command you're testing.
# Supported Commands and Parameters
Deposit
Command: I want to Deposit 100 USDC on Avalance Fuji Required Parameters:
export type DepositParams = {
collateral?: number;
payToken?: string;
chainName: string;
};
Example:
{
"collateral": 100,
"payToken": "USDC",
"chainName": "Avalanche Fuji"
}
Withdraw Assets
Command: I want to withdraw 100 USDC on Avalance Fuji Required Parameters:
export type WithdrawParams = {
withdrawAmount: string | null;
};
Example:
{
"withdrawAmount": "100"
}
Close Position
Command: I want to close my position on ETH perp Required Parameters:
export type ClosePositionParams = {
perpName: string | null;
};
Example:
{
"perpName": "ETH/USD"
}
Open Position
Command: I want to open a long position on ETH perp with 100 usdc with 3x leverage Required Parameters:
export type PositionParams = {
perpName?: string;
leverage?: number;
collateral?: number;
positionType?: "long" | "short";
};
Example:
{
"perpName": "ETH/USD",
"leverage": 5,
"collateral": 100,
"positionType": "long",
}
Last updated