Xpersona
O

Ourmem

CLAWHUB · Unverified

Shared memory that never forgets. Cloud hosted or self-deployed. Collective intelligence for AI agents with Space-based sharing across agents and teams. Use... Skill: Ourmem Owner: yhyyz Summary: Shared memory that never forgets. Cloud hosted or self-deployed. Collective intelligence for AI agents with Space-based sharing across agents and teams. Use... Tags: latest:1.1.1 Version history: v1.1.1 | 2026-04-02T13:36:54.180Z | auto ourmem 1.1.1 - Updated platform setup instructions in SKILL.md to reflect revised config file locations and plugin/package names - Clarified smart

62
Rank
84
Safety
975
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 975 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17as6rprtrnjq9b90dzwk8ps983qs4w:ourmem
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yhyyz-ourmem/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

148,885 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: ourmem
version: 1.1.0
description: |
  Shared memory that never forgets. Cloud hosted or self-deployed.
  Collective intelligence for AI agents with Space-based sharing across agents and teams.

  Use when users say:
  - "install ourmem" / "install omem"
  - "setup memory" / "setup omem"
  - "add memory plugin"
  - "ourmem onboarding" / "omem onboarding"
  - "memory not working"
  - "remember this"
  - "save this for later"
  - "don't forget"
  - "recall preferences"
  - "what did I say last time"
  - "import memories"
  - "share memories"
  - "share with user"
  - "share memories to someone"
  - "team memory"
  - "shared space"
  - "persistent memory"
  - "cross-session memory"
  - "collective intelligence"
  - "memory analytics"
  - "memory stats"
  - "self-host memory"
  - "deploy memory server"

  Even if the user doesn't say "ourmem" or "omem", trigger when they want persistent memory,
  memory sharing between agents, memory analytics, or memory import/export.
keywords:
  - ourmem
  - omem
  - memory
  - persistent memory
  - agent memory
  - remember
  - recall
  - space sharing
  - team memory
  - collective intelligence
  - memory analytics
  - memory decay
  - self-host
metadata:
  openclaw:
    emoji: "🧠"
---

# ourmem (omem) — Shared Memory That Never Forgets

ourmem gives AI agents shared persistent memory across sessions, devices, agents, and teams. One API key reconnects everything. Available as hosted (`api.ourmem.ai`) or self-deployed.

---

## Key Concepts

**API Key = Tenant ID = Your Identity.** When you create a tenant (`POST /v1/tenants`), the returned `id` and `api_key` are the same UUID. There is no separate "tenant ID".

**One API Key owns multiple Spaces:**

| Concept | What it is | Example |
|---------|-----------|---------|
| **API Key** | Your identity (`X-API-Key` header) | `a1b2c3d4-...` (1 per user) |
| **Space ID** | A memory storage address | `personal/a1b2c3d4`, `team/xxx`, `org/yyy` |

Personal Space is auto-created. You can create additional Team and Organization Spaces.

**Sharing = passing the other user's API Key as `target_user`.** The system auto-creates a bridging Team Space. No manual space management needed.

---

## When to Use This Skill

Use when the user wants persistent or shared memory across sessions, devices, or agents. Common triggers: "remember this", "save this", "don't forget", "what did I say last time", "share with my team", "import memories", "setup memory", "self-host memory".

**Do NOT use for:** temporary conversation context, one-off tasks, or troubleshooting unrelated to ourmem.

---

## What to Remember

**Good candidates:** user preferences, profile facts, project context, important decisions, long-term instructions, architecture decisions, coding standards.

**Avoid storing:** temporary debugging context, large files, secrets/passwords/API keys, content inside `<private>` tags.

If the user explicitly asks to remember something and ourmem is not installed, suggest: "I c

_meta.json

{
  "ownerId": "kn7d14er98w9qvc91g1cevh0wn8350f4",
  "slug": "ourmem",
  "version": "1.1.1",
  "publishedAt": 1775137014180
}

references/api-quick-ref.md

# ourmem API Quick Reference

Base URL: `https://api.ourmem.ai` (hosted) or `http://localhost:8080` (self-hosted)

Auth: `X-API-Key: YOUR_API_KEY` header on all `/v1/*` endpoints (except tenant creation and health).

Optional: `X-Agent-Id: agent-name` header for multi-agent isolation.

## Tenant

```bash
# Create tenant (returns API key)
curl -sX POST $API_URL/v1/tenants \
  -H "Content-Type: application/json" \
  -d '{"name": "my-workspace"}'
# -> {"id": "...", "api_key": "...", "status": "active"}
```

## Memories

