# Agent Wallets

Trading without wallet popups for every order.

## The Problem

Traditional DeFi requires signing every single order:

1. Click "Buy BTC"
2. MetaMask popup
3. Review and approve
4. Repeat 50-100 times per day

Not practical for active trading.

## Agent Wallet Solution

**One-time authorization:**

1. Authorize agent wallet once
2. Agent signs orders on your behalf
3. No more popups

You retain full control. Revoke access anytime.

## How It Works

**Authorization:**

* Sign one message authorizing the agent wallet
* Agent can now sign orders for you
* Your wallet retains fund control

**Trading:**

* Click "Buy" or "Sell"
* Order signed automatically (no popup)
* Executes on Hyperliquid

## What You Control

**Full Control:**

* Your private key (never shared)
* Authorization (revoke anytime)
* Funds (always in your account)
* Positions

**Agent Can:**

* Sign trading orders only
* Only while authorized by you

**Agent Cannot:**

* Withdraw funds
* Transfer assets
* Trade after you revoke access

## Revoking Agent Authorization

### When to Revoke

**Consider revoking if:**

* You're done using Atract
* You suspect security compromise
* You want to pause all automated trading
* You're switching to a new account

### How to Revoke

**Via Hyperliquid UI:**

1. Go to Hyperliquid dashboard
2. Navigate to "Agent Wallets" or "Authorizations"
3. Find Atract's agent wallet address
4. Click "Revoke"
5. Sign the revoke message

**Effect:**

* All future trade attempts fail
* Agent can no longer sign on your behalf
* Existing orders remain active (cancel manually if needed)

**To resume trading on Atract:**

* Re-authorize the agent wallet (new authorization flow)

## Vault Trading

Same agent mechanism applies to vault trading.

**Personal vs Vault:**

* Personal: Agent signs for your wallet
* Vault: Agent signs for vault wallet

Risk limits enforced automatically.

## FAQ

**Is my personal wallet at risk if Atract is hacked?** For personal trading, the agent can only sign trades, not withdrawals. Revoke access immediately if concerned.

**What if I lose my wallet?** Recover via your wallet provider (seed phrase).

**Is this like giving Atract my private key?** No. Your private key stays with you. Agent is a separate wallet with limited permissions for trading.

**Can I trade without agent authorization?** Not currently. Agent wallets are required for Atract's interface.

## Next Steps

* [Placing Orders](/trading/placing-orders.md) - Start trading with agent wallet
* [Risk Controls](/trading/risk-controls.md) - Understanding risk management
* [For Traders](/getting-started/for-traders.md)


---

# 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.atract.app/trading/agent-wallets.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.
