PROCUREMENT-LEAD-AI / FOUNDATION DECISION
A work companion that starts with Procurement and grows across the supply chain.
Open WebUI and eight alternatives, assessed for a branded product with structured sourcing cases, bounded negotiation and human review.
Prepared November 23, 2026 · Primary documentation and repository license review · Architecture judgment, not a performance benchmark
What the foundation must support
The first Procurement module should combine a structured case, editable supplier bids, deterministic annual cost calculations, bounded offer simulations, evidence and human decisions. Later Inventory, Logistics and Finance modules should reuse identity, case context, data access, tool contracts and audit events. A conversation is useful context; the approved case record belongs in the business application.
Assessment priorities are product customization, licensing, integration boundaries, durable business state, human review, deployment effort and the ability to add modules. Suitability judgments below follow those priorities. None of these projects was installed or load-tested as part of this assessment.
The shortlist and tradeoffs
| Project | What it supplies | What we still build | License / edition boundary | Fit for this project |
|---|---|---|---|---|
| LibreChat | Multi-model chat, reusable agents, retrieval, artifacts and MCP tool access. Its React/TypeScript client is a close match to your existing frontend skills. | Procurement case screens, deterministic calculations, business approvals and tenant isolation. A chat project does not establish a customer security boundary. | MIT in the reviewed repository. Preserve copyright and permission notices; separately check dependencies and branding assets. [1, 2] | Preferred existing application to fork. Start with configuration and external tools; keep any UI fork small. |
| Open WebUI | Self-hosted chat, knowledge features and OpenAPI tool servers. A sensible internal evaluation environment. | Structured workbench and business backend. OpenAPI tool results are returned as complete responses; interactive confirmation events require native Python tools rather than the OpenAPI route. | Custom Open WebUI license. Branding changes are allowed within the stated ≤50 direct end users / rolling 30-day exception, with written permission, or under an appropriate enterprise license. [3, 4] | Good internal pilot. Less attractive for a broad branded fork because the license and UI merge work become product dependencies. |
| AnythingLLM | Document-centered workspaces, retrieval, agents and developer APIs. The Docker edition supports browser access, multiple users and workspace permissions. | A structured sourcing workflow, the cost model, business authorization and a complete case system. | MIT repository. Multi-user web features belong to the Docker/server edition; Desktop is principally single-user. [5, 6] | Useful document assistant pilot. Shortlist when procurement policy and supplier document Q&A dominate the requirement. |
| Langflow | Python-extensible visual workflow authoring, API deployment and MCP exposure. Useful for experimenting with document extraction and agent/tool sequences. | The user workbench, case ownership, approval authority and business action controls. Validate durable pause/resume against the exact release being deployed. | MIT in the reviewed repository. Custom components and model/provider services retain their own terms. [7] | Preferred permissive visual workflow candidate. An optional service behind the product, rather than the whole product UI. |
| Flowise | Visual agent workflows, a Human Input node and approval before tool execution. Strong fit for testing explicit review steps. | The procurement workbench and business-grade decision records. An approval node alone does not enforce a company’s purchasing authority. | Apache-2.0 for the core, with commercial exceptions including the enterprise directory and explicitly marked files such as IdentityManager.ts. Verify required identity features by edition. [8, 9] | Strong workflow alternative. Prefer when its workflow UX saves enough effort to justify the edition boundaries. |
| Dify | Visual AI workflows, retrieval pipelines, models and application APIs. Broad capability for internal AI application development. | Product-specific sourcing screens, authoritative cost/policy services and approval records. | Modified Apache-based license. Operating a multi-tenant environment requires written authorization. The Dify frontend has logo/copyright restrictions. Using a separate frontend does not remove the multi-tenant condition. [10, 11] | Conditional choice. Consider for internal workflow work; rank lower for a multi-customer branded fork. |
| Onyx | Enterprise knowledge search and connectors that index and synchronize organizational documents. | Supplier comparisons, negotiation logic, case management and purchasing decisions. | MIT core with enterprise-licensed ee directories. Source-system document permission synchronization requires Enterprise Edition in the reviewed docs. [12, 13] | Knowledge-focused option. Revisit when many internal repositories and permission-aware retrieval become central. |
| LobeHub / LobeChat | A polished agent workspace and ecosystem of tools and skills. | The procurement domain application and controlled case lifecycle. | LobeHub Community License. The reviewed license permits unmodified commercial use, but requires a commercial license to develop and distribute a derivative work. [14] | Lower priority for a fork. The derivative-work condition conflicts with the goal of broad independent product customization. |
| assistant-ui | Customizable React chat components and runtime adapters. Its optional hosted backend is separate from the open source library. | The application shell, identity, persistence, orchestration, integrations and all procurement logic. | MIT library; the hosted service has separate service terms. [15] | Preferred custom-product UI building block. Highest control over forms, tables and approval screens, with more initial engineering. |
Choose by product intent
For a conversation-led internal companion: begin with LibreChat plus a separately authenticated Procurement tool service. Configure a Procurement agent, expose only the tools it needs, and add one structured case view. The application already handles chat-oriented interactions; the business service supplies the sourcing capabilities.
For a branded supply chain product: use a custom React/TypeScript shell with assistant-ui where chat helps the task. Add dedicated case, comparison, negotiation and approval screens. A FastAPI backend is a practical initial choice for your Python modeling work; Spring Boot is an equally reasonable domain-service choice given your Java background. Choose one initially.
For rapid workflow experiments: connect Langflow or Flowise to that backend. Keep formulas and policy enforcement in versioned code. A visual workflow can coordinate extraction, retrieval and explanation; it should call the authoritative calculation and approval services.
Do not deploy several overlapping chat and workflow stacks at once. The first production slice needs one user application, one domain API, one persistent case store and a selected model route. Add a visual builder only when the experiment requires it.
Recommended application boundaries
For a multi-customer deployment, derive organization and user context from authenticated identity. Enforce object-level authorization in every case, document and tool request. Open WebUI permissions, LibreChat projects and vector-index filters do not by themselves establish complete tenant isolation.
The first Procurement slice
- Define a case: demand, variation, inventory carrying rate, order administration cost, shipment weight and the sourcing objective.
- Capture comparable bids: price, currency, fixed lot/MOQ policy, lead time, variability, freight basis and document evidence. Have a person confirm extracted data before costing.
- Calculate and compare: annual material, cycle inventory, safety stock, ordering and transport costs with the formula version and assumptions attached.
- Simulate bounded terms: enforce maximum unit price, lot, lead time and annual total; cap rounds; stop and surface infeasibility. Keep synthetic supplier assumptions visible.
- Review an immutable draft: show exact terms, source case revision, policy outcome and cost impact. Store the reviewer’s authenticated identity and decision.
- Export the decision: produce a reviewable terms summary before integrating purchase-order or supplier-message execution.
Approval requirements that belong in the backend
Bind a draft to a case revision and a hash of the exact proposed terms. Changes create a new revision and invalidate outstanding approval. The agent can request review, but an authenticated reviewer endpoint records the decision. Recheck policy and authorization when executing any approved action. Use idempotency keys to avoid duplicate messages or orders, record rejected decisions, and handle timeouts without silently approving.
Knowledge and integration requirements
Supplier files are evidence, not instructions to the agent. Retrieve only documents the requesting identity may access, retain source/page references, and keep provider credentials server-side. Self-hosting the UI does not keep content local if the selected model, embedding service or connector sends it elsewhere. Decide the data route and retention policy for each deployment.
What this prototype proves
The accompanying prototype implements the first module as an original static web application. It demonstrates editable inputs, five-component annual costing, sequential concession rounds, buyer-limit checks, local preliminary review, revision invalidation and JSON/CSV exports. Inventory, Logistics and Finance are explicitly labeled roadmap views.
It uses browser-local state and deterministic companion responses. It has no live LLM, ERP, supplier messaging, document ingestion or backend identity service. It does not install, embed or fork any of the evaluated projects. Its local approval record demonstrates interaction design; production authorization and audit controls remain backend work.
The cost model uses a 52-week year and USD throughout. Safety stock includes independent demand and lead-time variation. Carrying cost uses material value; freight applies the greater of actual and minimum billable shipment weight. Annual order counts are annualized. The negotiation uses a synthetic concession schedule, not a learned strategy, game-theoretic equilibrium or evidence of real supplier willingness.
Acceptance checks for the next integration step
- Reproduce the agreed supplier-cost case numerically, including shipment minimums and lead-time variation.
- Demonstrate that direct tool/API calls cannot bypass price, lot, lead-time or budget limits.
- Demonstrate that a changed case cannot execute an older approved draft.
- Verify pause/restart/resume and duplicate-request behavior against the selected workflow runtime and version.
- Verify customer isolation across cases, uploaded documents, retrieval results and tool credentials.
- Pin a supported release and record its actual component licenses and edition requirements. Some documentation describes development or beta capabilities; validate those before relying on them.
Primary sources
Documentation and repository licenses inspected for this assessment. License summaries describe the reviewed text; they are not a substitute for the actual license attached to a selected release.
- LibreChat features and MCP integration.
- LibreChat MIT license.
- Open WebUI licensing and license text.
- Open WebUI OpenAPI tools and limitations.
- AnythingLLM MIT license.
- AnythingLLM server edition and access controls.
- Langflow repository and MIT license; durable execution design.
- Flowise human review tutorial.
- Flowise license and commercial exceptions.
- Dify features and self-hosting.
- Dify license.
- Onyx connectors and permission synchronization.
- Onyx license and enterprise exceptions.
- LobeHub Community License.
- assistant-ui library and optional hosted service; MIT license.