Source: https://seerepo.com/compare/hashicorp/terraform/vs/infiniflow/ragflow
Markdown source: https://seerepo.com/compare/hashicorp/terraform/vs/infiniflow/ragflow.md
Description: terraform and ragflow share 6 technologies: pq, s3, golang.org/x/oauth2, go.opentelemetry.io/otel/trace, OpenTelemetry, and github.com/aws/aws-sdk-go-v2. Both are written in Go.

# terraform vs ragflow

terraform and ragflow share 6 technologies: pq, s3, golang.org/x/oauth2, go.opentelemetry.io/otel/trace, OpenTelemetry, and github.com/aws/aws-sdk-go-v2. Both are written in Go.

- [hashicorp/terraform](https://seerepo.com/r/hashicorp/terraform): Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow): RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

## What they share and what sets them apart

- In common: pq, s3, golang.org/x/oauth2, go.opentelemetry.io/otel/trace, OpenTelemetry, github.com/aws/aws-sdk-go-v2
- Only in terraform: github.com/aliyun/aliyun-oss-go-sdk, Consul, github.com/aws/aws-sdk-go-v2/service/dynamodb, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/xanzy/ssh-agent, github.com/hashicorp/go-hclog, github.com/oracle/oci-go-sdk/v65, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, github.com/aws/aws-sdk-go-v2/feature/ec2/imds, go.opentelemetry.io/contrib/exporters/autoexport, go.opentelemetry.io/otel/sdk
- Only in ragflow: net/http, Gin, go-redis, mysql-connector-python, pgx, Postgres, MySQL, Redis, AWS S3, Google, MCP, AIOHTTP, werkzeug, React, React Router, OpenAI, github.com/aws/aws-sdk-go-v2/credentials, github.com/golang-jwt/jwt/v5, Model Context Protocol, github.com/yuin/goldmark, github.com/ledongthuc/pdf, github.com/gomarkdown/markdown, github.com/emersion/go-message, golang.org/x/image, reportlab, go.uber.org/zap, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/sts, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, github.com/Azure/azure-sdk-for-go/sdk/azcore, qrcode, Tailwind CSS, classnames, class-variance-authority, tailwind-merge, next-themes, React Hook Form, xyflow, Radix UI, lexical, tanstack, @monaco-editor/react, react-syntax-highlighter, sonner, react-force-graph-2d, react-day-picker, react-copy-to-clipboard, recharts, @floating-ui/react, cmdk, D3, embla-carousel-react, Mermaid, react-dropzone, react-resizable-panels, Lucide, Ant Design, @lexical/markdown, dompurify, react-markdown, react-pdf-highlighter, rehype-katex, rehype-raw, unist-util-visit-parents, xlsx, papaparse, remark-gfm, rehype-sanitize, remark-breaks, remark-math, Zod, @hookform/resolvers, Ajv, ajv-formats

## Side by side

| | terraform | ragflow |
|---|---|---|
| Size | 663,387 lines written, 1,189 code files | 1,294,372 lines written, 2,843 code files |
| Who writes it | 0% of its commits signed by AI. With Claude Code | 2.1% of its commits signed by AI. With Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory |
| Activity | Last push November 5, 2026, 29,067 commits, 50,150 stars | Last push November 4, 2026, 10,792 commits, 93,494 stars |
| Tests | 810 test files. 74.8% of its code files have a test that imports them | 1,962 test files. 50.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, terraform or ragflow?

ragflow, with 1,294,372 lines written; terraform has 663,387.

The proof: [infiniflow/ragflow's code at commit 8cab68a](https://github.com/infiniflow/ragflow/tree/8cab68a9a3b083da95abb2ea0789b0a5623defaf)

### Which has more GitHub stars, terraform or ragflow?

ragflow, with 93,494 stars; terraform has 50,150.

The proof: [infiniflow/ragflow on GitHub](https://github.com/infiniflow/ragflow)

### Which has more tests, terraform or ragflow?

ragflow, with 1,962 test files; terraform has 810.

The proof: [infiniflow/ragflow's code at commit 8cab68a](https://github.com/infiniflow/ragflow/tree/8cab68a9a3b083da95abb2ea0789b0a5623defaf)

### Which was updated more recently, terraform or ragflow?

terraform: its last push was on November 5, 2026, and ragflow's on November 4, 2026.

The proof: [hashicorp/terraform's commits on GitHub](https://github.com/hashicorp/terraform/commits)

### Which has more commits signed by AI, terraform or ragflow?

ragflow: an AI signed 2.1% of its commits, with Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory.

The proof: [the commits each tool signed in infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/ai)

## Sources

- hashicorp/terraform: Read on November 5, 2026, at commit 7cf2eaf (https://github.com/hashicorp/terraform/tree/7cf2eaf97bfb766c959cc8da91ad60ced0055569)
- infiniflow/ragflow: Read on November 4, 2026, at commit 8cab68a (https://github.com/infiniflow/ragflow/tree/8cab68a9a3b083da95abb2ea0789b0a5623defaf)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
