How hsynylmz-umhg/bedulonca works
Bedülonca is a Streamlit commerce intelligence platform for sellers. Its main workflow runs from the dashboard into a LangGraph analysis: trend discovery, web intelligence, competitor positioning, FIFO-based cost and margin checks, then Gemini-generated pricing or inventory recommendations returned for display. Separate product-detail and settings pages support SKU analysis and model configuration. The README documents additional dashboard analytics and UI capabilities. Some source is unsampled, so those documented features are shown at subsystem level; edges reflect only visible calls or documented relationships.
Main entry points: market_news_agent.py Web intelligence · state.py Shared agent state · main.py BI dashboard · product_detail.py Product detail
Components 15
Seller interface
- BI dashboard
main.py - Product detail
pages/product_detail.py - Model settings
pages/settings.py
Analysis workflow
- Agent graph
agent_graph.py - Shared agent state
state.py
Market intelligence
- Trend analysis
agents/trend_agent.py - Web intelligence
agents/market_news_agent.py - Competitor pricing
agents/market_agent.py
Cost and strategy
- FIFO cost analysis
agents/cost_agent.py - Pricing strategist
agents/strategist_agent.py - Product and market data
data/mock_data.json
Other components
- E-commerce seller
- DuckDuckGo search
- Google Gemini
- USD/TRY rate API
Connections 26
- E-commerce seller → BI dashboard: opens
README.md - BI dashboard → Agent graph: triggers analysis
README.md - Agent graph → Trend analysis: dispatches
agent_graph.py - Trend analysis → Web intelligence: dispatches
agent_graph.py - Web intelligence → Competitor pricing: dispatches
agent_graph.py - Competitor pricing → FIFO cost analysis: dispatches
agent_graph.py - FIFO cost analysis → Pricing strategist: dispatches
agent_graph.py - Trend analysis → Shared agent state: updates
agents/trend_agent.py - Web intelligence → Shared agent state: updates
agents/market_news_agent.py - Competitor pricing → Product and market data: reads
agents/market_agent.py - Competitor pricing → Shared agent state: updates
agents/market_agent.py - FIFO cost analysis → Product and market data: reads
agents/cost_agent.py - FIFO cost analysis → Shared agent state: updates
agents/cost_agent.py - Pricing strategist → Shared agent state: reads and updates
agents/strategist_agent.py - Web intelligence → DuckDuckGo search: searches
agents/market_news_agent.py - Web intelligence → Google Gemini: cleans results
agents/market_news_agent.py - Pricing strategist → Google Gemini: generates decisions
agents/strategist_agent.py - BI dashboard → Shared agent state: renders results
README.md - BI dashboard → Product and market data: reads
README.md - BI dashboard → USD/TRY rate API: fetches exchange rate
main.py - E-commerce seller → Product detail: opens SKU analysis
README.md - Product detail → Product and market data: loads product data
README.md - Product detail → FIFO cost analysis: uses FIFO calculation
pages/product_detail.py - Product detail → Web intelligence: fetches intelligence
pages/product_detail.py - Product detail → USD/TRY rate API: fetches exchange rate
pages/product_detail.py - E-commerce seller → Model settings: configures model
README.md