Does the RAGFlow license allow self-hosting and commercial use?
The LICENSE file in the infiniflow/ragflow repository is the Apache License, Version 2.0 (January 2004 text), so the open-source edition can be self-hosted and modified without a license fee. RAGFlow Enterprise is a separate offering, sold under individual contracts, and it sits outside the repository, which ships only the open-source edition. The LICENSE file names no separately licensed directory, and the README and repository sidebar both state Apache-2.0. For an approval document, the accurate answer is yes for self-hosting and commercial use of the open-source edition, while Enterprise terms are a separate question that its contract settles. Record the release tag or commit you reviewed, so the approval document matches the code you deploy.
Two sections of the Apache License, Version 2.0 matter most for legal review. Section 4 lets a licensee add its own terms to its modifications or derivative works, provided its use still complies with the license, so any internal patch policy must sit alongside the Apache conditions. Section 5 says a separate license agreement with the licensor takes precedence over the license for contributions, so a signed agreement with RAGFlow would govern where it applies. Legal should read both sections against your plan to fork or patch the code. The build_ee.sh file in the repository is an empty placeholder, which supports the view that enterprise build logic lives outside the upstream code. Procurement should confirm that the Enterprise contract, not the repository, governs any feature you need beyond the open-source edition. Security reviews deployment hardening separately, because a license does not configure it. Finance owns the cost view.
This section does not settle the Enterprise price, the support tiers or what an on-premise setup involves, so the approval document should not assume any of them. Ask RAGFlow for a written Enterprise quote and the contract terms that would apply to your deployment, and check the published RAGFlow pricing and billing for the cloud plans and add-on rates it lists. The sibling pages cover those questions in turn: RAGFlow pricing: open source, cloud plans and Enterprise for costs, RAGFlow enterprise edition: what is published for support and contract terms, and RAGFlow on premise: self-hosted requirements for Docker Compose, hardware and required services. Read the license answer first, then move to those pages before the document goes for signature.
RAGFlow license terms by edition: open source, hosted cloud and Enterprise
This table compares the three editions of RAGFlow by the terms that govern them, what each includes, what it restricts and what cost is published. The license reading reflects the LICENSE file on the main branch; v1.0.0, released November 6, 2026, is the latest release as of December 2026. The main takeaway is that Apache 2.0 governs only the open-source code, while hosted and Enterprise use depend on separate written terms.
| Edition | Governing terms | What it includes and restricts | Published cost |
|---|---|---|---|
| Open-source repository | Apache License 2.0 in the LICENSE file; the README shows the Apache-2.0 badge | Source on the main branch. Apache 2.0 permits use, modification and redistribution, subject to its license conditions. | No license fee. Your cost is the infrastructure and staff you run it with. |
| Self-hosted Docker deployment | Apache 2.0 for the software; your own contracts cover your infrastructure and any model or cloud vendors | Docker Compose from the docker directory. Section 4 lets you add terms to your own modifications or derivative works. | No RAGFlow fee. The README recommends at least 4 CPU cores, 16 GB RAM and 50 GB free disk. |
| Hosted service (cloud.ragflow.io) | RAGFlow's own service terms and Data Processing Agreement (last updated April 23, 2026) | Vendor-run service. Confirm in the service terms what you may do with the hosted product. | Plan and add-on rates are on the published pricing page. Confirm current rates there. |
| RAGFlow Enterprise | Individual contracts, not in the repository | Feature scope and restrictions are set in your contract. The v1.0.0 build_ee.sh is an empty placeholder, so the repository holds no Enterprise build logic. | No published price. Quotes depend on contract scope, support and deployment terms. |
Which Apache 2.0 rights apply to a self-hosted RAGFlow deployment
The Apache License 2.0 gives you a broad right to use, copy, modify and distribute RAGFlow, and contributors grant a patent license covering their contributions. The conditions are practical. Keep the license text with any copy you distribute, keep existing copyright and attribution notices, mark the files you changed, and carry forward any NOTICE file. The license grants no rights in the project name or logos, so a modified build should not imply endorsement by InfiniFlow. Running RAGFlow inside your own cloud account, data center or air-gapped network is use under this license. The license does not require you to send documents, prompts or logs back to the upstream project. Distribution triggers most of the conditions, so an internal-only deployment mainly needs the notices and configuration you would keep anyway.
Section 4 matters once you change the code. It lets you add your own license terms to your modifications or derivative works, for example a proprietary license on an internal connector, provided your use of the work still complies with the Apache License. Those added terms do not change the Apache terms that apply to the upstream code. Section 5 covers contributions. Unless a separate license agreement with the licensor says otherwise, contributions you submit to the project are licensed under the Apache License, and that separate agreement takes precedence for those contributions. Before you fork, decide whether your changes will stay private or go upstream, because an upstream contribution may need a signed agreement. Check the build_ee.sh file at v1.0.0, which is an empty placeholder in the open-source tree.
The LICENSE file in the infiniflow/ragflow repository is the Apache License, Version 2.0, and the README and repository sidebar both state Apache-2.0. The LICENSE text itself names no directory or component under a different license. That supports treating the open-source tree as Apache 2.0 throughout, but the reading is still a legal conclusion. Ask your counsel to review the LICENSE file and the repository tree at the exact release you plan to deploy, including any vendored third-party code and any models or parsers you add that carry their own terms. Record counsel's confirmation before approval. The LICENSE file covers the repository only, so it does not settle the terms of the hosted service or the separate Enterprise offering.
What RAGFlow costs to run: free software, paid options and what your team carries
Running RAGFlow has three cost layers: the software, optional paid contracts, and the infrastructure and people your organization carries. The cards below separate what is free, what is paid, and what your team operates and upgrades. Use them to build the written scope you need before an internal team or a partner quotes the work.
Free software under Apache 2.0
The RAGFlow repository is licensed under the Apache License, Version 2.0, so the software itself carries no license fee. Your organization can run, modify and host it in its own infrastructure under those terms. Section 4 lets you add terms to your own modifications, provided your use still complies with the license. Confirm that every component you deploy comes from the main repository, because the license text names no component under different terms.
Apache 2.0 license textOptional paid items
Paid spending is optional and sits outside the open-source repository. The Enterprise offering is sold under individual contracts, and the hosted cloud service has published plans with add-on rates. Ask for a written list of what each contract covers, including support, updates and included features. Also confirm whether any add-on rate applies to a self-hosted deployment or only to the hosted service.
RAGFlow pricing detailsInfrastructure at README minimums
The README sets minimums of 4 CPU cores, 16 GB RAM and 50 GB free disk, with Docker 24.0.0 or later and Docker Compose v2.26.1 or later. macOS is not currently supported as a host. Treat these figures as a floor for evaluation, since production document volume and the document engine are likely to raise the requirement. Size production hosts from a pilot on your own data.
RAGFlow READMERequired services you operate
The configuration reference names MySQL for metadata, MinIO for object storage, Kvrocks as a Redis-compatible cache and NATS JetStream as the message queue. Elasticsearch is the default document engine, and Infinity is the other documented option. Each service needs backups, patching, monitoring and capacity planning from your team, and the document engine you choose in docker/.env changes what you operate.
RAGFlow configuration referenceUpgrades and the 0.x data path
The v1.0.0-rc1 release notes describe a Go rewrite of the server and call the data upgrade from 0.x irreversible. Take a tested backup and rehearse the migration on a copy of your data before you touch any 0.x deployment. Plan each cutover from the release notes for every version in your path, since the 1.0.0 line moved through several release candidates before the general release.
RAGFlow release notesSecurity, on-call and staff time
The open-source configuration ships a default admin password of admin, which the Admin Service documentation says to replace before first start. The official docs do not describe SSO setup for the open-source edition, so plan identity work yourself. Registration is enabled by default through ENABLE_REGISTER, and connector credentials are stored in plaintext unless RAGFLOW_CONNECTOR_KEY is set. Your team carries the patching, on-call and hardening work that follows.
Which license position fits a small team, a regulated organization or an air-gapped site
A small team that runs the open-source edition on its own servers uses the Apache License 2.0 in its simplest form. Staff deploy the repository with Docker Compose, keep the data inside their network, and face few license obligations as long as they do not redistribute the code. The main work is hardening the default configuration before anyone signs in.
- Change the admin password first. The Docker configuration ships a default password of
adminfor the superuseradmin@ragflow.io. The Admin Service documentation says to replace it before the first start. - Close self-registration.
ENABLE_REGISTERdefaults to 1 indocker/.env, so anyone who reaches the login page can create an account. Set it to 0 unless you intend open sign-up. - Set a connector key before adding data sources.
RAGFLOW_CONNECTOR_KEYencrypts data source connector credentials. If it is unset, those credentials are stored as plaintext. - Back up before upgrading from 0.x. The v1.0.0-rc1 release notes describe the Go rewrite's data upgrade as irreversible, so take a tested backup and a migration plan first.
Before go-live, confirm that the values in docker/.env and docker/service_conf.yaml.template match your intended configuration and that the LICENSE file in your copy is the Apache License 2.0.
In a regulated or large organization, the license is seldom the open question. Apache 2.0 permits self-hosting, but procurement and security reviewers will ask about the commercial and control terms that sit outside the repository. Those answers come from the Enterprise contract, the Data Processing Agreement and the identity design.
- Enterprise contract. RAGFlow Enterprise is sold under individual contracts, so ask for the written scope, support terms and any service levels the contract states before comparing it with the open-source edition.
- Data Processing Agreement. The DPA, last updated April 23, 2026, covers both the hosted service and customer-hosted deployments. For customer-hosted use, infrastructure security stays with you, while software-level security and support stay with RAGFlow.
- Identity controls. The authentication block in
service_conf.yaml.templateis commented out in v1.0.0, and the official docs reviewed do not describe SSO setup for the open-source edition. Ask the vendor how sign-in, multifactor authentication and access reviews are handled before you design them. - Audit logging and evidence. Confirm in writing what logging the deployed version records and which evidence the vendor can supply, because the reviewed documentation does not settle this.
Before procurement review, collect the signed Enterprise terms or a written statement that none apply, the DPA version you accepted and a documented identity design. Independent auditors and certification bodies issue any assessment results, so plan that work separately.
A company that ships RAGFlow inside its own product still receives the code under Apache 2.0, but section 4 gives it more room than many teams expect. Section 4 allows a licensee to add its own additional or different terms for its modifications or derivative works, as long as its use still complies with the license. The upstream license obligations continue to apply to the code it distributes.
- Your modifications. You may add terms to the modifications and derivative works you create, provided the way you use and distribute the code still complies with the Apache License.
- License and notice obligations. Keep the license text and the copyright and attribution notices with every copy you distribute, including the code you have modified.
- Separate agreements. Section 5 says a separate license agreement with the licensor takes precedence over the license for contributions. Ask whether your commercial arrangement needs one.
- Enterprise features. The repository ships only the open-source edition, and
build_ee.shis an empty placeholder. Confirm which features come from the repository and which need an Enterprise contract before you promise them to your customers.
Before you ship, take these questions to counsel: which of your modifications you will license on your own terms, which notices you must carry, and whether the commercial use you plan needs a vendor agreement. The RAGFlow LICENSE file is the text counsel should read first.
An air-gapped deployment changes the question from license to dependency. Apache 2.0 places no network condition on use, so the work is technical: RAGFlow runs offline only if every service image, parser and model it calls is already inside the network. The FAQ says the open-source 1.0 DeepDoc backend runs layout analysis, OCR and table recognition on CPU, and that Ollama can serve local models for offline inference. Verify both claims on your own hardware.
- Parsing without outside calls. Test layout analysis, OCR and table recognition on representative PDFs and scans on the isolated host, including documents with complex tables.
- Local models. Confirm that each chat and embedding model you select is downloaded and loaded inside the network, with its files transferred through your approved process.
- Service images. The stack depends on MySQL, MinIO, Kvrocks, NATS JetStream and your chosen document engine, Elasticsearch or Infinity. Mirror each image to an internal registry and start the stack with outbound access blocked to confirm that nothing fetches at runtime.
- Updates and migrations. Plan how security updates reach the network through your approved transfer process. Test any upgrade on a copy of the data, since the v1.0.0-rc1 release notes describe the data upgrade as irreversible.
Before approval, record the results of the offline run, including each model load, parser test and any failed step or outbound attempt, so the approval review rests on recorded test results.
What drives total cost of ownership beyond the license
This table compares the costs that sit outside the Apache 2.0 license, which carries no license fee for the open-source edition. Each row names who pays, whether the cost is one-time or recurring, what raises it and what to request in a quote. The main takeaway: infrastructure, the irreversible 0.x to 1.0 data upgrade, identity hardening and any Enterprise or hosted contract drive the cost, and no price is published for the Enterprise contract.
| Cost driver | Who pays and one-time or recurring | What raises it | What to ask for in a quote |
|---|---|---|---|
| Infrastructure | Your organization pays its cloud or data center capacity, recurring | Document volume and CPU-based parsing; README minimum is 4 CPU cores, 16 GB RAM, 50 GB disk | Sizing for your document volume and parsing load, since no published figure per volume exists |
| Setup effort | Your team or a partner pays for staff time, one-time | Docker Compose stack with MySQL, MinIO, Kvrocks, NATS and a document engine; docker/.env and service_conf.yaml.template edits | Named services, versions, configuration backup and a test plan for the full stack |
| Upgrades | Your team or a partner pays, one-time for the 0.x to 1.0 move and recurring per release | Irreversible 0.x to 1.0 data upgrade; releases from v0.27.1 on August 28 to v1.0.0 on November 6, 2026 | Tested backup and migration plan for the 0.x upgrade, plus how many releases the retainer covers |
| Identity and hardening | Your team pays, one-time for setup and recurring for reviews | No documented open-source SSO; default admin password; ENABLE_REGISTER defaults to 1; connector credentials stored in plaintext without RAGFLOW_CONNECTOR_KEY | Written confirmation of SSO support, and the work to change the admin password and set ENABLE_REGISTER and RAGFLOW_CONNECTOR_KEY |
| Enterprise contract | Your organization pays under an individual contract, recurring | Enterprise is sold under individual contracts; no Enterprise price is published | Written scope of Enterprise features, support and SLA terms, and the price terms |
| Hosted use | Your legal team pays for review, one-time; hosted fees are recurring if chosen | Data Processing Agreement, last updated April 23, 2026, covers hosted and customer-hosted deployments | Confirm the DPA version you sign, the split of infrastructure security under it and where data is processed |
What the Apache 2.0 license and RAGFlow contracts require of your organization
Apache 2.0 lets you run and modify RAGFlow without a license fee, but it attaches conditions to redistribution and leaves contract terms to the parties. The cards below separate what the license requires from what your Enterprise agreement or data processing terms might add. Confirm each point with counsel and with RAGFlow before production use.
Keep the notice and license copy
When you distribute RAGFlow, whether as a container image, a package or source, Apache 2.0 expects you to pass along a copy of the license and keep the notices in the source files. Self-hosting for your own staff is a different case from handing copies to customers or partners, so confirm with counsel which of your activities count as distribution. Ship the LICENSE file with every artifact you hand over, and record where each build went.
Read the license textMark changed files
If you redistribute modified RAGFlow code, the license expects the files you changed to carry notices saying so, and the original copyright and attribution notices to stay in place. This matters for forks and patched builds that leave your organization. Internal changes that never leave your environment raise a different question, which counsel should answer. Keep a change log per release so the required markings can be produced for any build you ship.
Trademark rights stay reserved
Apache 2.0 covers the code, but it grants no permission to use the RAGFlow name, logo or other marks. A product, internal portal or customer-facing brand that calls itself RAGFlow, or suggests that InfiniFlow endorses it, needs a separate decision. Check the naming and logos in your decks, documentation and marketplace listings before launch. If you want the name in a product, ask InfiniFlow for written permission first.
Enterprise terms sit in contract
RAGFlow Enterprise is sold under individual contracts, so its obligations, support commitments and any usage limits are set out in the document you sign. The build_ee.sh file in the upstream repository is an empty placeholder, so enterprise code cannot be inspected there. Before you buy, ask for the full agreement, the list of covered components, and the termination and data return clauses, then have counsel review them against your policies.
RAGFlow pricing detailsDPA splits security duties
The RAGFlow Data Processing Agreement, last updated April 23, 2026, covers customer-hosted deployments as well as the hosted service. For a customer-hosted deployment, infrastructure security stays with your organization, while software-level security and support remain with RAGFlow. Assign each control in your security review to one owner, and confirm in the signed agreement which software fixes and support response commitments apply to the version you run.
Data Processing AgreementNo user cap or audit right
The LICENSE text sets no limit on users, seats or instances, and it grants the licensor no right to audit your deployment. If your organization needs either term, it has to be negotiated and written into an agreement. Treat any seat limit, usage report or audit clause in a vendor proposal as contract language to read closely, and confirm with RAGFlow that the open-source edition carries no such restriction for your planned deployment.
What to collect before the RAGFlow license goes to approval
This sequence collects the license evidence, scope decisions and vendor terms that a reviewer needs before approving RAGFlow. Each step ends with a written record, so the approval rests on the exact release, edition and contract the organization plans to run.
Record the LICENSE file and release
Save the Apache License, Version 2.0 text from the LICENSE file in the infiniflow/ragflow repository, and note the release or commit you reviewed. As of December 2026, the latest release is v1.0.0, published on November 6, 2026, so record that tag unless your team tests a different build. Pull the README at the same tag to confirm the Apache-2.0 statement matches. Done when the review file names the tag or commit hash and includes a dated copy of the LICENSE text.
Confirm the edition in scope
Decide whether the organization needs the open-source edition, the hosted service at cloud.ragflow.io or the Enterprise offering, and write the choice in the review file. Apache 2.0 covers the code in the repository. The repository ships only the open-source edition, and its build_ee.sh file is an empty placeholder kept outside the upstream repository, so Enterprise code is not reviewable there. Hosted and Enterprise use each fall under their own terms. Done when the scope statement names one edition and states which terms govern it.
Request Enterprise terms and a quote
If Enterprise is in scope, ask the vendor for the contract terms and a written quote before the approval request. RAGFlow publishes no price for Enterprise, and the pricing page says Enterprise is sold under individual contracts, so the written quote is the source for cost. Ask for the license scope, deployment locations, support and SLA terms, update rights, and termination and data return terms. Done when the file holds final written terms that match the scope confirmed in the previous step.
Review the Data Processing Agreement
Read the RAGFlow Data Processing Agreement, last updated April 23, 2026, against your deployment model. It covers both the hosted service and customer-hosted deployments. For customer-hosted installs, infrastructure security stays with your team, while software-level security and support stay with RAGFlow. Map each responsibility to a named owner in your organization and note any gap for counsel. Done when the file lists every processing and security duty, its owner and the agreement version reviewed.
Get open-source support terms in writing
Ask the vendor in writing what support, security fix and upgrade assistance applies to the open-source edition. The public documentation does not describe support for that edition, so do not assume any commitment exists. Also ask whether an SSO setup path exists, since the v1.0.0 configuration template has no active OAuth, OIDC or LDAP block. Done when the answer is on file, either as written terms or as a documented statement that none are offered, and your team has accepted that position.
Document the data export and rollback path
Record how data leaves RAGFlow and how a prior version returns if an upgrade fails. The v1.0.0-rc1 release notes describe a Go rewrite of the server and say its data upgrade is irreversible, so upgrades from 0.x need a tested backup and migration plan. Cover the backup scope across MySQL, object storage and the document engine, the export method, the rollback target version and who can approve a restore. Done when a restore has been rehearsed in a non-production copy and the plan is in the file.
Obtain counsel sign-off on the reading
Give counsel the LICENSE text, the edition decision, the contract terms and the data processing agreement, and ask for a written sign-off on the license reading. Counsel should check section 4 of the Apache License 2.0, which lets a licensee add terms to its own modifications or derivative works, and section 5, under which a separate license agreement with the licensor takes precedence over the license for contributions. Done when counsel's written sign-off is attached to the approval request and names the release reviewed in the first step.
What catches buyers out with RAGFlow licensing and versions
Apache 2.0 governs what you may do with the code, and it says nothing about features, future release terms, upgrade safety or shipped settings. The four cards below are where those gaps catch buyers out in practice.
Open-source SSO is not documented
Apache 2.0 covers the right to run and change the code, and it promises no particular feature set. The open-source service_conf.yaml.template ships with its authentication block commented out, and the docs reviewed do not describe SSO setup for the open-source edition. Do not assume SSO is included because the code is open source. Confirm in writing whether SSO is included, or budget for a separate identity layer or an Enterprise contract.
Config templateLicense terms can change later
The LICENSE file in the repository is Apache License 2.0 today, and the README and sidebar state the same. Re-read the LICENSE file at each upgrade, since the terms are whatever the release you pull says. Apache 2.0 also lets a licensee add terms to its own modifications, so a fork you build may carry terms that differ from upstream. Record the license text and commit you deployed, and compare it with the next LICENSE before you pull.
LICENSE textIrreversible 0.x to 1.0 upgrade
RAGFlow v1.0.0 is the GA release, published November 6, 2026, and the v1.0.0-rc1 notes describe a Go rewrite of the server. The data upgrade is irreversible, so any 0.x deployment needs a tested backup and migration plan before the upgrade runs. Rolling back the data is not possible, so the backup is the only recovery path. Test the restore on a copy of your data as well as running the backup job, and agree the cutover steps in writing before the work starts.
Release notesDefaults that skip approval
The Docker configuration ships with a default admin password of admin, and the Admin Service documentation says to replace it before first start. ENABLE_REGISTER defaults to 1, so anyone who can reach the login page can create an account unless you set it to 0. Connector credentials are stored as plaintext when RAGFLOW_CONNECTOR_KEY is unset, so set that key before you connect any data source. Each default needs a documented change before your security review signs off.
What procurement, legal and security reviewers ask about the RAGFlow license
Can we run the RAGFlow open-source edition in our own cloud for free?
Yes. The repository's LICENSE file is the Apache License, Version 2.0, which permits running the open-source edition in your own cloud accounts, data centers or air-gapped networks without a license fee to RAGFlow. The license removes the software charge, but the infrastructure bill remains. You still pay for compute that meets the README's recommended minimum of 4 CPU cores, 16 GB RAM and 50 GB free disk, plus storage, backups, networking and the staff who operate the stack. If you connect hosted LLM APIs, those model charges also apply, while local models served through Ollama move that cost onto your own hardware. Have counsel read the LICENSE file itself as the controlling text and confirm your intended use against it.
Does RAGFlow SSO or vendor support require the Enterprise offering?
The official documentation does not describe SSO setup for the open-source edition, so treat SSO as unconfirmed until RAGFlow answers in writing. The v1.0.0 configuration template has no active OAuth, OIDC or LDAP section, and its authentication block is commented out. Ask RAGFlow whether SSO is available in the open-source edition, in Enterprise or on its roadmap, and get the answer tied to a specific version. Vendor support is also outside the Apache license, because support terms come from a separate agreement, most likely the Enterprise contract. Ask what support the open-source edition includes. If SSO is required from day one, scope it as a separate work item and confirm with RAGFlow how it would be built and supported before you commit.
Must we publish internal modifications to RAGFlow under Apache 2.0?
Apache 2.0 publication conditions attach when you distribute the software or a derivative work, and internal use alone generally does not trigger them. Counsel must confirm that reading for your jurisdiction and your specific use. If you give a modified RAGFlow to customers or partners, the license notice and attribution requirements apply, and you should review exactly what you pass on. Section 4 of the license also lets you add your own additional or different terms to your own modifications or derivative works, provided your use still complies with the license. Keep a record of every change you make to the upstream code, so counsel and auditors can see what you modified and when.
What does the RAGFlow Enterprise license cost?
RAGFlow does not publish an Enterprise price. Its pricing page states that Enterprise is sold under individual contracts, so the cost comes from a written quote. The main drivers are the features and entitlements you buy, the deployment model and who operates it, the support and response terms, the contract length, and any renewal escalation. Ask for the included feature list, the supported deployment options, the support hours and response commitments, the term and renewal mechanics, and the terms for exiting with your data and licenses, all in writing. Those answers determine whether Enterprise is worth comparing with the open-source edition. Separately, any DeployOpen fee for planning, deploying or hardening your installation follows from a written scope and is not a RAGFlow license fee.
How much effort does self-hosting RAGFlow take?
Effort depends on the hardware you size, the services you run, the configuration you set and how you handle upgrades. The README's recommended starting point is at least 4 CPU cores, 16 GB RAM and 50 GB free disk, with Docker 24.0.0 or later and Docker Compose v2.26.1 or later, and macOS is not currently supported. The stack includes MySQL, MinIO, Kvrocks, NATS JetStream and a document engine, Elasticsearch by default or Infinity as the other option, so each service needs storage, backups and monitoring. Configuration covers changing the default admin password before first start, the files in docker/, TLS and access control. Upgrades need the most care: the v1.0.0-rc1 release notes describe a Go server rewrite whose data upgrade is irreversible, so a tested backup and migration plan comes first. Ask for a scoped estimate built from your document volume and environment.
Can our own team self-host RAGFlow without outside help?
Yes, if your team already runs production Docker Compose stacks and can operate stateful services. The skills that matter are Docker and Compose v2 administration, Linux operations, reverse proxy and TLS setup, database and object storage backups, secrets handling in docker/.env, monitoring and restore testing. Parts that often need specialist time include identity integration, security testing and hardening, the first upgrade across the v1.0.0 rewrite with its migration plan, and evidence for compliance reviews. Those can be scoped as fixed work in your own infrastructure, with deliverables agreed in writing before work starts. Also confirm that your team will own the stack after handover, because an unmaintained self-hosted service is a risk that reviewers will ask about.
Does the Apache license cover the RAGFlow hosted cloud service?
No. The Apache 2.0 license covers the software in the repository, while the hosted service at cloud.ragflow.io runs under RAGFlow's own terms. Your data in the hosted service is governed by the RAGFlow Data Processing Agreement, last updated April 23, 2026, which covers both the hosted service and customer-hosted deployments. For a customer-hosted deployment, the agreement leaves infrastructure security with you and keeps software-level security and support with RAGFlow. Before you send regulated data to the hosted service, read its terms and the agreement together with your security team, and confirm subprocessors, data location and retention in writing. The license text does not answer those questions.
How DeployOpen helps your team decide on and deploy RAGFlow in your infrastructure
DeployOpen starts with the license question for RAGFlow license: what Apache 2.0 allows, then carries the decision into a deployment inside your own cloud accounts, data centers or air-gapped network. We separate what the Apache License 2.0 text permits from what your legal team must still confirm, including any Enterprise contract you may consider. The result is a written scope your team can review before any build work starts.
How we scope
- Engagements are fixed-scope, so deliverables and timelines for the RAGFlow release line are agreed in writing first.
- Your legal reviewer checks Apache 2.0 obligations against planned modifications, internal use and any added contract terms.
- The scope records which components the open-source repository covers and which, if any, would depend on a separate Enterprise contract.
How we build
- We deploy RAGFlow with Docker Compose in your infrastructure, alongside MySQL, MinIO, Kvrocks, NATS JetStream and your chosen document engine.
- We track modifications, any added terms for derivative works and license notices kept in each build.
- We keep configuration in docker/.env and docker/service_conf.yaml.template and replace the default admin password before first start.
How we hand over
- A written license review listing applicable Apache 2.0 terms, open-source components and open questions.
- Deployment documentation covering the Docker Compose setup, required services, ports 9380 and 9381, and configuration keys.
- A tested backup and migration plan for upgrades from 0.x, because the v1.0.0-rc1 data upgrade is irreversible.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, agreed in writing before they start.
- Upgrade work under a retainer starts with the release notes and a verified backup before any change.
- Continuous testing of the deployment, and a license record reviewed again when the project or your use changes.

