Home
/
Research
/
How to Connect your AI agent to Portfolio Lab
Guide

How to Connect your AI agent to Portfolio Lab

Your favorite AI agent can trade for you. Connect Claude, ChatGPT, or any agent to Portfolio Lab and let it run your investment strategies.

The Portfolio Lab Research Team

Updated 

July 17, 2026

contents

Agentic trading means letting an AI agent place your trades for you. This guide shows you how to connect your AI agent, like Claude or ChatGPT, to Portfolio Lab so it can trade your investment strategies. Pick your agent below to get set up.

How it works

Once connected, your AI agent can trade your investment strategies in Portfolio Lab. Here is how it works. Portfolio Lab runs a read-only feed that serves your portfolio target weights. Your agent reads the feed, sees what your paper portfolio plans to trade, and places those trades. Portfolio Lab never places orders itself.

The connection uses MCP, the open standard for connecting AI agents to outside data. Any agent that supports remote MCP connectors can read your feed.

Before you start

You need three things:

  1. A strategy set up in Portfolio Lab with a paper portfolio running.
  2. An AI agent that supports remote MCP connectors.
  3. Your feed link, which you copy from the agentic trading page in the app.

Pick your agent

Pick your agent to start. Each link opens a short setup guide written for that tool.

Don't see your agent? If it supports remote MCP connectors, the setup is the same. Copy your feed link and add it as a custom connector.

Once you're connected

Your agent can now read your target weights, but it still needs to know what to do with them. Open the prompt builder in Portfolio Lab to generate a ready-to-use prompt for your agent. Paste it in and your agent can start trading your investment strategies.

Frequently asked questions

What is agentic trading?

Agentic trading is when an AI agent places trades for you. You give it a strategy to follow and it handles the trades, instead of you placing each one by hand.

Can Claude or ChatGPT trade stocks for me?

Yes. Once you connect your agent to Portfolio Lab, it can place trades that follow your investment strategies.

How do I connect my AI agent to a trading strategy?

You add Portfolio Lab as a connector in your agent, then use the prompt builder in the app to generate a prompt that tells your agent what to trade. Pick your agent above for step-by-step instructions.

Do I need to know how to code?

No. Setup is copy and paste. You add a link as a connector and paste in a prompt from the app.

Which AI agents work with Portfolio Lab?

Any agent that supports remote MCP connectors, including Claude, ChatGPT, Perplexity, and Grok.

Is it safe to connect my AI agent to Portfolio Lab?

Yes. Portfolio Lab only shares a read-only list of your target weights. It never sees your brokerage account, never sees your balances, and never moves your money or places trades. The only thing that can act on your account is the separate trading tool you set up, which stays under your control.

Safety and control

The feed is read-only. Portfolio Lab sends target weights and nothing else. It cannot see your account, move money, or place trades. Every action your agent takes requires your permission through your agent's own controls.

Disclosures

Claude, ChatGPT, Perplexity, and Grok are trademarks of their respective owners. Portfolio Lab is not affiliated with, endorsed by, or sponsored by any of these companies.

References

Put the research to work.

Build, test, and deploy your own strategies in Portfolio Lab. Free to start.

Start free

Educational & Research Disclosure: The content provided is for informational and educational purposes only and is not intended to constitute investment advice, a recommendation, solicitation, or offer to buy or sell any security. Any discussion of market trends, historical performance, academic research, models, examples, or illustrations is presented solely to explain general financial concepts and does not represent a prediction, guarantee, or assurance of future results. Past performance is not indicative of future results. All investing involves risk, including the possible loss of principal.

Related posts

Guide

How to Connect Perplexity to Portfolio Lab

Guide

How to Connect Grok to Portfolio Lab

Guide

How to Connect ChatGPT to Portfolio Lab