CognitiveX Docs

Reflexes

Situation-recognition system that surpasses Zapier/n8n.

Reflexes are if this situation, then this action — but the matching is memory-aware, not rule-aware. A reflex looks at the current cognitive state (recent memories, recall hits, contradictions, mood) and fires when the situation matches its signature.

Why it's not Zapier

Zapier matches on field values; reflexes match on embedding similarity to past situations plus structural predicates. This means a reflex written once continues to fire on variations the author didn't anticipate.

Anatomy of a reflex

{
  "id": "reflex-123",
  "name": "Daily standup nudge",
  "situation": {
    "embedding_query": "I forgot what I worked on yesterday",
    "predicates": [
      { "memory_age_days_lt": 1, "type": "episodic", "min_count": 0 }
    ]
  },
  "action": {
    "kind": "notification",
    "template": "You worked on {top_episodic_yesterday}"
  }
}

Manage your reflexes at icog.app/reflexes.