open-policy-agent/regal
Regal is a linter and language server for Rego, bringing your policy development experience to the next level!
Star History
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#412
MOST-STARRED Go
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
regal gained 10 stars in the last 30 days, about 1 a day, and now has 409. It is about 4 years old and has averaged roughly 102 stars a year. It ranks #412 among Go repositories and #3,938 across all languages on GitHubRepo.
Trending Record
4
DAYS ON TRENDING
#2287
BEST RANK
Sep 25, 2026
FIRST APPEARANCE
Active
STATUS TODAY
regal has maintained a continuous presence across global trending indexes, peaking at #2287. Below is the 30-day activity profile:
💡 Overview
regal is an open-source project written in Go: Regal is a linter and language server for Rego, bringing your policy development experience to the next level!.
Engineered for speed, consistency, and developer ease, it solves common hurdles in code-quality, language-server, linter. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Go for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ go install github.com/open-policy-agent/regal@latest
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Go >= 1.21 runtime environment
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
regal coordinates its core functionality through a modular Go pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with regal.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install regal using your package manager: `go install github.com/open-policy-agent/regal@latest`
Initialize your project workspace or configuration file for regal.
Import regal into your codebase or invoke it directly from your terminal.
Execute your test suite or run `regal --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
open-policy-agent/regal is currently ranked #3,938 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #3,931 | kubernetes/kubelet | Go | ★ 411 | Compare ↗ |
| #3,931 | Chenruishuo/posterly | Python | ★ 411 | Compare ↗ |
| #3,935 | ShaftHQ/SHAFT_ENGINE | Java | ★ 410 | Compare ↗ |
| #3,935 | ViaVersionAddons/ViaBedrock | Java | ★ 410 | Compare ↗ |
| #3,935 | opentofu/registry | Go | ★ 410 | Compare ↗ |
| #3,938 | open-policy-agent/regal This Project | Go | ★ 409 | |
| #3,938 | toastdriven/itty | Python | ★ 409 | Compare ↗ |
| #3,938 | ReactiveMongo/Play-ReactiveMongo | Scala | ★ 409 | Compare ↗ |
| #3,938 | Keesan12/martin-loop | TypeScript | ★ 409 | Compare ↗ |
| #3,942 | hiero-ledger/hiero-consensus-node | Java | ★ 408 | Compare ↗ |
| #3,942 | floci-io/floci-gcp | Java | ★ 408 | Compare ↗ |
Frequently Asked Questions
What does regal do? +
Regal is a linter and language server for Rego, bringing your policy development experience to the next level!
What language is regal written in? +
The primary language is Go. Topics include: code-quality, language-server, linter, lsp, magnificent.
Is regal actively maintained? +
Yes, the last recorded push was on Sep 25, 2026 with 139 open issues being tracked.
How many stars does regal have? +
regal has 409 stars and 59 forks on GitHub.
How does regal rank among GitHub repositories? +
With 409 stars, open-policy-agent/regal is ranked #3,938 globally across all repositories tracked on GitHubRepo and #412 among Go projects.
What license is regal distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.