Skip to main content

Universal Version Control System for AI Agent behaviors

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentsync_vcs-0.2.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentsync_vcs-0.2.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file agentsync_vcs-0.2.0.tar.gz.

File metadata

  • Download URL: agentsync_vcs-0.2.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for agentsync_vcs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 519420617d7cd8049b9ffcbb6d54da04ec0e11dd7b438fdb9619d57c4a85d065
MD5 a6cf6cb6f48843edda6774e79b0fb99e
BLAKE2b-256 356d2979de8bcf5597a9e190d14d249fd5d7a8037d21a7da57b613da924c54b7

See more details on using hashes here.

File details

Details for the file agentsync_vcs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agentsync_vcs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for agentsync_vcs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed5a4380ce641253f6fe090ed194fd13b2cbb67bb0b523aa8400987efca8ba63
MD5 7d78aa24c98db26803bab6735b30be9a
BLAKE2b-256 d8cc1e7713386bfa1a239ac6a3c10058c571882188dca17b539ce2ce6141aba4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page