Cormorant Foraging Framework
The Complete Intelligence Architecture
Sense → Measure → Act → Learn
Overview
The Cormorant Foraging Framework is a biomimetic intelligence architecture derived from observing cormorant hunting behavior. What began as three orthogonal dimensions for content analysis has organically evolved into a complete closed-loop decision system.
The framework answers four fundamental questions:
| Question | Component |
|---|---|
| What do I perceive? | 3D Foundation (Chirp, Perch, Wake) |
| Where am I vs where should I be? | DRIFT (Measurement) |
| Should I act? | Fetch (Action) |
| What happens next? | Loop (Feedback) |
Architecture
┌─────────────────────────────────────┐
│ │
│ FOUNDATION (Layer 0) │
│ Three Orthogonal Dimensions │
│ │
│ Sound Space Time │
│ (Chirp) (Perch) (Wake) │
│ │
└──────────────┬──────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ │
│ MEASUREMENT (Layer 1) │
│ First Derivative │
│ │
│ DRIFT │
│ "See the gap" │
│ │
└──────────────┬──────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ │
│ ACTION (Layer 2) │
│ Second Derivative │
│ │
│ Fetch │
│ "Close the gap" │
│ │
└──────────────┬──────────────────────┘
│
▼
┌──────────┐
│ OUTCOME │
└────┬─────┘
│
│ feedback
▼
Re-measure
(DRIFT↓)
│
└─────────► Loop back to FoundationLayer 0: The Foundation (Three Dimensions)
The foundation consists of three orthogonal, irreducible dimensions. None can be derived from the others.
🔊 ChirpIQX — Sound Dimension
| Aspect | Description |
|---|---|
| Behavior | Cormorants chirp to communicate urgency |
| Measures | Signal strength, urgency, real-time momentum |
| Math Property | Additive scoring |
| Keywords | "urgent", "now", "breaking", "alert" |
| Application | Engagement velocity, viral signals, immediate hooks |
🏗️ PerchIQX — Space Dimension
| Aspect | Description |
|---|---|
| Behavior | Cormorants perch to survey the landscape |
| Measures | Structure, relationships, position |
| Math Property | Multiplicative scoring (ICE) |
| Keywords | "structure", "framework", "position", "analyze" |
| Application | Architecture health, traffic flow, conversion funnels |
⏰ WakeIQX — Time Dimension
| Aspect | Description |
|---|---|
| Behavior | Wake trails persist, then decay |
| Measures | Memory, continuity, temporal patterns |
| Math Property | Exponential decay |
| Keywords | "pattern", "history", "remember", "series" |
| Application | Context retention, returning visitors, content decay |
Why Three Dimensions?
These dimensions are orthogonal — independent axes that cannot be reduced to each other:
- Sound without Space: Signal with no structure
- Space without Time: Structure with no memory
- Time without Sound: Memory with no signal
All three are required for complete perception.
Layer 1: DRIFT (Measurement)
DRIFT is the first derivative — derived from the three foundational dimensions.
Definition
DRIFT = Methodology Score − Performance Score
Where:
Methodology = (Chirp × 0.4) + (Perch × 0.3) + (Wake × 0.3)
Performance = (Chirp × 0.4) + (Perch × 0.3) + (Wake × 0.3)Purpose
DRIFT measures the gap between:
- What content demonstrates (methodology)
- How content performs (outcomes)
The Alignment Gap
| Gap | Meaning |
|---|---|
| Positive | Methodology exceeds performance (teaching mode) |
| Negative | Performance exceeds methodology (curiosity gap) |
| Zero | Perfect alignment |
Key Insight
DRIFT doesn't tell you what to do. DRIFT tells you where you are.
Full documentation: drift.cormorantforaging.dev
Layer 2: Fetch (Action)
Fetch is the second derivative — derived from the foundation AND from DRIFT.
The Discovery
Fetch emerged from a critical question: The framework can sense and measure, but can it act?
The answer required recognizing that action is not a fourth dimension, but a derived layer that depends on measurement.
You must see the gap before you can close it.
Definition
Fetch = Chirp × |DRIFT| × Confidence
Where:
Chirp = Signal strength (urgency to act)
DRIFT = The gap (distance to travel)
Confidence = min(Perch, Wake) / 100 (readiness to act)The Three Questions
| Component | Question |
|---|---|
| Chirp | "Should I act?" (Urgency) |
| DRIFT | "How much?" (Distance) |
| Confidence | "Can I?" (Readiness) |
Decision Thresholds
| Fetch Score | Action |
|---|---|
| > 1000 | Execute — Act now |
| 500 - 1000 | Confirm — Verify before acting |
| 100 - 500 | Queue — Log for review |
| < 100 | Wait — Conditions not met |
Why Fetch Is Not a Fourth Dimension
Energy, Force, and Action are derived quantities in physics:
- E = mc² (derived from mass, space, time)
- F = ma (derived from mass, space, time)
- Work = Force × Distance
Fetch follows the same principle. It emerges from the foundation — it doesn't extend it.
The Multiplicative Gate
Because Fetch is multiplicative, one weak component blocks action:
| Scenario | Result |
|---|---|
| High Chirp, High DRIFT, Low Confidence | Action blocked (not ready) |
| High Chirp, Zero DRIFT, High Confidence | No action needed (no gap) |
| Zero Chirp, High DRIFT, High Confidence | Action blocked (no urgency) |
This protects against premature or unsafe action.
Full documentation: fetch.cormorantforaging.dev
The Closed Loop
Before Fetch
Sense → Measure → ???The framework could perceive and analyze, but couldn't decide or act.
After Fetch
Sense → Measure → Act → Learn → Sense...The framework is now closed-loop — it feeds outcomes back into sensing.
The Feedback Mechanism
1. SENSE → Chirp, Perch, Wake capture current state
2. MEASURE → DRIFT calculates gap to goal
3. ACT → Fetch decides whether/how to act
4. OUTCOME → Action produces result
5. RE-SENSE → New state captured
6. RE-MEASURE → New DRIFT calculated (should be smaller)
7. LOOP → Continue until DRIFT ≈ 0Biological Completeness
| Stage | Cormorant Behavior | Framework |
|---|---|---|
| Sense | Chirp, perch, watch the water | 3D Foundation |
| Measure | Spot fish, gauge distance | DRIFT |
| Act | Dive, retrieve | Fetch |
| Learn | Surface, reassess | Loop |
A cormorant that only senses starves.A cormorant that only measures starves.A cormorant that fetches survives.
Framework Hierarchy
| Layer | Component | Function | Depends On |
|---|---|---|---|
| 0 | Chirp, Perch, Wake | Sense | Nothing (fundamental) |
| 1 | DRIFT | Measure | Layer 0 |
| 2 | Fetch | Act | Layer 0 + Layer 1 |
| ∞ | Loop | Learn | All layers |
The Dependency Chain
Fetch requires DRIFT (must measure before acting)
DRIFT requires 3D (must sense before measuring)
3D requires observation (must observe before sensing)The order is necessary. The emergence is sequential.
Design Principles
1. Observable Anchoring
Every measurement ties to observable behavior, not speculation.
| Dimension | Observable |
|---|---|
| Chirp | Keywords detected, engagement velocity |
| Perch | Structure present, elements found |
| Wake | History exists, patterns match |
| DRIFT | Gap calculated from real scores |
| Fetch | Action decided from real inputs |
2. Patterns Found, Not Forced
The three dimensions emerged independently from different implementations. The pattern was discovered after the fact, not designed beforehand.
Similarly, Fetch emerged from a conversation about browser automation — not from top-down architecture.
3. Orthogonality Preserved
The temptation to add a "fourth dimension" (Energy, Force, Action) was rejected because it would violate orthogonality. Derived quantities belong in derived layers, not the foundation.
4. Biomimetic Integrity
Every component maps to actual cormorant behavior:
- Chirping (sound/signal)
- Perching (space/survey)
- Wake (time/memory)
- Diving/Fetching (action/retrieval)
The metaphor is complete because the biology is complete.
The Zen Foundation
「指月之指非月」 "The finger pointing at the moon is not the moon."
The framework embodies this principle:
| Concept | Role |
|---|---|
| The Moon | Reality (what actually is) |
| The Finger | Measurement (DRIFT) and Action (Fetch) |
| The Foundation | The space in which both exist |
DRIFT points at the gap. Fetch reaches for it. Neither is the gap itself.
Applications
Content Intelligence
- Measure methodology vs performance gap
- Optimize for curiosity (entertainment) or absorption (education)
- Predict engagement before publishing
Browser Automation
- Sense: Read DOM structure (Perch), detect commands (Chirp), remember context (Wake)
- Measure: Calculate gap between current state and goal (DRIFT)
- Act: Execute when Fetch threshold met
Decision Systems
- Trading signals
- Sales call prioritization
- Resource allocation
- Any domain requiring: sense → measure → act
AI Agent Design
- ChirpIQX: Intent detection
- PerchIQX: Environment mapping
- WakeIQX: Context management
- DRIFT: Goal distance
- Fetch: Action selection
Evolution Timeline
| Phase | Discovery | Layer |
|---|---|---|
| Origin | Cormorant behavior observation | — |
| Phase 1 | Three dimensions (Chirp, Perch, Wake) | Foundation |
| Phase 2 | DRIFT (methodology vs performance) | Measurement |
| Phase 3 | Fetch (action from measurement) | Action |
| Completion | Closed loop recognized | System |
The framework was not designed. It was discovered — organically, sequentially, necessarily.
Summary
The Complete Framework
| Layer | Name | Question | Output |
|---|---|---|---|
| 0 | Foundation | What do I perceive? | Chirp, Perch, Wake |
| 1 | DRIFT | Where is the gap? | Signed distance |
| 2 | Fetch | Should I act? | Decision + magnitude |
| ∞ | Loop | What next? | Return to Layer 0 |
The Formula Stack
Foundation:
Chirp = f(sound signals)
Perch = f(space structure)
Wake = f(time patterns)
Layer 1:
DRIFT = Methodology − Performance
Where Methodology = (Chirp × 0.4) + (Perch × 0.3) + (Wake × 0.3)
Layer 2:
Fetch = Chirp × |DRIFT| × Confidence
Where Confidence = min(Perch, Wake) / 100The Completeness Proof
A system is complete when it can:
| Capability | Component | ✓ |
|---|---|---|
| Sense | Chirp + Perch + Wake | ✅ |
| Measure | DRIFT | ✅ |
| Decide | Fetch | ✅ |
| Act | Fetch thresholds | ✅ |
| Learn | Feedback loop | ✅ |
All capabilities present. Framework complete.
Resources
| Resource | URL |
|---|---|
| Main Framework | cormorantforaging.dev |
| DRIFT Documentation | drift.cormorantforaging.dev |
| Fetch Documentation | fetch.cormorantforaging.dev |
| Research Papers | semanticintent.dev/papers |
| Published Research | DOI: 10.5281/zenodo.17114972 |
Closing
The Cormorant Foraging Framework began with observation:
How does a cormorant find its prey?
It chirps. It perches. It watches. It dives.
Three dimensions became measurement (DRIFT). Measurement became action (Fetch). Action became feedback. Feedback became a loop.
The loop is now closed.
The framework is complete.
"Patterns were found, not forced."
"Measuring the structure within the void."
🦅