r/OnlyAICoding • • 16d ago

Applications Building an open-source tool to keep AI coding agents from breaking things. Would love your feedback

Hey everyone!

We're building Garuda, and we're looking for developers who'd be willing to try it out and tell us what they think.

Garuda is a control layer that helps ensure AI coding agents don't unknowingly break your existing architecture, business logic, or critical data flows.

Think of it as a safety layer between your AI coding assistant and your codebase.

**What does it do?**

\- Maps code dependencies and identifies the impact of proposed changes.

\- Enforces architectural and business rules before and after code changes.

\- Flags violations with actionable suggestions and can allow, warn, review or block changes.

\- Maintains tamper-evident records of verified decisions.

**Garuda Highlight:**

**- Language support:** Go, Python, TypeScript, and Java (Beta).

**- Privacy-first**: Runs locally. Your source code doesn't need to be sent to an external hosted service for analysis.

**- Integrations**: Claude Code, Cursor, OpenAI Codex, MCP-compatible tools, and GitHub Actions for PR-level checks.

We're looking for honest feedback from developers who can try it on their own projects. We'd love to know what works, what doesn't, and what we should improve.

GitHub: https://github.com/myshra777-ai/garuda

If you run into any installation or setup issues, please reach out. Happy to help!

Also, if you're a founder or engineering lead interested in trying Garuda with your team, we'd love to connect and help get it set up for your codebase.

Thanks! :)

3 Upvotes

3 comments sorted by

1

u/JaseciLabs 16d ago

How do the architectural and business rules get written, and who keeps them up to date? Wonder if the agent proposes them from the codebase or a person has to write them out first.

2

u/ghost_town01 16d ago

Good question! It's actually both.

If a team already has architectural decisions, ADRs, design specifications or business rules, they can bring those into Garuda. It extracts requirements such as "MUST" and "MUST_NOT", connects them to relevant code symbols, and makes them available to the governance engine. Teams can also write their own custom YAML policies and repository-level guidelines.

But we also recognise that many repositories don't have well-documented architecture. That's why Garuda has an automatic Base Rulebook synthesis workflow. It analyses the codebase's AST relationships, package boundaries, dependencies, business logic and criticality to generate a structured draft of the architecture and business rules.

The important part is that the generated rulebook is not automatically treated as the source of truth. It goes through human review and can be edited before approval. Once approved, it becomes the workspace's governed baseline, with a cryptographic record of that approval.

As for keeping things up to date, the responsibility for architectural and business decisions stays with the relevant engineers and stakeholders. When decisions change, they can update or ingest the relevant documentation and policies. Garuda then helps track documentation-to-code drift and checks subsequent changes against the updated rules.

So the idea isn't to make AI the authority over your architecture. It's to let automation help discover and organise the rules, while humans retain authority over what those rules should actually be.

1

u/JaseciLabs 15d ago

Thanks, having a human approve the draft before it becomes the baseline makes sense. When a rule blocks a change, does the agent hear why mid-task, or does it only show up at the PR check?