head to head · open source

haystack vs dtm

haystack has 26,926 GitHub stars, 3,390 forks, 143 open issues and last shipped yesterday. dtm has 10,933 stars, 997 forks, 87 open issues and last shipped 10 months ago. haystack leads on adoption by 146% (26,926 vs 10,933 stars). haystack is written in Python under Apache-2.0; dtm is written in Go under BSD-3-Clause. haystack has attracted 13% as many forks as stars, dtm 9%. haystack was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

haystack ★ 27K dtm ★ 11K category Infrastructure & Operations

← all 20902 open source comparisons

Side by side

haystack dtm
GitHub stars ★ 27K ★ 11K
License Apache-2.0 BSD-3-Clause
Written in Python Go
Last push 2026-11-04 2026-01-03
Forks ⑂ 3.4K ⑂ 997
Self-hosting Yes Yes
Data ownership Your server Your server

pick haystack if

  • You weight community size — 27K stars and counting
  • You want the Apache-2.0 license terms
  • Your stack matches Python
  • You value the larger contributor base for long-term maintenance

full haystack profile →

pick dtm if

  • You want the dtm feature set and don't need the biggest community
  • You prefer the BSD-3-Clause license terms
  • Your stack matches Go
  • You evaluated both and dtm fits your workflow better

full dtm profile →

About haystack

🎉🎊✨ Haystack 3.0 is out! ✨🎊🎉 Read the announcement here! 🥳 🎈 🎆 🪅 🎇 🍾 🥂 🎁 🌈 Haystack is an open source AI orchestration framework for building production ready LLM applications in Python. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Build scalable RAG systems, multimodal applications, semantic search, question answering, and autonomous agents, all in a transparent architecture that lets you experiment, customize deeply, and deploy with confidence. Table of Contents Installation Documentation Features Haystack Enterprise: Support &…

read the full haystack overview →

About dtm

English 简体中文 Distributed Transactions Manager What is DTM DTM is a distributed transaction framework which provides cross service eventual data consistency. It provides saga, tcc, xa, 2 phase message, outbox, workflow patterns for a variety of application scenarios. It also supports multiple languages and multiple store engine to form up a transaction as following: Who's using DTM (partial) Tencent Bytedance Ivydad More Features Support for multiple transaction modes: SAGA, TCC, XA, Workflow, Outbox Multiple languages support: SDK for Go, Java, PHP, C , Python, Nodejs Better Outbox: 2 phase messages, a more…

read the full dtm overview →

More in Infrastructure & Operations

Related comparisons

More Orchestration & Scheduling projects

Compare either of these against the rest of the Orchestration & Scheduling field.

Frequently asked questions

Is haystack or dtm more popular?

haystack has 26,926 GitHub stars and dtm has 10,933. haystack has the larger community by that measure.

Are haystack and dtm free?

Both are open source. haystack is licensed under Apache-2.0 and dtm under BSD-3-Clause. Neither carries a licence fee.

What is the difference between haystack and dtm?

haystack is written in Python and dtm in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, haystack or dtm?

Choose haystack if you want the larger community (26,926 stars) or its Apache-2.0 licence terms. Choose dtm if its feature set, stack or BSD-3-Clause licence fits better. Both are self-hostable.