Architecture
Rosetta is a meta-prompting, context engineering, and centralized instructions management for AI coding agents. It provides structured context - rules, skills, workflows, and sub-agents - guiding AI systems to operate with a deep understanding of system architecture, domain constraints, and engineering standards. Rosetta also accelerates project onboarding by reverse-engineering architecture and domain context, improving the reliability and consistency of AI-generated code.
When you type a request in your IDE, the agent loads context from Rosetta first — then follows your organization's proven workflows. Rosetta is designed so that source code stays on your machine.
Plugins — recommended. Generated once, installed locally. No server, no live connection.
Copilot · Codex
no live connection
at build time
via Rosettify generator
Progressive Disclosure
Instructions load on demand. The agent gets only what it needs for your specific request — context stays focused, responses stay precise.
Three-Layer Instructions
Core · Organization · Project — merged into the plugin package at build time by the generator, from your Instructions Repo.
MCP — optional, secondary. For IDEs without a Rosetta plugin, or centrally-managed instructions via RAGFlow. Most teams don't need this.
JetBrains · Windsurf · Codex
Antigravity · OpenCode
chunk · embed · retrieve
Design Principles
Agent-agnostic
Works across Cursor, Claude Code, VS Code, Windsurf, JetBrains, GitHub Copilot, Codex, and any MCP-compatible IDE. Adopts agent-specific features where available, simulates them where not.
Progressive disclosure
Instructions load in stages — bootstrap, classification, workflow-specific. The agent gets only what it needs for the current task. Prevents context overflow.
Classification-first
Every request is auto-classified into a workflow type before any work begins. Classification drives which instructions, skills, and rules load.
Release-based versioning
Instructions organized by release (r1, r2, r3). R3 is the final numbered release; updates land incrementally without breaking stable agents. Rollback is always possible.
Rules-as-code
AI behavior is authored, versioned, reviewed, and approved through standard engineering workflows — same rigor as application code.
Security by design
No source code transfer. Works with limited internet access. Runs inside the organization's perimeter.
Batteries included
Ships proven defaults from real-world projects. Makes the right thing the easy thing.
How It Works
Rosetta structures every AI task into five deliberate phases. Reusable prompts apply without modification for each service — consistent, governed results across every IDE and every team. Human review at each transition is critically important.
- Business & technology context
- Replace old patterns with modern counterparts
- Update tests, move components, update dependents
- Dependencies & dependents of migrated services
- Project structure: modules, imports, libraries
- Legacy code to rewrite, bridge between frameworks
- Small code changes per phase — review before they apply
- Task description, motivation, and required change per step
- Automated validation (e.g. unit tests) at end of each phase
- Phase completion tracked inside the prompt itself
- Grounding rules enforced: tests run, commits after each phase
- New session picks up with the same prompt if context fills
- Systematically validates implementation against specs
- Implements integration and E2E tests
- Compatible with subagents and background agents
Key concepts, session lifecycle, three-layer architecture, workflow patterns, and everything else in one place.