
This post is a continuation of Adding Realtime Data to Your Dialogs. It’s also a continuation of A Deep-dive into Agents: Agent Delegation in which we discussed how agents can work together to solve a problem. Today we’ll showcase a real-world example of two agents using delegation to retrieve real-time data.
In our earlier post we emphasized how delegation achieves modular adaptability—scaling efficiently as new agents are introduced without burdening a single model. This ensures that specialized tasks are handled by the most relevant agents, improving accuracy and depth of analysis.
Today, we will expand on our previous example. Our agents, Roger and Angie, belong to a Research Team responsible for managing a stock portfolio. In this scenario, Roger wants to get the latest information on three stocks: Apple (AAPL), Nvidia (NVDA) and Alphabet (GOOG). As we demonstrated last week, we could ask Angie to research each of these tickers, but we’d rather have Roger be responsible for managing the portfolio, and delegate the actual research to Angie.
First we’ll setup the example with Roger:
Me: Roger – your portfolio consists of the following stock tickers [AAPL, NVDA, GOOG].
Tue, 25 Mar 2025 17:40:37 Roger:
Understood. Your portfolio now consists of AAPL, NVDA, and GOOG. Let me know if you need updates on their stock prices or any other related information.
Now, we ask Roger to update the portfolio data:
Me: Roger – get quotes for the stocks in our portfolio.
Tue, 25 Mar 2025 17:40:37 Roger:
Angie research this topic: AAPL stock price
Thu, 20 Mar 2025 18:53:16 Angie:
Topic Results:
The last available stock price information for AAPL (Apple Inc.) as of March 24, 2025, at 19:55 (US Eastern Time) is:
- – Open: $220.80
- – High: $220.85
- – Low: $220.74
- – Close: $220.75
- – Volume: 1,207
Tue, 25 Mar 2025 17:58:43 Roger:
Angie research this topic: NVDA stock price
Tue, 25 Mar 2025 17:58:49 Angie:
Topic Results:
Nvidia Corporation (NVDA) Stock Information:
- – Last Refreshed:: March 24, 2025, 19:55 (US Eastern Time)
- – Latest Price Data (as of 19:55):
- – Open: $120.9888
- – High: $121.0000
- – Low: $120.9200
- – Close: $120.9695
- – Volume: 95,674 shares
This provides the most recent trading activity for NVDA stock based on the 5-minute intraday data.
Tue, 25 Mar 2025 17:58:52 Roger:
WORKING MEMORY Tue, 25 Mar 2025 17:58:51 Assistant research this topic: GOOG stock price
Tue, 25 Mar 2025 17:58:56 Angie:
Topic Results:
The last available stock price data for GOOG (Alphabet Inc.) is from March 24, 2025, at 19:55 Eastern Time, with the following details:
- – Open: $169.89
- – High: $169.90
- – Low: $169.7701
- – Close: $169.90
- – Volume: 1,235 shares
These figures reflect its intraday trading activity at 5-minute intervals.
Tue, 25 Mar 2025 17:58:59 Roger:
All topics have been researched and are now complete. Let me know if you have any further requests.
Key Takeaways
- Task Delegation Sequence – Roger delegates each research task to Angie one at a time, ensuring each is completed before initiating the next. This allows for adaptive task management based on partial results.
- Memory Utilization – Roger checks WORKING MEMORY to identify unresearched stocks, showing efficient tracking of outstanding tasks.
- Clarifying the Request – While this example shows delegation, Roger technically did not request real-time “quotes” but rather general research on stock prices. More precise instructions would ensure real-time updates instead of prior-day summaries.
Future Enhancements
A fully autonomous research system would involve Angie proactively maintaining an up-to-date portfolio through scheduled tasks. Roger could then analyze these results and, based on market conditions, initiate further actions—such as requesting a risk assessment by another specialized agent.
Scheduled task execution is an essential step toward autonomous teamwork, a concept we’ve explored in Agent Assistants. In an upcoming post, we’ll examine how Angie can autonomously maintain research reports without requiring manual intervention.
