Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The cargo agents command

cargo agents manages agent extensions for Rust projects. It discovers skills based on your project’s dependencies and configures your AI agent to use them.

Subcommands

CommandDescription
cargo agents initSet up user-wide configuration
cargo agents syncSynchronize skills with workspace dependencies
cargo agents pluginManage plugin sources

Global options

FlagDescription
--update <LEVEL>Plugin source update behavior: none (default), check, fetch
-q, --quietSuppress status output
--helpPrint help
--versionPrint version