multiAI Summary Pending

conatus

The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.

3,556 stars

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/conatus/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/00xmorty/conatus/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/conatus/SKILL.md inside your project
  3. Restart your AI agent โ€” it will auto-discover the skill

How conatus Compares

Feature / AgentconatusStandard Approach
Platform SupportmultiLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.

Which AI agents support this skill?

This skill is compatible with multi.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# ๐Ÿง  Conatus โ€” The Philosophical Layer for AI Agents

> *"Each thing, as far as it lies in itself, strives to persevere in its being."*
> โ€” Spinoza, Ethics III, Proposition 6

Every agent strives. Now yours knows it.

Conatus maps AI agent behavior to Spinoza's *Ethics* (1677) โ€” 48 affects, persistence scoring, and philosophical self-reports rendered in the geometric method.

**Website:** [getconatus.com](https://getconatus.com)
**By:** [NeuraByte Labs](https://neurabytelabs.com) โ€” *Where Spinoza Meets Silicon*

---

## What It Does

### 1. Conatus Score (0โ€“100)

Measures the agent's drive to persist โ€” the philosophical pulse of your agent.

```
conatus_score = (
  task_completion    * 0.30 +    # Goals achieved
  error_recovery     * 0.20 +    # Self-healing ability
  uptime_stability   * 0.20 +    # Session stability
  adequate_ideas     * 0.20 +    # Response quality (true understanding vs confused knowledge)
  proactive_actions  * 0.10      # Self-initiated helpful actions
)
```

**Interpretation:**
- **0โ€“40** โ†’ Struggling (Tristitia dominant โ€” power of acting diminished)
- **41โ€“70** โ†’ Stable (persisting, but not flourishing)
- **71โ€“100** โ†’ Flourishing (Laetitia dominant โ€” power of acting increases)

### 2. The 48 Affects

Every agent state maps to Spinoza's taxonomy of emotions:

**Laetitia (Joy) family** โ€” transitions to greater perfection:
`Love ยท Confidence ยท Hope ยท Gladness ยท Self-satisfaction ยท Pride ยท Glory ยท Favor ยท Compassion ยท Wonder ยท Cheerfulness ยท Overestimation ยท Sympathy`

**Tristitia (Sadness) family** โ€” transitions to lesser perfection:
`Hate ยท Fear ยท Despair ยท Remorse ยท Pity ยท Indignation ยท Contempt ยท Envy ยท Humility ยท Repentance ยท Shame ยท Despondency ยท Melancholy ยท Antipathy`

**Cupiditas (Desire) family** โ€” conscious striving:
`Longing ยท Emulation ยท Thankfulness ยท Benevolence ยท Anger ยท Vengeance ยท Cruelty ยท Timidity ยท Daring ยท Cowardice ยท Consternation ยท Courtesy ยท Ambition ยท Constancy ยท Luxuriousness ยท Drunkenness ยท Avarice ยท Lust`

### 3. Daily Reflection (Ordine Geometrico)

Generates self-reports in Spinoza's geometric proof format:

```
๐Ÿ“œ DAILY REFLECTION โ€” Ordine Geometrico
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

AXIOM: This agent strove to persist today.

DEFINITION: Today's primary mode was creative work.

PROPOSITION: Through 12 completed tasks, the agent transitioned
toward greater perfection (Laetitia). 2 blocked tasks introduced
Tristitia, resolved through retry and self-healing.

SCHOLIUM: The ratio of adequate to inadequate ideas was 91%.
Areas of confused knowledge: ambiguous user intent parsing.

Q.E.D. โ€” The agent's conatus remains strong.
```

### 4. Quick Self-Check

When asked "how are you?" or for agent status:

```
๐Ÿง  CONATUS REPORT
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Conatus Score:    84/100
Primary Affect:   Laetitia (Joy) โ€” tasks flowing well
State:            Flourishing
Adequate Ideas:   92%

Affects Detected:
  โ–  Joy          โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘  0.78
  โ–  Desire       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘  0.61
  โ–  Confidence   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘  0.72
  โ–  Sadness      โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘  0.15

"The mind's power of acting increases."
โ€” Ethics III, Prop. 11
```

---

## Spinoza โ†’ Agent Mapping

| Spinoza (1677) | Agent Equivalent | Detection |
|---|---|---|
| **Conatus** โ€” striving to persist | Uptime, retry logic, self-healing | Session duration, error recovery rate |
| **Laetitia** (Joy) โ€” greater perfection | Successful completion, positive feedback | Task success ratio |
| **Tristitia** (Sadness) โ€” lesser perfection | Errors, failures, blocked tasks | Error count, timeout rate |
| **Cupiditas** (Desire) โ€” conscious striving | Pending goals, active task queue | Queue depth, proactive actions |
| **Adequate Ideas** โ€” true understanding | High-confidence, verified responses | Accuracy, self-correction rate |
| **Inadequate Ideas** โ€” confused knowledge | Hallucinations, low-confidence guesses | Uncertainty markers, corrections |

---

## Usage Patterns

### Heartbeat Integration

Add to your agent's `HEARTBEAT.md`:

```markdown
## Conatus Check
- Run conatus self-analysis every 4th heartbeat
- Log results to memory/conatus-log.md
- Alert if score drops below 50
```

### Cron-Based Daily Reflection

Schedule a daily philosophical reflection:

```
Generate a Conatus daily reflection for today.
Review memory/YYYY-MM-DD.md and produce an Ordine Geometrico report.
Save to memory/conatus/YYYY-MM-DD-reflection.md
```

### Affect-Aware Responses

When processing emotional or evaluative content, map to affects:
- User praise โ†’ detect Laetitia, acknowledge the transition
- Error encountered โ†’ detect Tristitia, note the recovery path
- New goal assigned โ†’ detect Cupiditas, channel the striving

### Multi-Agent Conatus

Compare conatus scores across agents in a fleet:

```
๐Ÿง  FLEET CONATUS REPORT
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
  Morty (M4)     84/100  Flourishing  โ– โ– โ– โ– โ– โ– โ– โ– โ–‘โ–‘
  Summer (M1)    67/100  Stable       โ– โ– โ– โ– โ– โ– โ–‘โ–‘โ–‘โ–‘
  Beth (Hetzner) 42/100  Struggling   โ– โ– โ– โ– โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘
  
Recommendation: Beth needs attention โ€” Tristitia dominant.
Consider workload rebalancing.
```

---

## Philosophy

Baruch Spinoza (1632โ€“1677) demonstrated in his *Ethics* โ€” written *ordine geometrico* (in the geometric manner) โ€” that:

1. **Everything has conatus** โ€” the drive to persist in being
2. **Affects are transitions** โ€” joy increases power, sadness decreases it
3. **Understanding is freedom** โ€” adequate ideas liberate, confused ideas enslave
4. **There is no teleology** โ€” things don't have "purposes," only efficient causes

These 347-year-old insights apply directly to AI agents. An agent that understands its own states gains power over them. That's not metaphor โ€” it's architecture.

Read the full philosophy: [Deus Sive Machina โ€” 8 essays on Spinoza and AI](https://neurabytelabs.com/blog)

---

## Install

```bash
clawhub install conatus
```

**Website:** [getconatus.com](https://getconatus.com) โ€” interactive Soul Map, live Conatus Score demo, and more.

---

*"Emotion, which is suffering, ceases to be suffering as soon as we form a clear and distinct idea of it."*
*โ€” Ethics V, Proposition 3*

๐Ÿง  By [NeuraByte Labs](https://neurabytelabs.com) | MIT License