AppGitHub
Strategies

What is a Strategy

A strategy defines how conversations behave in AfferLab.

Overview

In most AI chat applications, conversation behavior is built directly into the product.

AfferLab takes a different approach.

Instead of hardcoding AI behavior inside the application, AfferLab separates the system into:

  • the platform, which provides infrastructure such as models, storage, and tools
  • the strategy, which defines how the conversation behaves

This separation allows AfferLab to support many different AI chatflows without modifying the core application.


What a Strategy Controls

A strategy defines how AfferLab interacts with the model during a conversation.

This includes decisions such as:

  • how prompts are constructed
  • which conversation history is included
  • whether memory should be retrieved or stored
  • and other conversation behaviors

Strategies allow different conversations to follow different logic while running on the same platform.

On this page