Procurement Intelligence and Vendor Discovery Engine For ERPNext
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch main
bench install-app procurement_aiA comprehensive RFQ-to-customer-quotation workflow is available at docs/rfq_pricing_playbook.md.
Phase-wise sample tests with expected results are documented at docs/TEST.md.
For every future phase-wise implementation update, docs/TEST.md must be updated with user-facing, step-by-step UI test scenarios and expected results for the newly delivered behavior.
Phase-wise implementation roadmap is maintained in PROJECT_PLAN.md.
Initial backend scaffolding for phase-wise implementation is available in:
procurement_ai/procurement_ai/services/intake/models.pyprocurement_ai/procurement_ai/services/intake/planner.pyprocurement_ai/procurement_ai/services/intake/engine.pyprocurement_ai/procurement_ai/services/retrieval/context.pyprocurement_ai/procurement_ai/services/discovery/open_web.pyprocurement_ai/procurement_ai/doctype/supplier_discovery_session/supplier_discovery_session.jsonprocurement_ai/procurement_ai/doctype/supplier_candidate/supplier_candidate.jsonprocurement_ai/procurement_ai/api.py
These modules currently provide request validation, direct-query/file-upload/opportunity item resolution, item normalization, executable ERP -> Open Web -> AI discovery escalation decisions via execute_phase1_payload, and initial Frappe DocType/UI scaffolding for supplier discovery sessions, plus connector-based open-web supplier retrieval.
For every new Python (.py) and JavaScript (.js) file created in this project, prepend the following header comments:
Copyright (c) 2026, Sanjay Kumar and contributorsDeveloped with Open AI CodexFor license information, please see license.txt
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/procurement_ai
pre-commit installPre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
mit