rosetta  by griddynamics

AI coding agent framework for structured development and reliable code generation

Created 4 months ago
293 stars

Top 90.1% on SourcePulse

GitHubView on GitHub
Project Summary

Meta-prompting, context engineering, and centralized instructions management for AI coding agents, Rosetta addresses the reliability and consistency gaps in current AI coding tools. It guides AI systems with structured context, including rules, skills, and workflows, enabling them to operate with a deep understanding of system architecture, domain constraints, and engineering standards. This accelerates project onboarding and improves the reliability of AI-generated code by ensuring the right information is loaded into context at the right time.

How It Works

Rosetta employs a four-phase interaction model: Prepare (load guardrails and context), Research (search the knowledge base), Plan (produce a reviewable plan), and Act (execute with full context). Its core approach involves meta-prompting and context engineering, where it reverse-engineers project architecture, tech stack, business context, and coding patterns into structured workspace files. This structured context is progressively loaded, keeping the agent's context lean and reasoning sharp, thereby improving token efficiency and preventing shallow reasoning common in autoregressive models. Guardrails are enforced constraints that cannot be turned off.

Quick Start & Requirements

Installation is MCP-based for supported coding agents like Cursor, Claude Code, GitHub Copilot (VSCode/JetBrains), Windsurf, Codex, Antigravity, OpenCode, and Gemini CLI. Standalone installation is also supported. Configuration typically involves adding Rosetta's MCP server URL to agent-specific configuration files (e.g., ~/.cursor/mcp.json) or using CLI commands (claude mcp add, codex mcp add). No specific non-default prerequisites like GPUs are mentioned, but compatibility with an MCP-compatible coding agent is essential.

Highlighted Details

  • Enforced Guardrails & Safety: Implements critical review, risk assessment, data masking, and blocking of dangerous actions as non-negotiable constraints.
  • Human-in-the-Loop & Validation: Integrates approval gates at key decision points (specs, plans, risky actions) and mandates build/run/test cycles before proceeding, ensuring human oversight and functional correctness.
  • Intelligent Workflow Management: Auto-classifies requests into 12 types, dynamically loading tailored instructions, sub-agents, and skills for specific tasks.
  • Decoupled Review & Resumable Sessions: Utilizes a separate agent with fresh context for objective code review and persists execution state for resumable workflows after interruptions.
  • Perimeter Security & Agent Agnosticism: Designed for air-gapped environments with deterministic instruction serving and no code transmission. Instructions are layered (core, org, project) and agent-agnostic, working across multiple IDEs without vendor lock-in.
  • Instructions as Code: AI behavior is authored in markdown, version-controlled in Git, reviewed in pull requests, and approved before deployment, applying standard engineering rigor to AI control.

Maintenance & Community

Contributions are welcome, with guidelines provided in CONTRIBUTING.md. Community support is available via rosetta-support@griddynamics.com.

Licensing & Compatibility

The specific license details are available in the LICENSE file. Rosetta is designed for broad compatibility, working across Cursor, Claude Code, VS Code, JetBrains, Windsurf, Codex, Antigravity, OpenCode, and any MCP-compatible IDE, supporting agent-agnostic instruction management.

Limitations & Caveats

A disclaimer notes that users effectively managing their current AI setups may not need Rosetta. A warning emphasizes that users are responsible for ensuring their use complies with applicable laws, regulations, and contractual obligations. Write mode for agents is disabled by default and requires explicit configuration.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
20
Issues (30d)
7
Star History
263 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.