Skip to content

GESAThe Optimization Layer

Generative Episodic Simulated Annealing — Layer ∞ of the Cormorant Stack

What is GESA?

GESA (Generative Episodic Simulated Annealing) is the optimization layer of the Cormorant Foraging Framework. Where DRIFT measures the gap and Fetch decides whether to act, GESA determines how to act differently over time — generating improved strategies from accumulated episode history using a simulated annealing schedule.

Layer 0:  Cormorant 3D (Chirp / Perch / Wake)   →  Sense
Layer 1:  DRIFT                                  →  Measure the gap
Layer 2:  Fetch                                  →  Decide to act
Layer ∞:  GESA                                   →  Optimise across episodes

Without GESA, the stack is reactive. With GESA, it becomes adaptive.


The GESA Loop (8 Steps)

OBSERVE current state → RETRIEVE similar episodes → GENERATE candidates
      ↑                                                       ↓
    COOL ←── STORE new episode ←── ACT ←── SELECT ←── ANNEAL
StepAction
1. OBSERVERead DRIFT, Fetch, and 3D scores
2. RETRIEVEFind similar past episodes
3. GENERATESynthesise candidate strategies
4. ANNEALFilter by temperature (bold vs conservative)
5. SELECTPick best candidate within temperature
6. ACTExecute selected strategy
7. STORERecord outcome as new episode
8. COOLAdvance the temperature schedule

The Complete Stack

         Cormorant Foraging
        (The Moon — 3D Foundation)
       /         |         \
    Sound     Space      Time
   (Chirp)   (Perch)    (Wake)
       \         |         /
        \        |        /
         ┌───────┴───────┐
         │   Layer 1     │
         │   DRIFT       │
         │  (See Gap)    │
         └───────┬───────┘

         ┌───────┴───────┐
         │   Layer 2     │
         │   Fetch       │
         │  (Close Gap)  │
         └───────┬───────┘

         ┌───────┴───────┐
         │   Layer ∞     │
         │   GESA        │
         │  (Learn Why)  │
         └───────────────┘

Resources

ResourceURL
Main Frameworkcormorantforaging.dev
DRIFT Documentationdrift.cormorantforaging.dev
Fetch Documentationfetch.cormorantforaging.dev
StratIQX Platformstratiqx.com

"The cormorant doesn't retrieve a cached dive. It generates a new one — from everything it remembers, weighted by what worked." 🦅