How botvibeai/humem.cloud works
HuMem.cloud is an edge-hosted memory API and cognitive platform. In the principal flow, an agent or dashboard sends an authenticated memory request; the Worker verifies credentials and routes tenant traffic to a Durable Object, which persists and queries temporal memory and returns results. The README also describes multimodal and shared memory, background graph repair, cognitive-load summarization, identity continuity, and Linea-1 workflow governance. Those branches are represented where documented or excerpted; unsampled implementation details and some API routing are not inferred.
Main entry points: index.ts HuMem API Worker · MemCogDurableObject.ts MemCog Durable Object · governor.ts Governance agent · index.js Memory dashboard
Components 22
API and access
- HuMem API Worker
src/index.ts - Authentication and JWT
src/index.ts - Semantic cache KV
- Tenant memory routing
src/index.ts
Memory runtime
- MemCog Durable Object
src/MemCogDurableObject.ts - Temporal memory store
src/MemCogDurableObject.ts - Memory ingestion
src/MemCogDurableObject.ts - Temporal memory query
src/MemCogDurableObject.ts
Cognitive services
- Alarm dreaming
src/MemCogDurableObject.ts - OrcaOS services
Workflow governance
- Workflow dispatcher
linea-1/src/dispatcher.ts - Dynamic workflow engine
linea-1/src/dispatcher.ts - Governance agent
linea-1/src/governor.ts - Governance records
linea-1/src/governor.ts
Web experience
- Memory dashboard
public/index.js - Google sign-in
public/auth.js - Subscription checkout
public/paypal.js - Offline asset cache
public/sw.js
Other components
- AI agent
- Dashboard user
- HuMem memory service
- PayPal service
Connections 26
- AI agent → HuMem API Worker: calls API
README.md - Dashboard user → Memory dashboard: uses
public/index.js - Memory dashboard → HuMem API Worker: posts memory
public/index.js - HuMem API Worker → Authentication and JWT: verifies requests
src/index.ts - Authentication and JWT → Semantic cache KV: reads challenges
src/index.ts - HuMem API Worker → Semantic cache KV: uses cache
src/index.ts - HuMem API Worker → Tenant memory routing: routes tenant requests
src/index.ts - Tenant memory routing → MemCog Durable Object: dispatches request
src/index.ts - MemCog Durable Object → Temporal memory store: reads and writes
src/MemCogDurableObject.ts - MemCog Durable Object → Memory ingestion: handles ingest
src/MemCogDurableObject.ts - MemCog Durable Object → Temporal memory query: handles query
src/MemCogDurableObject.ts - MemCog Durable Object → Alarm dreaming: runs alarm
src/MemCogDurableObject.ts - Temporal memory query → OrcaOS services: requests summaries
src/MemCogDurableObject.ts - Alarm dreaming → OrcaOS services: requests graph repair
- Dashboard user → Google sign-in: signs in
public/auth.js - Memory dashboard → HuMem API Worker: queries memory
public/index.js - Dashboard user → Subscription checkout: subscribes
public/paypal.js - Subscription checkout → PayPal service: creates subscription
public/paypal.js - Workflow dispatcher → Governance agent: gets service status
linea-1/src/dispatcher.ts - Workflow dispatcher → Dynamic workflow engine: creates workflow
linea-1/src/dispatcher.ts - Dynamic workflow engine → Workflow dispatcher: returns runner
linea-1/src/dispatcher.ts - Governance agent → Governance records: records state
linea-1/src/governor.ts - Workflow dispatcher → Governance agent: triggers identity and fixes
linea-1/src/dispatcher.ts - Governance agent → HuMem memory service: queries identity context
linea-1/src/governor.ts - Governance agent → HuMem memory service: applies graph fixes
- Memory dashboard → Offline asset cache: served with caching