Open the working prototype

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

Recommendation: choose LibreChat if the immediate decision is to fork an existing chat application. Choose a custom React/TypeScript workspace with assistant-ui if the objective is the broader product. Keep procurement calculations, policy checks, cases and approvals in an independent API. Evaluate Langflow as an optional workflow authoring layer.

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

ProjectWhat it suppliesWhat we still buildLicense / edition boundaryFit for this project
LibreChatMulti-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 WebUISelf-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.
AnythingLLMDocument-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.
LangflowPython-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.
FlowiseVisual 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.
DifyVisual 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.
OnyxEnterprise 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 / LobeChatA 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-uiCustomizable 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

Work applicationProcurement, Inventory, Logistics and Finance modules; forms, comparisons, case context and review screens. Chat through assistant-ui, or an optional LibreChat/Open WebUI interface.
Authenticated domain APITyped case operations; buyer and supplier inputs; deterministic costing; bounded simulation; policies; draft submission; authorized review. REST/OpenAPI first, with an MCP adapter if needed.
Execution and modelsA job worker for longer runs; model calls for extraction, explanation and constrained proposal generation; optional Langflow/Flowise orchestration. Every proposed action is revalidated by the domain API.
Records and evidencePostgreSQL for cases, revisions and approvals; object storage for documents; an optional vector index for retrieval. Record source references, calculation versions and decision events.
Enterprise integrationsERP, supplier sources, email and freight adapters behind the API. Begin with read/import operations and exports; add approved write operations when their business controls are implemented.

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

  1. Define a case: demand, variation, inventory carrying rate, order administration cost, shipment weight and the sourcing objective.
  2. 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.
  3. Calculate and compare: annual material, cycle inventory, safety stock, ordering and transport costs with the formula version and assumptions attached.
  4. Simulate bounded terms: enforce maximum unit price, lot, lead time and annual total; cap rounds; stop and surface infeasibility. Keep synthetic supplier assumptions visible.
  5. Review an immutable draft: show exact terms, source case revision, policy outcome and cost impact. Store the reviewer’s authenticated identity and decision.
  6. 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

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.

  1. LibreChat features and MCP integration.
  2. LibreChat MIT license.
  3. Open WebUI licensing and license text.
  4. Open WebUI OpenAPI tools and limitations.
  5. AnythingLLM MIT license.
  6. AnythingLLM server edition and access controls.
  7. Langflow repository and MIT license; durable execution design.
  8. Flowise human review tutorial.
  9. Flowise license and commercial exceptions.
  10. Dify features and self-hosting.
  11. Dify license.
  12. Onyx connectors and permission synchronization.
  13. Onyx license and enterprise exceptions.
  14. LobeHub Community License.
  15. assistant-ui library and optional hosted service; MIT license.