Overview
Use Claude Code in the Claude desktop app to write and maintain a small team of role-based analysis agents that study a financial research dataset, with you reviewing code and findings.
Problem or Objective
- Which agents clean, chart and explain a dataset you provide?
- Which agents help research stocks and markets?
- How do teams design the context, tools and memory of their own AI agents?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- Claude Desktop · Claude Code · CrewAI
- Prerequisites
- A Claude plan that includes Claude Code in the desktop app, Python, and a financial dataset you are licensed to process.
How It Works
Put the dataset, for example company filings data or price history you are licensed to use, in a project folder. In the Claude desktop app, open Claude Code on that folder and ask it to set up a multi-agent project: one agent that cleans and describes the data, one that tests a stated hypothesis, and one that writes a summary separating observations from guesses. CrewAI is one way to build this, using its Crews for the role-based agents. Review each code change Claude Code proposes before accepting it, run the crew yourself on a small sample, and read the agents' output next to the raw numbers. Ask Claude Code to add checks, such as row counts and date ranges, so a bad input stops the run instead of producing a confident summary.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Desktop.
- Connect the toolsConnect the tools this workflow relies on: Claude Desktop, Claude Code, CrewAI.
- Check the prerequisitesA Claude plan that includes Claude Code in the desktop app, Python, and a financial dataset you are licensed to process.
- Gather your detailsCollect what the prompt asks for: Dataset file, What the data contains, Question to test, Rows for the first run.
- Run the starter promptPaste the starter prompt below into Claude Desktop and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at claude.com before you rely on it.
Practical Starter Prompt: Set up a team of data analysis agents
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
In this folder, the file [Dataset file] holds [What the data contains]. Create a small multi-agent Python project in which one agent validates and describes the data, one tests this hypothesis: [Question to test], and one writes a report that separates observations from guesses. Add checks for row counts and date ranges that stop the run on bad input. Show me each change and wait for my approval before you write files or install packages. Run it only on [Rows for the first run] rows first.Approve each code change and package install, run on a sample first, and compare every reported figure with the raw data. The output is research notes, not investment advice.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's download page says Claude Code runs in the desktop app and lets you review local code changes. The CrewAI README describes Crews as teams of agents that work together through role-based collaboration. No cited page shows this setup run on financial data, so the quality of the analysis is untested here.
Limitations and Considerations
Agent summaries of financial data can be wrong or overconfident; check every figure against the source data before you rely on it, and do not treat the output as investment advice. Make sure your data licence allows processing with outside AI services. Running several agents multiplies model usage and cost, so start with a small sample. Check which Claude plan includes Claude Code in the desktop app. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
Suggested Implementation Component
A repository that could serve as a building block. It is not part of the cited account and is not evidence that the workflow was run.
Sources
- Download Claude | Claude by Anthropic (opens in a new tab)
Project documentation · claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Claude Code runs directly in the desktop app. You can preview running servers, review local code changes, and monitor pull request status without leaving the app.
- crewAIInc/crewAI README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 04:38 UTC
What this source supports
- Crews: Teams of AI agents with true autonomy and agency, working together to accomplish complex tasks through role-based collaboration.
- It gives developers autonomous agent collaboration through Crews and precise, event-driven control through Flows.