"Building a multi-agent system is like organizing a team of highly specialized experts who occasionally hallucinate their credentials."
Agentic Explorer is an experimental framework for building, testing, and visualizing multi-agent LLM systems focused on extracting meaningful insights from both structured and unstructured data. We're tackling the signal-versus-noise challenge in operational decision making, using public company data as our proving ground.
This framework serves as a sandbox where you can:
- Observe how specialized AI agents collaborate to transform diverse data sources into actionable intelligence
- Measure how different agent configurations affect analysis quality, cost, and accuracy
- Experiment with deliberately imperfect agents to understand system resilience
- Visualize the inner workings of multi-agent systems to demystify how they actually function
Using financial data as our test case (stock prices, earnings transcripts, SEC filings), we're exploring broader questions about how multi-agent systems can help organizations identify early warning signals before they become obvious in traditional metrics.
Built on CrewAI, this project prioritizes transparency and educational value over black-box solutions. By making every agent interaction visible and measurable, we're creating both a practical tool and a learning platform for understanding the true capabilities and limitations of collaborative AI.
Multi-agent LLM systems are increasingly common in enterprise settings, but their inner workings often remain a black box. This can lead to:
- Unpredictable failure modes
- Unclear cost-benefit tradeoffs
- Difficulty diagnosing issues
- Challenges in system optimization
Agentic Explorer provides a transparent view into how these systems work, using financial analysis as a concrete and intuitive example. By making agent interactions visible and measurable, it demystifies the "magic" of collaborative AI.
A key concept we're exploring is how unstructured data can serve as the "last mile" connector that provides early warning signals before they manifest in structured metrics.
Using a wind/leaves analogy:
- We don't directly measure the wind (future business impacts)
- We observe the leaves moving (early indicators in unstructured data)
- We infer wind direction and strength (potential business impacts)
- We compare to historical patterns (calibration and verification)
This approach emphasizes awareness over precision, focusing on identifying emerging patterns rather than making exact predictions.
One of the key concepts we're exploring through Agentic Explorer is a Signal Intelligence Framework that organizes insights into five universal indices that could apply to organizations of all types and sizes:
| Signal Index | Definition | Early Warning For |
|---|---|---|
| Cost Pressure Index (CPI) | Forward-looking measure of factors likely to impact cost structure | Margin compression, pricing decisions, operational adjustments |
| Revenue Vulnerability Index (RVI) | Predictive assessment of stability and growth potential of revenue streams | Sales forecast adjustments, marketing strategy shifts, product development priorities |
| Brand Resilience Index (BRI) | Measure of reputation capital and ability to withstand perception challenges | Communication strategy, stakeholder engagement, value alignment |
| Risk Exposure Index (REI) | Assessment of vulnerability to disruption from operational, financial, strategic risks | Contingency planning, risk mitigation initiatives, investment decisions |
| Market Environment Index (MEI) | Indicator of favorability of external conditions for an organization's strategy | Strategic recalibration, geographic focus, expansion/contraction decisions |
Through Agentic Explorer, we can test how multi-agent systems might collaboratively construct and maintain these indices.
The system deploys a customizable team of specialized agents:
| Agent | Function | Special Power |
|---|---|---|
| strategyAgent | Designs analysis workflow & coordinates team | Meta-cognition |
| newsAgent | Analyzes news sentiment & extracts claims | Language pattern recognition |
| tickerAgent | Processes stock price movements & volumes | Numerical correlation detection |
| secAgent | Reviews SEC filings & company disclosures | Regulatory interpretation |
| industryAgent | Provides sector context & competitive analysis | Comparative reasoning |
| devilsAdvocateAgent | Challenges mainstream analysis & assumptions | Contrarian thinking |
| brokeAgent | Deliberately introduces errors (for educational purposes) | Controlled failure demonstration |
| judgeAgent | Evaluates all inputs & provides final assessment | Synthetic reasoning |
A core feature is comprehensive token usage tracking and cost-benefit analysis:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agent Token Economy Dashboard โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโค
โ Agent โ Tokens โ Cost($) โ Insights โ Value/Token โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโโโค
โ strategyAgent โ 14,231 โ $0.28 โ (meta) โ โ๏ธ Orchestr. โ
โ newsAgent โ 28,450 โ $0.57 โ 12 โ โ
โ
โ
โ
โ โ
โ tickerAgent โ 15,230 โ $0.30 โ 8 โ โ
โ
โ
โโ โ
โ secAgent โ 31,520 โ $0.63 โ 15 โ โ
โ
โ
โ
โ
โ
โ industryAgent โ 22,860 โ $0.46 โ 9 โ โ
โ
โโโ โ
โ devilsAdvAgent โ 18,940 โ $0.38 โ 7 โ โ
โ
โ
โ
โ โ
โ judgeAgent โ 35,760 โ $0.72 โ 18 โ โ
โ
โ
โ
โ
โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโโโค
โ Total โ 166,991 โ $3.34 โ 69 โ โ
โ
โ
โ
โ โ
โโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
This enables you to quantify the contribution of each agent and optimize system cost-effectiveness.
Agentic Explorer offers several application modules that showcase different aspects of multi-agent systems:
Select a company and time period for a comprehensive multi-agent analysis. See how different agents contribute unique insights about financial health, news impact, and market positioning. Watch in real-time as agents debate and refine their analysis.
Identify significant news events and validate their actual impact on company performance. Discover which news actually moved markets versus what was just noise. Get a "Reality Score" for each major news event's significance.
Split timeline into "before" and "after" periods, with agents making predictions based on early data that are validated against later results. See which agents' predictions were most accurate and why.
Deliberately introduce errors or biases to specific agents to see how the system's overall performance is affected. Learn how robust multi-agent systems handle misinformation and failure.
Run the same analysis across multiple companies in a sector to identify shared patterns and company-specific insights. Discover hidden connections and divergences across competitors.
Agentic Explorer tackles several advanced technical challenges that are common in modern AI systems:
Most analysis systems focus primarily on structured data, treating unstructured data as a separate domain. We're exploring how to deliberately integrate these data types using a layered approach where unstructured data signals provide early warnings that are later confirmed by structured metrics.
In any intelligence system, distinguishing meaningful signals from background noise is critical. We're experimenting with:
- Multi-source confirmation requirements
- Temporal pattern detection
- Bayesian probability adjustments based on historical accuracy
- Custom sensitivity thresholds for different contexts
Effective multi-agent systems require sophisticated coordination. We're exploring:
- Dynamic task allocation based on agent capabilities
- Information sharing protocols between agents
- Conflict resolution mechanisms
- Meta-cognitive oversight
For users to trust and act on insights, they need to understand their origins. We prioritize:
- Transparent agent reasoning
- Clear contribution tracking
- Insight pathway visualization
- Confidence metrics
- Project structure implementation (completed)
- Data collection from financial sources (completed)
- Core data management layer
- Basic agent framework implementation
- CrewAI integration
- Company Deep Dive Analysis module (MVP)
- Complete agent ecosystem implementation
- Prediction Challenge Simulator module
- News Impact Validator module
- Enhanced visualization capabilities
- Token economy tracking system
- Interactive UI foundation
- Agent Resilience Tester module
- Multi-Company Comparative Analysis module
- Advanced visualization dashboards
- System optimization features
- Comprehensive documentation
- Case studies and examples
# Clone the repo
git clone https://github.com/Kris-Nale314/agentic-explorer.git
cd agentic-explorer
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env to add your API keys# Run the data collector with interactive prompts
python -m utils.run_data_collector
# Or specify companies directly
python -m utils.run_data_collector --tickers DELL,NVDA,TSLA,ACN --years 3# Launch the Streamlit interface
streamlit run app.py
# Or run specific modules from command line
python -m modules.deep_dive --company NVDA --start 2023-01-01 --end 2023-12-31Our current enhancement efforts are focusing on a more efficient data organization:
agentic-explorer/
โโโ core/ # Core system components
โ โโโ agents/ # Agent implementations
โ โโโ models/ # Analysis models
โ โโโ tools/ # Shared utilities for agents
โโโ dataStore/ # Financial data repository
โ โโโ companies/ # Company-specific data
โ โ โโโ [TICKER]/ # Data for each company
โ โโโ market/ # Market-wide data
โ โโโ events/ # Event-based data
โ โโโ relationships/ # Relationship data
โ โโโ signals/ # Generated signal data
โโโ modules/ # Application modules
โ โโโ deep_dive.py # Company Deep Dive Analysis
โ โโโ news_validator.py # News Impact Validator
โ โโโ prediction_challenge.py # Prediction Challenge Simulator
โ โโโ resilience_tester.py # Agent Resilience Tester
โ โโโ comparative_analysis.py # Multi-Company Comparative Analysis
โโโ utils/ # Utility functions
โ โโโ data_collector.py # Financial data collection
โ โโโ visualization.py # Visualization helpers
โโโ pages/ # Streamlit pages
โโโ outputs/ # Analysis outputs and logs
โโโ app.py # Main Streamlit application
โโโ project_structure.py # Project structure utilities
As this sandbox project evolves, we're interested in exploring several cutting-edge concepts:
- Adaptive Agent Specialization: Agents that automatically specialize based on discovered patterns
- Cross-Domain Signal Networks: Mapping relationships between seemingly unrelated signals
- Temporal Analysis for Lead Time: Understanding how different signal types predict outcomes with varying lead times
- Decision Recommendation Engine: Testing how multi-agent systems can move from insight to action recommendation
- Multi-Modal Intelligence Integration: Combining text, numerical, and potentially visual data for comprehensive signal detection
Contributions welcome! Check out the CONTRIBUTING.md file for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Built while convincing LLMs to play nicely together by Kris Naleszkiewicz | LinkedIn | Medium