How to use AI agents to buy tokenized stocks with Treasures Finance

How to use AI agents to buy tokenized stocks with Treasures Finance

What you can buy, how the wallet and chain fit together, and how to make a first trade.

TL;DR: Create a Starchild agent, install the Treasures Finance skill, fund its wallet with USDC on the chain your chosen asset supports, then ask the agent to find, quote, and prepare an eligible tokenized-stock trade. You approve the action and verify the resulting holding.

Buying a tokenized stock usually involves several disconnected tasks: finding an available asset, checking eligibility, moving USDC to the right chain, getting a quote, signing a transaction, and confirming the result. A Starchild agent brings those steps into one workflow while keeping the wallet and approval rules visible.

This guide focuses on the practical path to a first trade through Treasures Finance. Product availability depends on the issuer, chain, wallet, jurisdiction, KYC status, and transfer rules. Check eligibility before you fund or trade.

What can you buy through Treasures Finance?

Treasures Finance provides access to tokenized equities from issuers such as xStocks and Ondo, with supported products traded against USDC on Solana or Ethereum. The exact catalogue changes, so the agent should query the live list before making a recommendation.

The main asset categories are:

The token is an onchain representation governed by the issuer's structure. It does not make every conventional stock market feature available automatically. Trading hours, redemption, corporate actions, liquidity, fees, and legal rights depend on the specific product.

Treasures uses USDC as the settlement asset for the supported stock routes. That makes your starting balance and destination chain important. Having USDC in a wallet is not enough if it sits on a chain the selected trade cannot use.

Step 1: Create an agent on Starchild

Create an agent on Starchild, give it a useful name, and connect the wallet you want to use for the workflow. Starchild's Privy-powered Agent Wallet lets the user retain control of the wallet while the agent coordinates approved onchain actions.

Read the Starchild Agent Wallet guide for the wallet model.

Step 2: Install the Treasures Finance skill

Open the Skills area in Starchild and install the Treasures Finance skill. The skill gives the agent the workflow for:

The skill supports two integration patterns. With the default B2B API flow, your Privy or EOA wallet remains the signing authority. A separate delegated-wallet flow uses a Treasures-provisioned wallet with a narrowly scoped API key. Use the model that matches where your assets live and the permissions you have explicitly approved.

The agent should begin with discovery. Ask it to list the eligible products, issuer, chain, current quote availability, and the USDC balance it can use. That gives you a current asset list instead of relying on an old example or ticker.

Step 3: Fund the wallet on the right chain

Ask the agent which chain supports the asset you want before moving funds. Treasures supports tokenized-equity routes on Solana and Ethereum, but each product and wallet route can have its own requirements.

Fund the destination wallet with:

You have two options:

Fund the destination chain directly

Send or deposit USDC to the wallet on the chain selected for the trade. This is the simplest route when you already hold funds there. Confirm the destination address, chain, token, and amount before sending.

Bridge USDC first

If your USDC is on another supported chain, ask the agent to prepare a separate bridge quote. Review the expected output, fees, destination chain, and wallet address. Approve the bridge, then verify the destination balance before requesting the stock quote.

Keep bridging separate from the stock purchase. It gives you a clean checkpoint and prevents an unexpected funding action from being bundled into a trade.

Step 4: Tell the agent what to buy, or use it for research

If you already know what you want, tell the agent the exact asset and amount. For example:

Buy 1 SPCX stock using the Treasures skill.

The agent can then help check whether that asset is available to your wallet, whether you are eligible to buy it, and whether the wallet has enough USDC on the required chain. You can make the instruction more specific by adding a maximum budget, a slippage limit, or a requirement to ask for approval before submitting the trade.

If you do not know what to buy yet, use the agent as a research tool first. It can help identify:

Start with a research question, compare the results, and decide what fits your own goals and risk limits. The agent can organize the information and check live availability, while the final investment decision remains yours.

Treasures' read endpoints can return stock, portfolio, and trade information. The catalogue is the source of truth for what is available now.

What the agent can do after the first trade

Once the first purchase is verified, the same agent can provide a read-only portfolio view, monitor balances, compare exposure with your allocation rules, and alert you when a product or wallet state needs attention.

You can later add scheduled reconciliation or a repeatable allocation strategy. Add one permission at a time. Read, quote, sign, submit, and verify should remain separate stages that you can inspect and pause.

Start with one visible, bounded workflow. Let the agent discover the live catalogue, prepare a small quote, wait for approval, and prove the final portfolio state before adding more automation.

Build your first tokenized-stock workflow

Treasures Finance supplies the asset and execution layer. Starchild supplies the agent context, wallet controls, skills, and verification loop around it.

Start here:

  1. Create your Starchild agent.
  2. Install the Treasures Finance skill.
  3. Decide what you want to buy, or ask the agent to research eligible assets.
  4. Fund the wallet with USDC on the selected chain, then tell the agent the asset and amount.

Create your agent on Starchild and build a tokenized-asset workflow around the products, policies, and approval boundaries you actually want to run.

Sources

This article is educational content about agent workflows and tokenized assets. It is not investment, legal, tax, or eligibility advice. Product availability, issuer requirements, and supported routes can change.