A tool designed for efficient use of AI Agent CLIs.
usagi.ai helps developers manage repositories and configurations when working with AI agents, providing a streamlined workflow for initialization and project management.
usagi.ai requires the following tools to be installed on your system:
- Git (Essential): Used for cloning repositories and managing worktrees.
- Bash (macOS/Linux) or cmd.exe (Windows) (Essential): Used for the interactive terminal.
- AWS CLI (Essential): Used for AWS SSO login and other AWS operations.
- Node.js / npm (Optional): Often required by AI agents and development environments.
- Python (Optional): Often required by AI agents and scripts.
You can check if these are installed by running:
usagi doctorcargo install --git https://github.com/KKyosuke/usagi.aiIf you have cargo-binstall installed, you can install the binary directly from GitHub:
cargo binstall --git https://github.com/KKyosuke/usagi.ai usagiYou can install usagi with a single command (macOS and Linux):
curl -fsSL https://raw.githubusercontent.com/KKyosuke/usagi.ai/main/scripts/install.sh | bashAlternatively, you can download the binary for your platform and install it with the following commands:
curl -L https://github.com/KKyosuke/usagi.ai/releases/latest/download/usagi-macos-arm64.tar.gz | tar -xz && ./install.sh && rm install.shcurl -L https://github.com/KKyosuke/usagi.ai/releases/latest/download/usagi-macos-amd64.tar.gz | tar -xz && ./install.sh && rm install.shcurl -L https://github.com/KKyosuke/usagi.ai/releases/latest/download/usagi-linux-amd64.tar.gz | tar -xz && ./install.sh && rm install.shDownload the latest usagi-windows-amd64.zip from the Releases page, extract it, and run install.sh (using Git Bash) or manually add the binary to your PATH.
Ensure your system has the required tools:
usagi doctorFor more details on dependencies, see doc/cli/doctor.md.
Initialize a repository with:
usagi init <repository-url>For more details on initialization, see doc/cli/init.md.
When you run usagi init, the following structure is created:
root/main/: The repository is cloned here.usagi.config: A configuration file is automatically generated.