Skip to main content

Agent Versioning & Change Management

10 min read

Why Agent Change Management is Needed​

Differences from Traditional Software Changes​

In traditional software, change management targets code, configuration, and infrastructure changes. Agent systems add probabilistic components:

Table 1. Change management comparison between traditional and agentic systems

Change TypeTraditional SystemAgentic System
Output DeterminismSame input → Same outputSame input → Probability distribution
Regression DetectionUnit tests, integration testsStatistical evaluation (BLEU, Exact Match, LLM-as-Judge)
Rollback CriteriaFeature failures, performance degradationAccuracy decline, increased hallucination, latency P99
Change UnitCode commits, binariesPrompt versions, model replacement, parameter tuning

Agentic systems still keep deterministic unit and integration tests. Statistical evaluation (BLEU, Exact Match, LLM-as-Judge) does not replace them; it is an additive layer that handles probabilistic output.

Why Prompts and Models Should Be Managed Like Code​

  1. Prompts Are Core Logic
    Changing one line from "You are a financial analysis expert" → "You are a conservative investment advisor" transforms the entire output pattern.

  2. Model Replacement Is Runtime Replacement
    When switching GPT-4 → Claude 3.5 Sonnet, even the same prompt produces different response styles, token usage, and latency.

  3. No Tracking Means No Rollback
    When receiving reports like "it worked yesterday but is strange today," recovery is impossible without knowing who changed which prompt and when.

  4. Regulatory Requirements
    Linking prompt and model versions to change records helps explain which configuration produced a response. Include this in the organization's audit-policy proposal, then determine what to collect and how long to retain it from the duties that apply to the jurisdiction, regulated role or system, and record type. NIST AI RMF GOVERN 1.1 also recommends identifying and documenting applicable requirements. This guide does not set legal duties or retention periods for every financial, medical or public-sector system.


3-Tier Change Management System​

Agent change management consists of three layers:

1. Prompt & Model Registry​

Central repository managing prompt and model versions like code. Uses Langfuse, Bedrock Prompt Management, PromptLayer, etc. for version control, labeling, and change history tracking.

View Prompt & Model Registry Details →

2. Deployment Strategies​

Progressive deployment strategies including Shadow Testing, Canary Rollout, A/B Testing, Blue-Green Deployment, and Feature Flag-based rollout approaches.

View Deployment Strategies Details →

3. Governance & Automation​

Regression detection, automatic rollback, approval workflows, audit trails, and AIDLC stage-specific application approaches.

View Governance & Automation Details →


Core Principles​

  1. All Changes Are Version Controlled: Prompt, model, and parameter changes must be traceable like Git commits.
  2. Progressive Deployment: Don't change all traffic at once. Canary → gradual expansion.
  3. Automatic Regression Detection: Detect performance degradation through Golden Dataset evaluation and real-time metric monitoring. Detection time depends on the evaluation cycle and the metric aggregation interval, so “immediate” detection cannot be guaranteed. Set how many minutes after deployment detection must happen as a design target, and verify that target with a test that injects a regression on purpose.
  4. Fast Rollback: Set a recovery objective, such as “within 1 minute,” and test it. Measure from the label or configuration change through application and traffic recovery, including requests in progress and fallback behavior. One minute is an example target in this guide.
  5. Audit Evidence: Use 7 years as an example to review when setting an organizational retention policy. Do not apply it as a universal statutory period. Define the authority for each record's retention, minimum collection, access, deletion and legal-hold requirements in the audit-evidence policy.



Next Steps​

Once you've established the change management process:

  1. Prompt & Model Registry — Select and build Langfuse/Bedrock PM
  2. Deployment Strategies — Choose appropriate strategy among Canary/Shadow/A-B
  3. Governance & Automation — Build automatic regression detection and rollback system