
Garuda
io.github.myshra777-ai由 GitHub 账号 myshra777-ai 发布v1.9.11更新于 Nov 3, 2026
面向AI编码代理的影响分析、架构规则和防篡改账本。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Impact analysis, architecture rules and a tamper-evident ledger for AI coding agents.
概览
Garuda 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 Garuda,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Garuda
AI can write the code. Garuda makes sure the change respects your system.
Change control for AI-written code.
Leading an engineering team? The business case in two minutes →
[License: Apache 2.0] [MCP server] [Claude Code plugin] [Codex plugin] [GitHub Action]
[The Garuda dashboard: a map of your system, with the guard switched on]
▶ Watch the dashboard demo video
What is this?
You let an AI assistant (Claude Code, Cursor, Codex…) change your code. It works. The tests pass. But did it quietly skip your service layer, break a rule your team agreed on last year, or change a number your finance team relies on?
Your assistant is good at writing code. It does not automatically know every decision your team made, every part of the system that depends on the code, or every rule that has to stay true.
Garuda is a safety check that sits between your AI assistant and your codebase:
- Before the assistant edits something, Garuda tells it who depends on that code and which rules apply.
- After the edit, Garuda checks the change against your rules and says allow, warn, review or block, with plain instructions for fixing it.
- Saved decisions are sealed into a tamper-evident log, so you can prove later what was checked and when.
Know the impact. Enforce the rules. Keep the evidence.
Works with Go, Python and TypeScript, and more languages are on the way.
One change, start to finish
Say your assistant is asked to add a feature to the payment handler.
- It asks Garuda first. Garuda replies: "12 other things depend on this. It is high-risk code. Rule: the payment handler must not talk to the database directly."
- The assistant makes its edit. In a hurry, it calls the database straight from the handler.
- Garuda checks the change. It sees the broken rule, says BLOCK, and tells the assistant exactly what to move and where.
- The assistant fixes it. The second check says ALLOW.
- The result is saved. You get a receipt you can look up later.
Garuda also separates problems this change introduced from problems that were already there. You are not asked to clean up years of old code before you can move forward. You only answer for what is new.
It reads Go the way the compiler does, so the answers are repeatable. Python and TypeScript are read by their code structure, which is accurate but not as deep (see What Garuda does not do).
Take the tour (about 10 minutes)
1. Install it · 3 minutes
setup.sh starts a local PostgreSQL database, builds the tools into bin/, and starts the dashboard.
It prints your login at the end. On Windows use setup.ps1.
Just want to look first? npx garuda-guard demo runs the demo below with no database (needs Node 18 or newer).
Prefer to let an AI assistant do it? Copy a prompt for ChatGPT, Claude, Codex or Cursor.
Prefer one line? curl -fsSL https://raw.githubusercontent.com/myshra777-ai/garuda/main/install.sh | bash does the same.
(As with any installer you pipe into a shell, read it first.)
2. Watch it catch three planted bugs · 1 minute
This builds a tiny fake payments service with three problems planted on purpose, runs Garuda's analyzer on it, and lists the problems Garuda is built to catch. It needs no database:
You'll see each problem, the exact file and line, and a short "how to fix it" an AI assistant can follow.
The service and its three problems are made up for the demo, and the demo lists them rather than detecting them. To see real detection on real code, finish step 1 and run garuda check in step 4. On Windows, run .\bin\garuda.exe demo.
3. Open the dashboard · 2 minutes
Go to http://localhost:8080/login and sign in with the login setup.sh printed.
[The dashboard's own five-step guide]
The dashboard's front page walks you through five steps. Here is what each part gives you:
Add your own project. Click New Workspace, paste a GitHub link or a folder path, and Garuda reads the code for you.
[Create a workspace by pasting a repository link]
See your system without the spaghetti. Instead of one giant tangled graph, Garuda shows the small neighbourhood around the thing you care about: who calls it, and what it calls.
Turn written decisions into enforced rules. Drop in your design docs or decision records (ADRs). Garuda pulls out the "must" and "must not" lines and links them to the code they talk about. No docs yet? It drafts a rulebook from your code for you to approve.
[From design documents to enforced rules]
Spot numbers that disagree. When two teams calculate the same metric differently, or one query divides by 1e7 and another by 1e8, Garuda helps you line up the two versions, shows the formulas it found in the code, and asks a human to decide which one is right. It does not guess.
[Data and logic audit catching a 10x mismatch]
Learn the signals. Every badge has one fixed meaning:
[Glossary of Garuda's signals]
4. Point it at your own code · 3 minutes
Not sure which rules to start with? Pick a ready-made set: garuda init . --template layered (also hexagonal, microservices, no-circular-imports, financial, zero-trust-auth, ai-agent-safety, pii-gdpr-hipaa, idempotent-mutations, or all). They live in policies/templates/.
Coming from ArchUnit, Dependency-Cruiser or Import Linter? garuda import --from archunit --input <file> converts your existing rules.
If something looks off, run ./bin/garuda doctor. It checks your database, migrations and hooks and tells you what is wrong.
Plug it into your AI assistant
garuda init sets this up automatically for Claude Code, Claude Desktop and Cursor. To install it as a plugin instead:
The plugin needs the garuda-mcp program and a database, so do step 1 above first.
What your assistant gets: 54 tools (41 read-only, 13 that can change state) and 6 skills, short playbooks that tell it when to use them:
Check every pull request
Your assistant's good behaviour is a request. A pull request check is a rule. Add the GitHub Action and every pull request gets a verdict:
- the verdict (ALLOW, WARN, REVIEW or BLOCK) and a receipt hash in the run summary, with a one-line command to reproduce it on your machine;
- a BLOCK fails the check;
- with the ready-made workflow,
.github/workflows/garuda-gate.yml, you also get a verdict comment on the pull request and findings in GitHub's Security tab; - optional Slack or Teams alerts through
garuda check --notify-slack/--notify-teams.
Copy a ready-to-paste snippet from docs/GITHUB_MARKETPLACE_STRATEGY.md, or use action.yml directly.
One more step makes it real: in your repository go to Settings → Rules (or Branches), and make the Garuda check a required status check. Until you do, a failing check is only a warning that people can merge past.
What Garuda does not do
We would rather you trust the rest of this page.
- It is not a cage for your assistant. Garuda gives the assistant context and blocks bad changes, but an assistant can ignore advice and hooks can be switched off. The check that cannot be skipped is the required pull request check above.
- Go is understood more deeply than Python and TypeScript. Go is read with the compiler's own type information. Python and TypeScript are read by code structure, which is accurate for imports, calls and layers but does not resolve every type.
- Not every check is stored automatically. A result is only sealed into the tamper-evident log when the check is saved. The log proves a record was not changed afterwards. It does not prove the analysis was complete.
- The number-mismatch tools help a human decide. They line up the formulas and values you point them at. They do not automatically understand every financial calculation in a company.
48 Crvs4.8 Crin the demo is a planted example. - The numbers on this page come from a specific release. See
EVIDENCE.mdfor what was measured, on what, and when.
Who is it for?
Teams that already use AI coding assistants a lot, on a real codebase with rules that matter: layers that must not be skipped, data-access limits, security or money-handling requirements. If you cannot read every AI-written change yourself, Garuda is for you.
Free and paid
Everything above runs locally and is free and open source (Apache 2.0). Hosted and multi-team features (shared policies across an organisation, single sign-on, long-term audit storage) are planned for a paid tier.
Learn more
QUICKSTART.md: the same journey with more detaildocs/TALON.md: how the before-and-after check worksdocs/DASHBOARD_WALKTHROUGH.md: every dashboard pagedocs/DATA_AND_LOGIC_AUDIT_GUIDE.md: the number-mismatch checksdocs/adr/: the decisions behind Garuda itselfdocs/LISTING_GUIDE.md: how this project gets listed in plugin and MCP directoriesINSTALL.md·docs/API.md·EVIDENCE.md·SECURITY.md·CONTRIBUTING.md
Let AI move fast. Keep control of what it changes.
Released under the Apache 2.0 License.
来源:README.md,提交 cab7d08
工具
0版本历史
2- v1.9.11最新Nov 3, 2026
- v1.9.10Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分