ShoppingAgent Order Analyst
Captures order pages, extracts their contents with a configured model, and exports the results to Excel.
- Source repo
- zhaoyingjun/chatbot
- Stars
- ★ 3.6k
- Last updated
- 1y ago
- Primary language
- Python
- FA score
- 35/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changes
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- E-commerce operators whose administration portal cannot export orders directly can capture the pages and consolidate extracted fields into Excel.
- Not a fit if
- Users without a local Chrome install and matching ChromeDriver
- Teams wanting zero-config setup without model keys and browser paths
- Maintenance
- No commits for 6+ monthslast commit 2025-09-29
- Source review
- 35/100 · Major gaps 4 safety controls not found
What does this agent do, and when should you use it?
This repository combines ShoppingAgent, an order-processing application, with an older trainable Chinese Chatbot project. ShoppingAgent runs a FastAPI backend and exposes a Streamlit interface for chat commands, screenshots, result review, and configuration. Selenium opens order pages and captures full-page, element-level, or manually selected regions, which a configured language model analyzes in batches. Extracted order data appears in the interface and can be written to local Excel files. Deployment is self-hosted and requires Python, Chrome, a compatible ChromeDriver, model settings, and an API key, although the documentation does not identify a supported model provider.
A user submits an order-page URL through the Streamlit interface, and browser automation opens the page. The application can take a full-screen capture, target an element, or obtain a full-page image from which the user manually selects a region. It batch-analyzes collected screenshots with the configured model, presents the extracted order information in a side panel, and exports the results through pandas and openpyxl to Excel. The documented backend command is python -m app.main; the frontend starts with streamlit run app/frontend.py and is available at http://localhost:8501. The repository also contains a Chinese Seq2Seq Chatbot workflow in which data_utls.py preprocesses a corpus, execute.py runs training, and app.py supplies a visual chat module, with an additional Horovod command for distributed training.
- E-commerce operators whose administration portal cannot export orders directly can capture the pages and consolidate extracted fields into Excel.
- Teams processing many order screens can collect multiple screenshots and submit them for batch analysis instead of copying each order manually.
- Analysts working with portals that lack a documented data API can use browser automation and image-based extraction as an alternative input path.
- Local users who prefer a guided interface can control page opening, capture, analysis, and export from the Streamlit application.
- Developers experimenting with Chinese conversational models can train the separate Seq2Seq chatbot on their own corpus and launch its visual chat module.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r requirements.txt
- Ports
8501- Config files
.env- Runtime
- Python 3.8+
How do you install or deploy this agent?
ShoppingAgent requires Python 3.8+, Google Chrome, and a matching ChromeDriver. The prerequisites specify Chrome 140.0 or later, while troubleshooting refers to compatibility with Chrome 112+, so the actual supported version should be verified before deployment. Clone the repository and run pip install -r requirements.txt from its root. Configure the server address and port, AI model parameters, API key, Chrome path, and driver path through the available settings or project configuration. The source does not provide a named model provider, an exact API-key variable, or a complete .env example. Start the backend with python -m app.main, then start the frontend in another terminal with streamlit run app/frontend.py. Open http://localhost:8501 if the browser does not launch automatically.
How do you use this agent?
Start both the FastAPI backend and Streamlit frontend. Enter an order-page address in the URL field and select the control that opens the page. Choose a full-screen, element-selection, or manual-region capture. For a manual region, first acquire the full-page screenshot, drag over the relevant order area, and select the action that captures the chosen region. After collecting images, run the batch order analysis, review the extracted records in the right-hand panel, and use the Excel export action to save them. Restart the application after changing model, API-key, server, browser, or driver settings.
What are this agent's strengths and limitations?
- Provides an end-to-end workflow spanning page opening, flexible capture, batch extraction, review, and Excel generation.
- Offers full-screen, element-level, and manual-region capture modes, allowing users to limit model input to relevant order content.
- Separates the FastAPI backend from the Streamlit interface while exposing chat-driven controls and configuration options.
- Can operate against order portals that do not expose a direct export feature or documented data interface.
- Requires a local Chrome installation and a compatible ChromeDriver; version or path mismatches can prevent browser startup and capture.
- Extraction depends on an external model, API credentials, and network access, but the provider, pricing, and data-handling boundary are not documented.
- The stated Chrome requirement is inconsistent: one section requires version 140.0+, while troubleshooting discusses version 112.0+.
- Recognition quality depends on screenshot clarity and selection scope, so exported results require validation.
- No Docker deployment, authentication, permission isolation, production topology, or operational security guidance is provided.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| ShoppingAgent Order Analyst This agent | 35 · Major gaps | Web appFree + model costs | ★ 3.6k | 1y ago | Python | — |
| MindSearch Deep Search | 46 · Major gaps | Self-hosted serviceFree + model costs | ★ 6.9k | 1y ago | JavaScript | — |
| AI Bank Statement Automation | 48 · Major gaps | CLIFree + model costs | ★ 635 | 9d ago | Jupyter Notebook | OpenAI API |
| Maxun | 44 · Major gaps | Hosted serviceFreemium | ★ 18k | today | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The source shows browser automation, screenshots, model calls, and Excel read/write capabilities, but no pre-action confirmation, permission limits, or recovery mechanism; least privilege, confirmation, external effects, and rollback therefore score low. Order screenshots are sent to a model service, and the README calls for an API key, without describing retention or redaction. The destination and some configuration are visible, so data-flow transparency is partial. Dependencies have minimum versions but no visible lockfile or security review. The README gives project and corpus attribution clues, but does not clearly establish maintainer responsibility or complete authorship.
The documentation covers a shopping agent and older Seq2Seq chatbot, and does not substantiate the described newer ChatAgent and small-model training direction. The shown shopping API has several routes, but the chat prompt emits a batch_analyze_orders action with no corresponding route in the sample; chat history may also append the current message twice. Dependencies are listed, but version ranges are broad and Chrome requirements conflict within the documentation. Model exceptions become text errors and some tool failures become HTTP errors, but there is no consistent, actionable diagnostic guidance.
The README describes order-processing steps, natural-language interaction, screenshots, and export scenarios, making the intended use fairly clear. It does not systematically state capability boundaries, safe behavior on errors, or the model's executable actions. The prompt defines several exact trigger phrases while also claiming autonomous workflows, leaving trigger scope and tool integration unclear. Setup lists Python, Chrome, and service startup steps, but environment versions conflict, and the sample contains no newer ChatAgent or SLM training scripts to inspect.
The README separates Shopping Agent and Chatbot sections and provides quick-start steps, a directory outline, usage instructions, and FAQs. However, two products share one document, and the directory outline has limited connection to the shown source paths. Installation and dependency guidance has useful detail, and examples and FAQs cover common flows and failures. Product limitations are not comprehensively documented. License metadata is unknown and no license text is included. The roadmap has dated version entries, but their status is unclear; contact information exists without a clear maintainer identity, maintenance commitment, or update path.
If the README-described flow works, browser screenshots, order extraction, and Excel export can support order processing directly; the shown API also exposes related read and save operations. This has a clear use case compared with manual handling, but it depends on a model service, browser setup, screenshot quality, and an API key, while costs and benefits are not quantified, so the scores remain moderate.
The README states workflows, environment requirements, and features, and the code sample supports parts of the browser, model, and Excel claims. The newer ChatAgent and training claims cannot be cross-checked against the shown source. The packet provides no execution or test evidence; this static review does not use that absence to score execution-only criteria. Some claims are traceable to code, but the materials do not explicitly distinguish claims from inference.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- Not found in source: disclosed external effectsEstablish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- Model calls send order-related data to the configured external model service; confirm the data sent and the provider's handling rules before use.
- The shown chat prompt emits browser and order-processing actions, but the sample does not show a matching batch-analysis route or a confirmation step. Do not assume a natural-language action was reliably executed.
- The README gives conflicting Chrome version requirements and includes no license text; verify compatibility and licensing before deployment.
FAQ
Can it connect directly to an order database or a commerce platform API?
Which model provider does ShoppingAgent require?
Where are screenshots and exported records stored?
screenshots/ and excels/ directories. It does not explain how an external model service retains or processes submitted image content.What should I check when Chrome or screenshot capture fails?
CHROME_PATH, confirm that Chrome and ChromeDriver versions match, wait for the page to finish loading, keep the browser window visible, and try another capture mode.Is it documented for production deployment?
Is ShoppingAgent Order Analyst free?
Is ShoppingAgent Order Analyst open source?
Is ShoppingAgent Order Analyst safe to use?
Is ShoppingAgent Order Analyst still maintained?
Who makes ShoppingAgent Order Analyst?
Thanks — we use this to improve the page.