Universal Agent VCS and package manager for AI Agent behaviors.
agentsync-vcs is not just a file mirror; it is a behavior compiler and distribution system for AI agents.
Unlike tools that merely copy text between IDEs, agentsync-vcs allows you to maintain a single, versioned source of truth in Git and compiles it into the optimized, native configuration for every AI tool in your stack (Cursor, Claude Code, Copilot, etc.). It enables engineering teams to enforce architectural standards and "harness engineering" guidelines across any environment.
- Cursor:
.cursor/rules/*.mdcand.cursorrules - Claude Code:
CLAUDE.mdand.claude/skills/ - GitHub Copilot:
.github/copilot-instructions.mdand.github/instructions/*.md - Windsurf:
.windsurf/rules/*.mdand.windsurfrules - Trae:
.trae/project_rules.mdand.trae/skills/*.md - Hermes:
.hermes/skills/*.md - Kiro:
.kiro/steering/*.md - Codex:
AGENTS.md - Gemini:
GEMINI.md
- Python 3.8+
pip install agentsync-vcsagentsync-vcs initThis creates a sample-rule.md file and a .agent-sync/ configuration folder.
Create a .md file with YAML frontmatter:
---
name: my-rule
description: Guidelines for this project
globs: ["src/**/*.ts"]
type: rule # Optional: 'rule', 'skill', or 'global'
---
- Use functional programming patterns.
- Ensure all exports are documented.- Cursor: Rules are compiled into modular
.cursor/rules/*.mdcfiles. Usetype: globalfor project-wide standards. - Claude Code: Standard rules merge into
CLAUDE.md. Usetype: skillfor modular capabilities in.claude/skills/. - Windsurf: All rules are compiled into modular
.windsurf/rules/*.mdfiles for efficient context loading. - Trae: Universal guidelines go to
.trae/rules/project_rules.md. Usetype: skillfor modular.trae/skills/. - Hermes: Compiles into
.hermes/skills/*.mdwith required YAML frontmatter. - Kiro: Compiles to plain Markdown in
.kiro/steering/*.md, extracting description text as quotes. - GitHub Copilot: Uses
.github/copilot-instructions.mdfor global rules and.github/instructions/*.mdfor path-specific ones. - Gemini & Codex: All rules are intelligently merged into a single source of truth (
GEMINI.mdorAGENTS.md).
Sync rules from a shared team repository:
agentsync-vcs remote add https://github.com/my-org/agent-rules.git
agentsync-vcs sync
agentsync-vcs pull cursorThis will compile both your local rules and all rules from the remote Git repositories.
For detailed guides on configuration, architecture, and IDE-specific adapters, see the Documentation.
This project is licensed under the Apache License 2.0 with Commons Clause v1.0.
This means:
- Free for personal and internal use.
- No Commercial Sale/Hosting: You cannot sell the software or provide it as a paid service (e.g., hosting, support, or consulting where the value is derived substantially from the software) without explicit permission.
- Licensor retains all rights: The original author (Sumanth Polisetty) retains the right to distribute and sell the software commercially.
See the LICENSE file for the full text.