≈ CI/CD Pipelines / A/B Testing / Online Learning Systems
The ability of an agent to improve its performance over time based on feedback, user interactions, or new data, without full model retraining. Includes techniques like "In-Context Learning" (updating few-shot examples) or updating a knowledge base.
The ability of an agent to improve its performance over time based on feedback, user interactions, or new data, without full model retraining. This includes techniques like "In-Context Learning" (updating few-shot examples) or updating a knowledge base.
1# Code logic is fixed until next deployment2def calculate_score(x):3 return x * 1.54 # To change to 1.6, must redeploy.1# Agent updates its own 'few-shot' examples based on feedback2if user_feedback == "Bad response":3 # The system 'learns' by updating the prompt context for next time4 memory.add_negative_example(last_interaction)5 optimizer.update_prompt_instructions("Avoid using passive voice.")Traditional SWE
CI/CD / A-B Testing
Agentic Pattern
Learning & Adaptation
Both represent the continuous improvement lifecycle of the system.
In SWE, improvement requires a code commit, build, and deploy cycle. In Agentic systems, improvement can happen dynamically at runtime. The agent can "learn" a new rule by adding it to its system prompt or memory store, instantly changing behavior without a deployment.
"Drift" is a major risk. An agent adapting to bad feedback (poisoning) can degrade quickly. Guardrails are needed to prevent the agent from learning incorrect behaviors.
How do you version control "learned behaviors"? Evaluation of behavioral changes over time is a new engineering challenge.
Adapt: Software is no longer a static artifact; it is a living system. Observability must track "Behavioral Drift" in real-time.
BuildBuild a Self-Improving Support Agent. Create a support agent that learns from user feedback, updates its behavior dynamically, and includes safeguards against learning bad habits.
The ability of an agent to improve its performance over time based on feedback, user interactions, or new data, without full model retraining. This includes techniques like "In-Context Learning" (updating few-shot examples) or updating a knowledge base.
Both represent the continuous improvement lifecycle of the system. However, there is a key divergence: In SWE, improvement requires a code commit, build, and deploy cycle. In Agentic systems, improvement can happen dynamically at runtime. The agent can "learn" a new rule by adding it to its system prompt or memory store, instantly changing behavior without a deployment.
"Drift" is a major risk. An agent adapting to bad feedback (poisoning) can degrade quickly. Guardrails are needed to prevent the agent from learning incorrect behaviors. How do you version control "learned behaviors"? Evaluation of behavioral changes over time is a new engineering challenge.