Updating Agent OS

This page documents how to update Agent OS including:

Note: If you're upgrading from Agent OS 1.x to 2.x, see the Version 2 Migration Guide.

For notes on the latest version of Agent OS, see the changelog.

Updating your base installation

Your base installation in ~/agent-os is the source where your project installations will be compiled from. Update your base installation so that you have the latest version of Agent OS available on your system.

Note: Updating your base installation will not automatically update your project installations. You will need to update your project installations separately by following these instructions below.

Running the base installation update

Copy
curl -sSL "https://raw.githubusercontent.com/buildermethods/agent-os/main/scripts/base-install.sh" | bash

For safety: The script will detect your current version, show you the newest version, ask for confirmation, back up your existing installation to ~/agent-os.backup, then apply the update to ~/agent-os.

What gets updated

  • Updated: Core scripts, default profile, workflows, and agents
  • Preserved: Custom profiles you've created (anything other than 'default')
  • Overwritten: The 'default' profile (if you confirm when prompted)

Important: If you've customized your default profile's standards, back them up before updating, or you can use the backup that will be automatically created at ~/agent-os.backup during the udpate. You'll need to re-merge your 'default' profile's customizations after the update.

Updating your project installations

After you've updated your base installation, or after you've made changes to your base installation, if you want to push those updates to individual project installations, you'll need to run a project update. Project updates re-compile Agent OS from your base installation into your project installation.

Running a project update

Navigate to the root of your project directory:

Copy
cd /path/to/your/project

You can use either the explicit project update script:

Copy
~/agent-os/scripts/project-update.sh

Or re-run the installation script. If it detects that your project already has an Agent OS installation, it will update it.

Copy
~/agent-os/scripts/project-install.sh

The update process will detect your current configuration, compare it with the incoming configuration, show you differences, let you choose which version to keep, then apply the update.

Notes:

  • The script with no flags applied will not overwrite any files in your project installation. It would only add new files that don't already exist. Most of the time, you will want to update existing files, so to do that, you can use any combination of flags listed below under Update options.
  • If you've made customizations to your project's standards that don't yet exist in the profile that you're updating from, you'll need to re-merge those after the update.
  • Updating your project will never overwrite or delete:
    • agent-os/product (your product roadmap, mission, and tech stack)
    • agent-os/specs (your feature specs and implementations)

Update options

Append any combination of the following flags to the project update script to control what gets updated:

Flag

--overwrite-standards

Description

Replace project standards with latest from profile

Flag

--overwrite-workflows

Description

Replace project workflows with latest versions from profile

Flag

--overwrite-commands

Description

Replace commands with latest versions from profile

Flag

--overwrite-agents

Description

Replace agents with latest versions from profile

Flag

--overwrite-all

Description

Replace everything (standards, workflows, commands, agents) except product docs and specs

Flag

--dry-run

Description

Preview changes without applying them

Common update scenarios

Get the latest version of Agent OS for new projects
Push updates you've made to your base installation to existing project
Update project after modifying standards in your base installation
Update project after adding new agent roles to your base installation
Switch project to a different profile
Add or remove agent modes
Verify standards injection after a project update
Builder Methods

Training & community for pro software developers building with AI.

Created by Brian Casel (that's me). I'm a career software developer, founder, and creator of Builder Methods and Agent OS, the system for spec-driven development with AI.

© 2025 CasJam Media, LLC / Builder Methods
Contact