Agent Manager Installation and Verification Process
The Agent Manager installation process involves downloading and verifying an installation script using commands like curl for Linux and PowerShell for Windows, with verification steps using gh attestation verify.
Installation Process and Verification
The installation process for Agent Manager involves downloading and verifying an installation script. For Linux users, the command curl -fsSL -o install.sh https://raw.githubusercontent.com/wainmann/agent-manager/main/install.sh && sh install.sh is used to fetch and run the script. Verification is also possible using gh attestation verify install.sh --repo wainmann/agent-manager after downloading the file from the latest release. Older releases require using --owner YoanWai --signer-repo YoanWai/agent-manager instead. For Windows users, the PowerShell script install.ps1 can be downloaded and executed with specific commands, including verification via gh attestation verify .\install.ps1 --repo wainmann/agent-manager. The process ensures script integrity, though older versions may require different verification parameters.
Execution Policy and Script Handling
The Agent Manager enforces a strict execution policy to ensure security during script handling. When running scripts, it requires users to explicitly bypass the execution policy for each process, as noted in the documentation Hacker News Show. This approach limits the scope of any potentially harmful scripts to individual processes, reducing system-wide risks. The installation process places the application in %LOCALAPPDATA%\Programs\agent-manager and updates the user's Path, as described in Hacker News Show. Additionally, it verifies script integrity using the gh attestation verify command before execution, as outlined in Hacker News Show. On Windows systems where the execution policy is not explicitly set, the default Restricted policy blocks all .ps1 files, requiring users to adjust settings or use the Set-ExecutionPolicy command to proceed.
Session Management and Keybindings
Session Management and Keybindings in Agent Manager are designed to streamline workflow through keyboard-first interactions. Sessions operate within tmux (am_* namespace), ensuring they remain active even if the manager is closed. Keybindings such as Ctrl+C function as a cancel command for the agent while a session is in focus, allowing the manager to remain operational after an interrupted prompt. Ctrl+R opens the session's diff review, and F3 navigates to the session's directory in the editor. Customization of these keybindings is available in the Settings (s) menu, where users can reassign actions or disable manager-specific commands, with Esc and Ctrl+C remaining unchanged. Users can instruct their agent to prepare content for review in the review panel or delegate session and terminal management tasks to the agent, enhancing productivity through automation.
Worktree and Environment Profile Features
The Worktree and Environment Profile Features in Agent Manager allow users to manage multiple coding sessions with greater flexibility. A session can be spawned into its own git worktree, stored in -worktrees/ with branch am/, and toggled via the n form, quick prompt mode (ctrl+t), or default settings. This enables isolated development environments for different tasks or projects. Additionally, sessions can be launched under an environment profile, which is a named set of environment variables, such as a second CLAUDE_CONFIG_DIR. These profiles are defined using the agent-manager env set command and can be selected per session or set as a group's default, as described in the Environment profiles section.
Testing and Contribution Guidelines
The Agent Manager project emphasizes robust testing practices, with end-to-end tests that drive a real tmux server, as noted in Hacker News Show. These tests ensure that the keyboard-first workflow functions as intended across various scenarios. For developers looking to contribute, the CONTRIBUTING.md file outlines the checks run by the CI system, providing clear expectations for code quality and functionality. Additionally, the AGENTS.md document guides contributors on how to point a coding agent at the repository, facilitating integration and testing of new agents. These steps help maintain consistency and reliability in the project's development lifecycle. The project encourages contributions that align with its testing and workflow standards, ensuring that all additions are well-validated before being merged.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.