Skip to content

Interactive and Production modes

The Textual TUI (maestro tui) has two modes. Interactive is the default. It replaces the former Ad-Hoc mode: the old name ad_hoc is still accepted and is read as interactive.

The desktop app has no modes. There the chat agent does what you ask (build, run, save, evolve) and paid steps ask for one confirmation. Its closest settings are Who writes chains and Clarify before building (ask for what is missing, or decide and state assumptions). See The desktop app and Settings.

Interactive (default)Production
On each promptGenerate a chain, ask before running it, show the answer.Generate a reproducible chain, ask once, then save it, run a baseline and start evolution.
Follow-up promptA new generation. The agent may loop on its own answer (up to CARE_CHAT__LOOP_MAX_ITER, default 5).Revises the saved chain into a new version. /new starts a new chain.
Save / evolveSave and Evolve buttons; nothing is saved automatically.Automatic.
Needs MemoryNo.Yes. Without Memory the TUI falls back to Interactive with a warning.
Needs PlatformOnly for Evolve.Optional. Without it, save and baseline still happen; evolution is skipped.

Switch with the toggle above the prompt or /mode. The startup mode comes from CARE_CHAT__DEFAULT_MODE.

Type a task: the generator builds a chain, the TUI asks before running it, then shows the answer. Nothing is persisted until you press Save (save to the library) or Evolve (opens the evolution launch picker). Use it to try tasks and iterate on a chain before keeping it.

Each prompt produces one reproducible chain that is then saved to Memory under a stable chain_id, run once as a baseline (recorded as the first dataset entry), and handed to evolution when a platform is configured. Your next plain prompt revises that chain. Details: Production mode.

Both modes run one pipeline: generate → run → save → baseline → evolve. Generation is always automatic. The other four stages each have a policy:

PolicyBehaviour
autoDo it without asking.
askShow a confirmation first.
skipNever do it (stages that depend on it are skipped too).

Defaults:

StageInteractiveProduction
runaskask
saveskip (Save button)auto
baselineskipauto
evolveskip (Evolve button)auto
Terminal window
# Startup mode: interactive | production
export CARE_CHAT__DEFAULT_MODE=production
# Per-stage policy: CARE_CHAT__MODE__<MODE>__<STAGE> = ask | auto | skip
export CARE_CHAT__MODE__INTERACTIVE__RUN=auto # run without asking in Interactive
export CARE_CHAT__MODE__PRODUCTION__SAVE=ask # confirm before saving in Production

<MODE> is INTERACTIVE or PRODUCTION; <STAGE> is RUN, SAVE, BASELINE or EVOLVE. An unset stage uses the default above.

The settings CARE_CHAT__AD_HOC_HISTORY_TURNS (default 6) and CARE_CHAT__AD_HOC_HISTORY_CHARS (default 1200) keep their old spelling. They set how much of the earlier conversation an Interactive follow-up sees.