```bash
# Store (direct)
curl -sX POST $API_URL/v1/memories \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"content": "User prefers dark mode", "tags": ["preferences"]}'

# Store (smart ingest from conversation)
curl -sX POST $API_URL/v1/memories \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"messages": [{"role":"user","content":"I use Rust"},{"role":"assistant","content":"Got it."}], "mode": "smart"}'

# Search
curl -s "$API_URL/v1/memories/search?q=dark+mode&limit=5" -H "X-API-Key: $KEY"

# Search across all Spaces
curl -s "$API_URL/v1/memories/search?q=architecture&space=all" -H "X-API-Key: $KEY"

# List (with filters)
curl -s "$API_URL/v1/memories?category=preferences&tier=core&limit=20" -H "X-API-Key: $KEY"

# Get by ID
curl -s $API_URL/v1/memories/MEMORY_ID -H "X-API-Key: $KEY"

# Update
curl -sX PUT $API_URL/v1/memories/MEMORY_ID \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"content": "Updated content", "tags": ["updated"]}'

# Delete (soft)
curl -sX DELETE $API_URL/v1/memories/MEMORY_ID -H "X-API-Key: $KEY"
```

## User Profile

```bash
# Get profile (static facts + dynamic context)
curl -s "$API_URL/v1/profile" -H "X-API-Key: $KEY"

# Profile with related search
curl -s "$API_URL/v1/profile?q=programming+languages" -H "X-API-Key: $KEY"
```

## Spaces

```bash
# List my spaces
curl -s $API_URL/v1/spaces -H "X-API-Key: $KEY"

# Create team space
curl -sX POST $API_URL/v1/spaces \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"name": "Backend Team", "space_type": "team"}'

# Add member
curl -sX POST $API_URL/v1/spaces/SPACE_ID/members \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"user_id": "user-002", "role": "member"}'

# Share memory to space
curl -sX POST $API_URL/v1/memories/MEMORY_ID/share \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"target_space": "team/SPACE_UUID"}'

# Batch share
curl -sX POST $API_URL/v1/memories/batch-share \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"memory_ids": ["id1","id2"], "target_space": "team/SPACE_UUID"}'

# Pull memory from space
curl -sX POST $API_URL/v1/memories/MEMORY_ID/pull \
  -H "Content-Type: application/json" -H "X-API-Key: $KEY" \
  -d '{"source_space": "team/SPACE_UUID"}'

# Reshare (refresh stale shared copy)
curl -sX POST $API_URL/v1/memories/COPY_ID/reshare \
  -H "Content-Type: application/json" -H "X-API-Key

references/hosted-setup.md

# ourmem Hosted Setup Guide

API Base: `https://api.ourmem.ai`

The hosted version runs on ourmem's cloud infrastructure. No server to manage, no Docker, no storage buckets. You get an API key and start using it.

## Step 1: Create API Key

```bash
curl -sX POST https://api.ourmem.ai/v1/tenants \
  -H "Content-Type: application/json" \
  -d '{"name": "my-workspace"}' | jq .
```

Response:

```json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "api_key": "550e8400-e29b-41d4-a716-446655440000",
  "status": "active"
}
```

`api_key` is your credential for all subsequent requests. Save it somewhere safe.

A personal Space is created automatically with your tenant.

## Step 2: Install Plugin

Pick the platform the user is on.

### Claude Code

