> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shuriken.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an Agent Key

> Pick a preset, name your agent, and you're done in 30 seconds. No code, no server, no monthly fee.

An Agent Key connects your AI tool to your Shuriken account. It controls exactly what the AI is allowed to do  - from reading token prices to executing trades  - and every limit is enforced server-side before the agent ever starts. Pick a preset template and you're done in 30 seconds. Or build a custom key with the exact permissions you need.

Think of it like giving someone a key to your house, except you get to choose which rooms they can enter.

## Create a preset key

Templates are pre-configured keys designed for common use cases. Pick one, give it a name, and you're done in 30 seconds.

<Frame>
  <video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl" src="https://mintcdn.com/shuriken/p5uiEvmn4C8pmfOe/assets/ai-agent/create-agent-key.mp4?fit=max&auto=format&n=p5uiEvmn4C8pmfOe&q=85&s=84c46ba79e247187f1c2a32feda71e6f" data-path="assets/ai-agent/create-agent-key.mp4" />
</Frame>

<Steps>
  <Step title="Open Agent Keys">
    Click your **profile icon** in the top-right corner of the terminal, then select **Agent Keys**.
  </Step>

  <Step title="Click + New Agent">
    This opens the template selection modal.
  </Step>

  <Step title="Choose a template">
    Pick the template that fits your use case (see below for what each one does).
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/agent-key-templates.png?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=209927d23dc77f32bc3135ccd9f12baa" alt="Agent Key template selection showing four options" width="911" height="648" data-path="assets/ai-agent/agent-key-templates.png" />
</Frame>

### Read-only templates

These keys **cannot trade or move funds**. They're safe to experiment with.

<CardGroup cols={2}>
  <Card title="Alpha Scout" icon="radar">
    **Best for:** Monitoring your Discord and Telegram alpha groups through AI.

    **Can do:**

    * See token mentions from your connected groups
    * Look up any token's price, stats, and market data
    * Track which calls are performing best

    **Cannot do:**

    * See your wallet balances
    * Execute any trades
  </Card>

  <Card title="Portfolio Assistant" icon="chart-pie">
    **Best for:** Asking your AI about your holdings, balances, and getting trade quotes.

    **Can do:**

    * View your wallet addresses and balances
    * Check token holdings and profit/loss
    * Look up token prices and stats
    * Get trade quotes (without executing)

    **Cannot do:**

    * Execute any trades
  </Card>
</CardGroup>

### Trading templates

These keys **can move real funds** from your wallet. They come with built-in safety limits.

<Warning>
  Trading keys give the AI permission to buy and sell tokens using your wallet. Only create one if you understand the risks and trust your AI setup.
</Warning>

<CardGroup cols={2}>
  <Card title="Auto-Buyer" icon="cart-shopping">
    **Best for:** Letting the AI buy tokens that match your criteria automatically.

    **Can do:** Everything (wallets, balances, alpha, tokens, quotes, and execution)

    **Default limits:**

    * Max \$50 per trade
    * Max \$500 per day
  </Card>

  <Card title="Sniper Bot" icon="crosshairs">
    **Best for:** Executing on alpha calls instantly as they come in.

    **Can do:** Wallets, balances, tokens, quotes, and execution

    **Default limits:**

    * Max \$25 per trade
    * Max \$250 per day
  </Card>
</CardGroup>

## Set up your template key

<Steps>
  <Step title="Select a template">
    Click the template card that fits your use case.
  </Step>

  <Step title="Name your agent">
    Give it a descriptive name so you can identify it later (e.g., "My Alpha Scout" or "Cursor Trading Bot").

    <Frame>
      <img src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/alpha-scout-setup.png?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=dc30ef5402bf111f68840780ba58dde5" alt="Alpha Scout setup screen with name field" width="521" height="535" data-path="assets/ai-agent/alpha-scout-setup.png" />
    </Frame>
  </Step>

  <Step title="Create the key">
    Click **Create** and your key will be generated instantly.
  </Step>
</Steps>

## Create a custom key

If none of the templates fit, you can build your own key with exactly the permissions you need.

Click **Create a custom agent key with full control** at the bottom of the template modal.

<Frame>
  <video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl" src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/custom-agent-kit-create-key.mp4?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=7acd55d5d19cad2cdc8471725b9040c1" data-path="assets/ai-agent/custom-agent-kit-create-key.mp4" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/custom-key-permissions.png?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=c2ff27a9de986a20192fac13e1b115ee" alt="Custom Agent Key creation showing permission toggles" width="906" height="628" data-path="assets/ai-agent/custom-key-permissions.png" />
</Frame>

