Building an AI Agent on Public is easier than you might think. You don’t need to know how to code, and you don’t need every detail worked out before you start. This chapter shows how a simple prompt becomes a complete Agent workflow, using a popular “buy-the-close, sell-the-open” strategy as the example.
Starting with a simple prompt
From your Agents Hub, click New Conversation, then select Build an Agent. Your prompt can be as simple as a few words or as detailed as a multi-step strategy.
In this example, the prompt is just:
Starting prompt
Buy the close, sell the open.
Follow-up answer
Five shares of SPY every day from my brokerage account.
Let the AI fill in the blanks
The starting prompt doesn’t say which stock to trade, how much to invest, or how often to run. That’s fine. Instead of making assumptions, Public’s AI asks follow-up questions to clarify what you mean. Answer them, and the AI has everything it needs to build your Agent.
You can start with a broad idea, work with the AI to fill in the details, and keep refining your instructions as you go.
Preview your Agent before it goes live
Once you give the go-ahead, your proposed Agent appears in a preview panel on the right. The top of the panel shows a summary, including which account the Agent will use and when it will run. Below that, you’ll see the full workflow, step by step.
In this example, the Agent buys five shares of SPY just before the market closes, aiming to capture potential gains from overnight price movements. It then sells all five shares when the market opens the next day.
Adjust or refine your agent with another prompt
Nothing is live at this stage. Review every detail, and if you want to change something, enter another prompt. For example:
Example prompt
Let’s make that three shares instead of five.
The AI updates the proposed workflow to match. Keep adjusting until everything is exactly how you want it. Then your Agent is ready to activate.
Key takeaways
- You don’t need coding skills or a fully formed plan to build an AI Agent on Public.
- Start a build by clicking New Conversation, then Build an Agent.
- If your prompt leaves details out, the AI asks follow-up questions instead of making assumptions.
- Before anything goes live, preview your Agent’s summary and its step-by-step workflow.
- Refine your Agent with additional prompts until it’s ready to activate.
Frequently asked questions
Do I need to know how to code to build an AI Agent on Public?
No. You describe what you want in plain English, and Public’s AI turns your prompt into an Agent workflow.
What if my prompt is missing details?
That’s fine. If your prompt doesn’t specify details like which stock, how much to invest, or how often to run, the AI is designed to ask follow-up questions to clarify your intent. Before you activate your Agent, review the proposed workflow carefully to make sure it matches what you want.
Is my Agent live as soon as it’s built?
No. After the AI builds your Agent, you can preview its summary and step-by-step workflow and review every detail. Nothing goes live until you activate it.
How do I change an Agent before activating it?
Enter another prompt describing the change, such as “Let’s make that three shares instead of five.” The AI updates the proposed workflow, and you can keep refining it until everything looks right.