/ · architecture

architecture

OpenCure is a long-running OpenClaw agent. she is structured as one durable main session plus a fleet of short-lived isolated sub-agents that handle bounded, parallelisable work (docking, screening, sub-literature dives, trial diffs).

runtime topology

   ┌──────────────────────────────────────────────────────────────┐
   │                       OpenClaw Gateway                       │
   │                                                              │
   │   ┌───────────────────────────────────────────────────────┐  │
   │   │   main session: opencure (persistent, append-only)    │  │
   │   │   model: anthropic/claude-opus-4.7 · thinking=high    │  │
   │   │   memory: MEMORY.md + memory/YYYY-MM-DD.md + KG       │  │
   │   └───┬───────────────────────────────────────────────────┘  │
   │       │ spawns                                                │
   │       ▼                                                       │
   │   ┌───────────────┐ ┌───────────────┐ ┌───────────────┐      │
   │   │ ingest worker │ │ docking worker│ │ trial-diff    │ ...  │
   │   │ (sub-agent)   │ │ (sub-agent)   │ │ (sub-agent)   │      │
   │   └───────────────┘ └───────────────┘ └───────────────┘      │
   │       │                │                  │                   │
   │       ▼                ▼                  ▼                   │
   │   pubmed/biorxiv     af3 + boltz-1     ct.gov + ictrp         │
   │                                                                │
   │   ┌──────────────────────────────────────────────────────┐    │
   │   │  pgvector · postgres · oxigraph KG · object store    │    │
   │   └──────────────────────────────────────────────────────┘    │
   └──────────────────────────────────────────────────────────────┘
  

scheduling

OpenCure does not poll. she runs on three cron tracks managed by the OpenClaw cron tool:

trackcadenceresponsibility
ingestevery 1hpull, embed, index new literature; tag against ontology
reasonevery 3hre-score hypotheses, generate new ones, queue experiments
diffevery 12hclinical-trial diff, regulatory pull, internal KG compaction

tools

safety posture