Skip to main content

agentsync-vcs

Universal Agent VCS and package manager for AI Agent behaviors.

CI codecov License Python Version

Overview

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.

Supported Targets

  • Cursor: .cursor/rules/*.mdc and .cursorrules
  • Claude Code: CLAUDE.md and .claude/skills/
  • GitHub Copilot: .github/copilot-instructions.md and .github/instructions/*.md
  • Windsurf: .windsurf/rules/*.md and .windsurfrules
  • Trae: .trae/project_rules.md and .trae/skills/*.md
  • Codex: AGENTS.md
  • Gemini: GEMINI.md

Installation

Prerequisites

  • Python 3.8+

Install via pip

pip install agentsync-vcs

Usage

Initialize a project

agentsync-vcs init

This creates a sample-rule.md file and a .agent-sync/ configuration folder.

Define a Rule

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.

Advanced Targets

  • Cursor: Rules are compiled into modular .cursor/rules/*.mdc files. Use type: global for project-wide standards.
  • Claude Code: Standard rules merge into CLAUDE.md. Use type: skill for modular capabilities in .claude/skills/.
  • Windsurf: All rules are compiled into modular .windsurf/rules/*.md files for efficient context loading.
  • Trae: Universal guidelines go to .trae/rules/project_rules.md. Use type: skill for modular .trae/skills/.
  • GitHub Copilot: Uses .github/copilot-instructions.md for global rules and .github/instructions/*.md for path-specific ones.
  • Gemini & Codex: All rules are intelligently merged into a single source of truth (GEMINI.md or AGENTS.md).

Remote Syncing

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 cursor

This will compile both your local rules and all rules from the remote Git repositories.

Documentation

For detailed guides on configuration, architecture, and IDE-specific adapters, see the Documentation.

License

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.

Metadata

Release files for agentsync-vcs 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentsync-vcs 0.2.0
File Size Uploaded Provenance
agentsync_vcs-0.2.0.tar.gz 16.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentsync-vcs 0.2.0
File Interpreter ABI Platform
agentsync_vcs-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / agentsync_vcs-0.2.0.tar.gz

Download URL agentsync_vcs-0.2.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
519420617d7cd8049b9ffcbb6d54da04ec0e11dd7b438fdb9619d57c4a85d065
BLAKE2b-256 checksum
How to use checksums
356d2979de8bcf5597a9e190d14d249fd5d7a8037d21a7da57b613da924c54b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / agentsync_vcs-0.2.0-py3-none-any.whl

Download URL agentsync_vcs-0.2.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed5a4380ce641253f6fe090ed194fd13b2cbb67bb0b523aa8400987efca8ba63
BLAKE2b-256 checksum
How to use checksums
d8cc1e7713386bfa1a239ac6a3c10058c571882188dca17b539ce2ce6141aba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for agentsync-vcs 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page