CrewAI stock picker
Hierarchical crew finds trending companies, researches them and pushes its pick to the user's phone.
What it does
A manager agent coordinates the crew in hierarchical process mode: one agent finds trending companies in a sector with a web search tool, another researches them, and a picker chooses one and sends a push notification through a custom tool. Pydantic models define the trending-company and research outputs written to JSON, and CrewAI memory adds short-term and entity memory in a vector store and long-term memory in SQL.
What was built
- 01
Hierarchical process lets a manager agent delegate between finder, researcher and picker agents.
- 02
TrendingCompany and research-list Pydantic schemas structure outputs saved as JSON files.
- 03
Custom tool with a JSON argument schema sends the final pick as a push notification.
- 04
Short-term and entity memory use a vector store; long-term memory is kept in SQL.
The pipeline, layer by layer
Five layers, one pipeline.
L1Manager
- Hierarchical manager agent
L2Agents
- Trending company finder
- Financial researcher
- Stock picker
L3Tools
- Web search tool
- Push notification tool
L4Memory
- Vector and SQL memory
L5Output
- Pydantic JSON reports