CLI Reference
agentsync provides a straightforward set of commands to manage your AI agent configurations.
Commands
Section titled “Commands”Initializes a new AgentSync configuration in the current directory.
agentsync initActions:
- Creates the
.agents/directory if it doesn’t exist. - Creates a default
.agents/agentsync.tomlfile. - Creates a template
.agents/AGENTS.mdfile.
Applies the configuration defined in agentsync.toml by creating symbolic links and updating .gitignore.
agentsync apply [FLAGS]Flags:
-c, --clean: Deletes existing symbolic links before applying. Useful for fixing broken links or cleaning up old configurations.-d, --dry-run: Shows what actions would be taken without actually making any changes to the filesystem.--config <PATH>: Use a custom configuration file path instead of the default.agents/agentsync.toml.
--version
Section titled “--version”Shows the current version of the AgentSync CLI.
agentsync --version--help
Section titled “--help”Shows help information for the CLI or a specific command.
agentsync --helpagentsync apply --helpGlobal Flags
Section titled “Global Flags”-v, --verbose: Enable verbose logging for debugging purposes.-q, --quiet: Only output errors.