Engineering governance and context for AI coding agents — shared instructions, architecture, standards, workflows, and guardrails in every session.
What is Rosetta
| AI coding agents are powerful, but hard to use consistently across a real team. Rosetta is open-source engineering governance and context for AI coding agents. It works with the tools you already use and loads your team's shared engineering instructions into every session. Everything is versioned in Git and can run inside your perimeter. |
Rosetta-guided work follows five phases: Prepare (load guardrails and context), Research (gather relevant knowledge), Plan (produce a reviewable plan), Act (execute with full context), and Validate (verify with real execution evidence). Read more in the Usage Guide.
Top Workflows
coding-flow: AI creates features, fixes defects, and performs refactoring, everything end-to-end. AI performs discovery, design, specs and a plan, user review, then AI implements and runs separate review and validation passes (including running application). Most useful for medium to large coding tasks, and for controlled component-by-component migration/modernization work.requirements-authoring-flow: AI works with user and raw artifacts to define entire-application requirements. AI discovers context and existing constraints, captures intent, drafts atomic requirement units, validates them, and finalizes traceability artifacts. This is the most efficient use of coding agents. Requirements then Coding.security-flow: AI runs an authorized, evidence-preserving security review through mandatory specialist subagents. It gates secret-bearing files before source ingestion, bounds active testing to approved pre-production targets, independently reviews evidence, and prepares concise inputs for a later coding flow without starting remediation.testgen-flow,api-aqa-flow,ui-aqa-flow: AI handles QA-related work such as generating test cases and creating API or UI automation tests. AI first collects project context, requirements, and existing QA assets, clarifies gaps, and only after that generates test cases or automation tests.code-analysis-flow: AI creates grounded analysis documents based on the codebase. AI first loads project context, asks clarification questions, then produces either one focused analysis document or parallel module analyses plus a summary.help-flow: AI explains available Rosetta workflows, skills, and agents. Most useful when the user is unsure which Rosetta capability to use.init-workspace-flow: AI sets up a repository for AI use in both brownfield and greenfield projects. AI first analyzes the workspace, builds baseline docs, asks gap-filling questions, and verifies the result. Use it once per repository as its purpose is to build context for subsequent sessions.
If you prefer more vibe-coding, check the guardrails and useful skills below.
Top Guardrails
- Dangerous actions detection and handling: AI will think about blast radius and will not take unsafe actions without clear acceptance from a user.
- Sensitive data handling (Secrets, PCI, PHI, PII, etc): AI will not read, query, or distribute (affects itself), and it will code respecting that (affects code).
- Shared infrastructure understanding: AI will not behave as if the environment belongs only to it.
- Deviation control: AI will detect drift and will try to overcome that.
- Human-in-the-Loop: AI will ask for user review or approval whenever it is needed.
- Risk assessment: AI will review current workspace setup, if there is a chance AI can damage - it will report.
- Self-learning and organization: AI learns on mistakes (repo-level) and organizes its own work.
Top Skills
planning,tech-specs: Turn a request into a clear plan and actionable specs.orchestration: Coordinate an efficient team of subagents for large tasks (also request “team manager” capability for full experience).questioning,hitl: AI to work with human, not over or behind, to be more human-oriented.research,reverse-engineering: Repository grounded research and logical reverse engineering (business logic extraction).coding,debugging,testing: Implementation, debugging with root-cause analysis, and validation.security: Run authorized security reviews with secret-first safety gates, bounded testing, lossless evidence, independent review, and remediation-task preparation.reasoning: Requires AI to decompose and recompose the problem, boundaries, actors, roles, gaps, contradictions, and perform recursive tree-of-thoughts reasoning.solr-*: AI will help to build SOLR search-related artifacts.
Why use it
- Context engineering, not prompt hacking. Agents receive your conventions, architecture, and business rules automatically — structured, versioned, and ready before the first line of code. See how it fits your workflow.
- Write once, run everywhere. Agent-agnostic design adapts to any IDE and any tech stack. No per-tool maintenance.
- Guardrails built in. Approval gates, risk assessment, and data protection ensure consistent AI behavior across teams. See how Rosetta protects you.
- Cross-project intelligence (opt-in, self-hosted MCP). Publish business and technical context from every project into a shared knowledge base. Agents see the system, not just one repo — trace flows across services, catch breaking API changes before they ship, and assess blast radius of any change across the portfolio.
- One-command onboarding. New repo, new developer — productive immediately with best practices baked in.
- Instructions as code. Prompts version-controlled with release management — single source of truth for all teams.
How it works
Your IDE loads Rosetta as a plugin — the default, with no server and no live connection needed — or connects to the Rosetta MCP server if your IDE has no plugin or you need centrally-managed instructions. Either way, Rosetta exposes guardrails and common best practices, and provides a menu of available instructions — workflows and coding conventions. The coding agent selects only what it needs for the current task; Rosetta delivers just those, keeping the agent’s context lean. By design, no source code or project data reaches Rosetta.
Rosetta is designed to not see your source code or IP. It only serves knowledge and instructions to the agent. The agent loads only what it needs per request (progressive disclosure) and follows your organization’s workflows.
Get Started
| Option | Best for |
|---|---|
| Plugins — recommended | Everyone with a supported IDE (Claude Code · Cursor · Copilot · Codex). Files install locally — no server, no live connection needed. |
| Hosted MCP — evaluation only | Try Rosetta with zero setup, or use any other MCP-compatible agent (Devin/Windsurf · Junie · OpenCode). Public demo endpoint — do not point production or sensitive repos at it. |
| Self-hosted MCP — optional | MCP in production: your own MCP server and RAGFlow inside your perimeter. Only needed if you specifically require centrally-managed, always-fresh instructions with nothing copied into repos — most teams don’t. |
After installation, ask:
Greenfield (new repository):
Initialize this repository using the respective Rosetta workflow, this is a new repository, target tech stack: ..., target architecture: ..., business context: ...
Brownfield (existing repository):
Ask the agent to initialize the repository:
Initialize this repository using the respective Rosetta workflow
Optionally, add details to that same request. If your workspace contains multiple repositories:
Initialize this repository using the respective Rosetta workflow, this is a composite workspace
To tell the agent where dead code or existing specs live:
Initialize this repository using the respective Rosetta workflow, dead code is in <path>, existing specs are in <path>
STDIO transport is available for environments with limited internet access. All IDEs and detailed setup. Read more in the Quick Start.
Tech Demo: Init and Coding
Tech Demo: Frontend Migration
Supported IDEs and Agents
- Cursor
- Claude Code
- VS Code / GitHub Copilot
- JetBrains (Copilot, Junie)
- Windsurf
- Codex
- Antigravity
- OpenCode
Works with any other IDE too — via a plugin where supported, via MCP otherwise.
Documentation
| I want to… | Read |
|---|---|
| Understand what Rosetta is and how to think about it | Overview |
| Set up Rosetta | Quick Start |
| Learn how to use Rosetta flows | Usage Guide |
| Understand the system architecture | Architecture |
| Navigate the codebase | Developer Guide |
| Contribute a change | Contributing |
| Debug a problem | Troubleshooting |
| Self-host MCP for my organization (optional, rare) | Deployment |
Contributing
Contributions welcome. See Contributing for workflow and expectations.
Community
License
See LICENSE for details.