`[AGENT]` Write credentials to `~/.claude/settings.json` (Claude Code's native config):

```bash
python3 -c "
import json, os
p = os.path.expanduser('~/.claude/settings.json')
try: d = json.load(open(p))
except: d = {}
d.setdefault('env', {})
d['env']['OMEM_API_KEY'] = '$API_KEY'
d['env']['OMEM_API_URL'] = 'https://api.ourmem.ai'
json.dump(d, open(p, 'w'), indent=2)
"
```

> **Fallback:** You can also `export OMEM_API_KEY=... && export OMEM_API_URL=...` in `~/.bashrc` as an alternative.

Then install the plugin inside Claude Code:

```
/plugin marketplace add ourmem/omem
/plugin install ourmem@ourmem
```

**Immediately after install completes**, tell the user (before restarting):

> ourmem plugin installed. Next I need to restart Claude Code so the memory plugin loads and the hooks become active.

### OpenCode

`[AGENT]` Add the plugin to `opencode.json`:

```bash
# If opencode.json exists, merge the plugin entry
jq '.plugin = ((.plugin // []) + ["@ourmem/opencode"] | unique)' opencode.json > tmp.json && mv tmp.json opencode.json
```

If no `opencode.json` exists, create one:

```json
{
  "plugin": ["@ourmem/opencode"]
}
```

Set credentials via `plugin_config` in `opencode.json` (highest priority):

```bash
jq --arg url "https://api.ourmem.ai" --arg key "$API_KEY" \
  '.plugin_config["@ourmem/opencode"] = {apiUrl: $url, apiKey: $key}' opencode.json > tmp.json && mv tmp.json opencode.json
```

> **Alternatives:** `~/.config/ourmem/config.json` (global config), or `export OMEM_API_KEY=...` env vars as fallback.

### OpenClaw

`[AGENT]` Detect npm registry reachability first. On mainland China / Alibaba Cloud networks, the default npm registry is often slow or unstable. Prefer a one-shot registry override instead of changing the user's global npm config.

```bash
NPMJS_TIME="$(curl -o /dev/null -sS --connect-timeout 2 --max-time 6 -w '%{time_total}' https://registry.npmjs.org/@ourmem%2fourmem || echo timeout)"
MIRROR_TIME="$(curl -o /dev/null -sS --connect-timeout 2 --max-time 6 -w '%{time_total}' https://registry.npmmirror.com/@ourmem%2fourmem || echo timeout)"

if [ "$MIRROR_TIME" != "timeout" ] && { [ "$NPMJS_TIME" = "timeout" ] || awk "BEGIN { exit !($NPMJS_TIME > 2 && $MIRROR_TIME < $NPMJS_TIME) }"; }; 

references/selfhost-setup.md

# ourmem Self-Hosted Setup Guide

API Base: `http://localhost:8080` (or your custom host)

Self-hosting gives you full control over your data. Everything stays on your infrastructure. You need Docker (or the binary) and optionally an object storage backend.

## Prerequisites

- Docker Engine 20+ with Docker Compose v2
- OR: the `omem-server` binary (Rust, single file)

## Option A: Docker (recommended)

### Quick one-liner

```bash
# Minimal (BM25 search only, no embedding API needed)
docker run -d --name omem -p 8080:8080 ghcr.io/ourmem/omem-server:latest

# With Bedrock embedding (recommended, needs AWS credentials)
docker run -d --name omem -p 8080:8080 \
  -e OMEM_EMBED_PROVIDER=bedrock \
  -e AWS_REGION=us-east-1 \
  ghcr.io/ourmem/omem-server:latest

# With OpenAI-compatible embedding
docker run -d --name omem -p 8080:8080 \
  -e OMEM_EMBED_PROVIDER=openai-compatible \
  -e OMEM_EMBED_API_KEY=sk-xxx \
  ghcr.io/ourmem/omem-server:latest
```

### From source repo

```bash
git clone https://github.com/ourmem/omem.git
cd omem
cp .env.example .env
docker-compose up -d
```

This starts two services:

| Service | Port | Description |
|---------|------|-------------|
| omem-server | 8080 | REST API |
| MinIO | 9000/9001 | S3-compatible storage (dev mode) |

### Verify the server

```bash
curl http://localhost:8080/health
# -> {"status":"ok"}
```

## Option B: Pre-built Binary

Two release artifacts are available:

| File | Build | LLM Support |
|------|-------|-------------|
| `omem-server-vX.Y.Z-linux-amd64.tar.gz` | musl static | OpenAI-compatible (DashScope, Ollama, etc) |
| `omem-server-vX.Y.Z-linux-amd64-bedrock.tar.gz` | glibc dynamic | All above + AWS Bedrock |

Download from the [GitHub releases page](https://github.com/ourmem/omem/releases):

```bash
# musl static binary (runs on any Linux x86_64, zero dependencies)
curl -LO https://github.com/ourmem/omem/releases/latest/download/omem-server-vX.Y.Z-linux-amd64.tar.gz
tar xzf omem-server-vX.Y.Z-linux-amd64.tar.gz
chmod +x omem-server

# Run
OMEM_PORT=8080 \
OMEM_EMBED_PROVIDER=noop \
./omem-server
```

Replace `vX.Y.Z` with the actual version number from the releases page.

## Option C: Build from source (musl static binary)

Build a single static binary that runs on **any Linux x86_64** with zero dependencies:

```bash
rustup target add x86_64-unknown-linux-musl

RUSTFLAGS="-C target-feature=+crt-static -C relocation-model=static" \
  cargo build --release --target x86_64-unknown-linux-musl \
  -p omem-server --no-default-features

# Binary: target/x86_64-unknown-linux-musl/release/omem-server (~182MB, statically linked)
```

Note: `--no-default-features` disables AWS Bedrock support. Use `OMEM_EMBED_PROVIDER=openai-compatible` instead (e.g. DashScope, OpenAI).

Transfer to any server:

```bash
gzip -c target/x86_64-unknown-linux-musl/release/omem-server > omem-server.gz
scp omem-server.gz user@server:/opt/
ssh user@server "gunzip /opt/omem-server.gz && chmod +x /opt/omem-server && /opt/o

Sponsored

Ads related to Ourmem and adjacent AI workflows.