<Steps>
  <Step title="Name your key">
    Enter a name for your agent (e.g., "Research Only" or "Cursor Trading Bot").
  </Step>

  <Step title="Select permissions">
    Toggle the permissions your agent needs. See the [Permissions guide](/agent-kit/permissions) for a detailed explanation of each one.

    | Permission         | What it does                                     |
    | ------------------ | ------------------------------------------------ |
    | **Read Wallets**   | View your wallet addresses                       |
    | **Read Balances**  | View token balances and USD values               |
    | **Read Alpha**     | Access token mentions from your Discord/Telegram |
    | **Read Tokens**    | Look up token prices, stats, and market data     |
    | **Get Quotes**     | Create trade plans and get price quotes          |
    | **Execute Trades** | Actually move real funds (buy/sell tokens)       |

    <Note>
      You can always start with fewer permissions and create a new key later with more access. When in doubt, leave **Execute Trades** off.
    </Note>
  </Step>

  <Step title="Set wallet access">
    Choose whether the key can access **all your wallets** or only **specific ones**.
  </Step>

  <Step title="Configure trading limits (if Execute Trades is enabled)">
    When you turn on Execute Trades, additional safety controls appear. See [Permissions & Safety](/agent-kit/permissions) for full details on:

    * Buy/sell limits per day and per trade
    * Max sell size (percentage of a position)
    * Execution rate limits (trades per hour, per day)
    * Max concurrent trades
    * Slippage cap
    * Custom gas fees and MEV protection
  </Step>

  <Step title="Enable Telegram (optional)">
    Scroll down to the **Shuriken AI** section at the bottom of the modal. Check the **Telegram** box to allow this key to be used with [@shuriken\_trade\_bot](https://t.me/shuriken_trade_bot) for natural language trading.

    <Info>
      Enabling Telegram lets you message the Shuriken bot in plain English - "whats trending", "buy 0.1 SOL of BONK", "show my balance" - and it executes within the limits set on this key. See the [Natural Language Trading guide](/agent-kit/nlp-telegram) for setup details.
    </Info>
  </Step>

  <Step title="Create the key">
    Click **Create Key** to generate your Agent Key.
  </Step>
</Steps>

## Copy your key

<Warning>
  **Copy your key immediately.** You will not be able to see it again after closing this screen. If you lose it, you'll need to create a new one.
</Warning>

<Frame>
  <img src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/agent-key-ready.png?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=b24f5e88df445c4d61e277f77868f1c0" alt="Agent Key ready screen showing the key and setup instructions" width="523" height="826" data-path="assets/ai-agent/agent-key-ready.png" />
</Frame>

After creating your key, you'll see:

* **Your Agent Key** - a string starting with `sk_` that you'll paste into your AI tool
* **Setup instructions** - ready-to-copy config snippets for Cursor, Claude Desktop, and other tools

Copy the key and store it somewhere safe. Then head to the setup guide for your AI tool:

<CardGroup cols={2}>
  <Card title="Connect to OpenClaw" icon="paw-claws" href="/agent-kit/connect-openclaw" />

  <Card title="Connect to Cursor" icon="arrow-pointer" href="/agent-kit/connect-cursor" />

  <Card title="Connect to Claude Desktop" icon="message-bot" href="/agent-kit/connect-claude" />

  <Card title="Connect to Windsurf" icon="wind" href="/agent-kit/connect-windsurf" />

  <Card title="Other MCP clients" icon="puzzle-piece" href="/agent-kit/connect-other" />
</CardGroup>

## Managing your keys

You can view, pause, or revoke your Agent Keys at any time from the [Agent Keys dashboard](https://app.shuriken.trade/agents).

* **Pause** - temporarily disable a key without deleting it
* **Revoke** - permanently delete a key (the AI will immediately lose access)

<Tip>
  It's good practice to create separate keys for different purposes. For example, one read-only key for research and a separate trading key with strict limits.
</Tip>

## Monitor your agent's activity

Every action your agent takes is logged in real-time on the Agent Keys dashboard. Click any key in the sidebar to see its activity feed.

<Frame>
  <img src="https://mintcdn.com/shuriken/y5Z0PbncpQjmAmzq/assets/ai-agent/agent-keys-activity.png?fit=max&auto=format&n=y5Z0PbncpQjmAmzq&q=85&s=d60d74d43615ffc06d1df6b6976dc68e" alt="Agent Keys dashboard showing real-time activity log with timestamped actions" width="2553" height="1269" data-path="assets/ai-agent/agent-keys-activity.png" />
</Frame>

The activity log shows:

* **Every tool call** - token lookups, balance checks, alpha queries, and more
* **Trade quotes** - including the token, amount, and estimated value
* **Timestamps** - so you can see exactly when each action happened
* **Status** - whether the key is active, paused, or idle

This gives you full visibility into what your AI is doing with your account. If anything looks off, you can **pause or revoke** the key instantly from the same page.

<Note>
  The activity dashboard is available at [app.shuriken.trade/agents](https://app.shuriken.trade/agents). Bookmark it for quick access.
</Note>
