How do you set up an AI agent to trade tokenized stocks? a five-minute guide
Install a terminal agent, paste one prompt, fund a wallet with USDC. Your agent can then buy and sell 2,000+ tokenized stocks.

Everything your AI agent needs to trade real stocks onchain. This guide gets you set up in under five minutes.
First, You'll need a Terminal Agent instead of a chatbot
Treasures works through terminal agents. AI coding assistants that run in your terminal or IDE and can execute commands, call APIs, and manage files on your behalf.
You need one of these installed. Here's the match:

Once your agent is installed and running, the rest of this setup is a single prompt.
Step 1: Install your agent
Pick one from the table above and get it running in your terminal.
Step 2: Install the Treasures skills and create your wallet
Open your terminal agent and send it this prompt. Copy and paste it exactly:
Install the Treasures Finance skills via npx skills add treasures-io/treasures-finance-agent-skills, then create a new Treasures wallet for me and send me the sign-up link to complete it.
Your agent will:
- Run npx skills add to pull down the Treasures skill set
- Call the Treasures API to initialize your wallet
- Return a sign-up link
Click the link, log in, and approve trading in your browser.
Step 3: Fund your wallet
Your Treasures wallet has two addresses: one on Solana, one on Ethereum. Send USDC to either (or both) to fund your trading balance.You'll also need a small amount of native gas:
- SOL for Solana transactions (0.02 SOL recommended)
- ETH for Ethereum approvals (0.01 ETH recommended)
View your wallet addresses and balances at any time: treasures.io/wallet
Step 4: Ask your agent for a stock pick
Ask your agent:
From the Treasures stock list, recommend me a stock to consider buying.
Then:
Find me the best routes to buy it.
Once you're happy with the route, tell it to execute:Buy $10 of that stock. Once done, show me my portfolio holdings.
Your agent will browse nearly 500 available tickers and return a pick with its reasoning. What you do next is up to you.
Not financial advice. Do your own research before trading.
What's next
Your agent can now:
- Buy and sell any of ~1000 tokenized stocks across 5 different issuers across 5 chains
- Read your live portfolio and trade history
- Act on your behalf without you touching a dashboard
Five minutes ago you had nothing. Now you have an AI agent that can trade stocks, read your portfolio, and act without you touching a dashboard.
Welcome to your new agentic hedge fund. Powered by Treasures
About Treasures
Treasures is a Neobrokerage-as-a-Service solution built on tokenized stocks, powering stock trading in neobanks, AI agent ecosystems and hedge funds. Our SmartRoute aggregator routes across all of the leading issuers and blockchains to offer the deepest catalog in the market, with over 2,000 tokenized stocks available today. Our Copytrade and Signals products surface alpha from well-known market participants - allowing both our users and integrators to access high-quality asset curation. Over the next few weeks, we will be launching Onchain SMAs, our flagship institutional B2B offering connecting traditional asset managers with corporate clients onchain. With a single integration to the Treasures API or Agent Skill, partners can now launch full-fledged neobrokerage services in just a matter of hours.
Trade at app.treasures.io: https://app.treasures.io
Build with the Treasures API: https://docs.treasures.io
Follow Treasures on X: https://x.com/treasures_io