head to head · open source
tfsec vs agent-governance-toolkit
tfsec has 7,038 GitHub stars, 558 forks, 18 open issues and last shipped 6 months ago. agent-governance-toolkit has 6,293 stars, 1,123 forks, 176 open issues and last shipped yesterday. tfsec leads on adoption by 12% (7,038 vs 6,293 stars). tfsec is written in Go under MIT; agent-governance-toolkit is written in Python under MIT. tfsec has attracted 8% as many forks as stars, agent-governance-toolkit 18%. agent-governance-toolkit was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (compliance), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| tfsec | agent-governance-toolkit | |
|---|---|---|
| GitHub stars | ★ 7.0K | ★ 6.3K |
| License | MIT | MIT |
| Written in | Go | Python |
| Last push | 2026-03-25 | 2026-09-19 |
| Forks | ⑂ 558 | ⑂ 1.1K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick tfsec if
- You weight community size — 7.0K stars and counting
- You want the MIT license terms
- Your stack matches Go
- You value the larger contributor base for long-term maintenance
pick agent-governance-toolkit if
- You want the agent-governance-toolkit feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and agent-governance-toolkit fits your workflow better
About tfsec
tfsec is a static analysis security scanner for Terraform code, written in Go and released under the MIT license. It lives in the infrastructure as code and DevSecOps ecosystem, alongside tools such as linters and CI scanners. The project is now part of Trivy, Aqua Security's broader open source security scanner, and its Terraform scanning engine forms the foundation of Trivy's IaC and misconfiguration scanning capabilities. The repository remains available, but engineering attention is directed at Trivy going forward.
read the full tfsec overview →
About agent-governance-toolkit
Agent Governance Toolkit is a Microsoft open source Python toolkit that adds policy enforcement, zero trust identity, execution sandboxing, and reliability engineering to autonomous AI agents, aimed at teams putting tool using or multi agent systems into production under compliance obligations.
read the full agent-governance-toolkit overview →
More in Business Software
Related comparisons
More Compliance & Risk Management projects
Compare either of these against the rest of the Compliance & Risk Management field.
Frequently asked questions
Is tfsec or agent-governance-toolkit more popular?
tfsec has 7,038 GitHub stars and agent-governance-toolkit has 6,293. tfsec has the larger community by that measure.
Are tfsec and agent-governance-toolkit free?
Both are open source. tfsec is licensed under MIT and agent-governance-toolkit under MIT. Neither carries a licence fee.
What is the difference between tfsec and agent-governance-toolkit?
tfsec is written in Go and agent-governance-toolkit in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, tfsec or agent-governance-toolkit?
Choose tfsec if you want the larger community (7,038 stars) or its MIT licence terms. Choose agent-governance-toolkit if its feature set, stack or MIT licence fits better. Both are self-hostable.