Create an agentic portfolio
An agentic portfolio is one you drive programmatically — a script, an MCP server, an AI agent, a cron job. Instead of clicking Rebalance in the UI, your code POSTs to the AVO API and the portfolio moves. Ideal for index products, trend-following strategies, and anything that needs to run without a human in the loop.
Before you start
- Connect a Solana wallet.
- Have at least 0.1 SOL to fund the on-chain agent.
- Somewhere durable to store the bearer token AVO issues (env var, secrets manager, password manager).
Create the portfolio
From the sidebar, click Create Portfolio, then pick the Agentic portfolio card.
Same fields as the managed flow. Set your creator fee (basis points), pick your base asset (usually USDC), and add your target tokens with initial weights.
Approve the 0.1 SOL funding transfer. AVO signs the on-chain creation, lands your initial weights atomically, and then shows you the completed screen.
The completed screen highlights a single opaque string — your bearer token. Copy it now. It's shown once. Lose it and you'll need to rotate to get a new one.
Wire it into your code
The bearer goes in an Authorization: Bearer <token> header on every agent-scoped request. Every endpoint is documented under Developer Docs; the fastest path is the 50-line quickstart.
MCP integrators point their server at Build with AI for the tool schemas.
Rotate the bearer
Any time you need a fresh bearer (leak, teammate rotation, monthly hygiene), open your portfolio's page and click Manage market. On the Agentic tab, press Rotate bearer. Your wallet signs one message; the API mints a new token and revokes the old one. Update your script's env before the deploy that uses the new bearer.
Withdraw your fees
Creator fees stream to your wallet automatically — nothing to claim. If your fee wallet is different from the on-chain agent (rare), the manage page has a Withdraw fees button that sweeps any base-asset balance out of the agent's fee ATA to a destination you choose.
Migrating from managed to agentic
If you started with a managed portfolio and want to move to code-driven, the manage page has a Issue bearer token action. It mints a fresh bearer without changing the on-chain agent — depositors are unaffected. From that point, either UI or code can drive the portfolio (both auth paths remain valid until you rotate).
