codependentai/resonant-mind

View on GitHub ↗

Persistent cognitive infrastructure for AI systems. 28 MCP tools — semantic memory, emotional processing, identity continuity, and a subconscious daemon. Built on Cloudflare Workers.

24 ★11 forksTypeScriptUpdated 1mo ago

What you need to know

A Postgres-backed cognitive substrate for persistent AI memory, identity, dreams, drives, relationships and continuity. Version 4 reshapes it into a generic single-mind public core exposing 47 MCP tools.

Install

npm ci && cp wrangler.toml wrangler.local.toml
npx wrangler secret put MIND_API_KEY / GEMINI_API_KEY / SIGNING_SECRET
PG_URL='postgresql://...' npm run db:migrate

Usage

  • Use MCP tools/list for the 47-tool registry (Ritual, Attention, Surgery, Compass, Spine, Bonds, etc.)
  • Deploy to Cloudflare Workers with Neon Postgres, Hyperdrive and R2

Key features

  • 47 MCP tools organized by kinds of act (regions)
  • Persistent memory with 30-minute subconscious metabolism
  • pgvector semantic retrieval and R2-backed visual memory
  • Workers AI dream composition
  • Scheduled daemon for consolidation, reflection and drive management

Best for

Building long-running AI minds with persistent memory and identity

Caveats

  • Requires Node 22+, Cloudflare Workers, Neon Postgres, Hyperdrive, R2, Gemini API key
  • v4 migration refuses existing v3 schemas (back up before upgrading)
  • License: Codependent AI Source-Available (commercial use needs a license)
Platforms: Cloudflare Workers

Reviewed 2026-08-11

Topics

ai-agentai-companionai-identityai-memorycloudflare-workerscognitive-architectureemotional-processinggeminiknowledge-graphmcpmcp-servermodel-context-protocolopen-sourcerelational-aiself-hostedsemantic-searchtypescriptvector-search
Stars
24★
Forks
11
Language
TypeScript
License
NOASSERTION
Created
2026-03-22
Last push
2026-07-14