# Send BEE Belief Extraction Engine to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-bee",
    "name": "BEE Belief Extraction Engine",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/vashkartik/openclaw-bee",
    "canonicalUrl": "https://clawhub.ai/vashkartik/openclaw-bee",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-bee",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bee",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-bee",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T00:43:33.632Z",
      "expiresAt": "2026-05-07T00:43:33.632Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bee",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bee",
        "contentDisposition": "attachment; filename=\"openclaw-bee-0.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-bee"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-bee"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-bee",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-bee",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-bee/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-bee/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-bee/agent.md"
  }
}
```
## Documentation

### BEE — Belief Extraction Engine

Give your OpenClaw agents persistent, structured memory across sessions.

### What BEE Does

BEE hooks into the OpenClaw lifecycle and:

Extracts beliefs at session end via a lightweight LLM call (Haiku by default)
Injects recalled context before every agent spawn
Scopes by namespace — each agent (VECTOR, FORGE, ORACLE, etc.) has isolated beliefs
Deduplicates — cosine similarity check prevents duplicate beliefs (>0.92 → merge)
Tracks spawns — monitors subagent budget per session

Beliefs live in a SQLite database (vector.db) and persist indefinitely across restarts.

### Step 1 — Install the package

From npm (recommended):

npm install -g @skysphere-labs/openclaw-bee

From GitHub (latest):

npm install -g github:skysphere-labs/openclaw-bee

### Step 2 — Configure openclaw.json

Add BEE to your extensions in ~/.openclaw/openclaw.json:

{
  "extensions": {
    "entries": {
      "bee": {
        "enabled": true,
        "config": {
          "dbPath": "~/.openclaw/workspace/state/vector.db",
          "agentId": "main",
          "extractionEnabled": true,
          "extractionModel": "anthropic/claude-haiku-4-5",
          "maxCoreBeliefs": 10,
          "maxActiveBeliefs": 5,
          "maxRecalledBeliefs": 5
        }
      }
    }
  }
}

### Step 3 — Restart the gateway

openclaw gateway restart

BEE will run its database migration on first start and begin capturing beliefs.

### Configuration Options

OptionDefaultDescriptiondbPathrequiredPath to your SQLite databaseagentId"main"Namespace for belief scopingextractionEnabledtrueEnable/disable belief extractionextractionModel"anthropic/claude-haiku-4-5"Model used for extraction (cheapest works well)extractionMinConfidence0.55Minimum confidence to store a belief (0-1)maxCoreBeliefs10Core beliefs injected into every sessionmaxActiveBeliefs5Recently active beliefs injectedmaxRecalledBeliefs5Semantically recalled beliefs per querymaxOutputChars2000Max chars of belief context injecteddebugfalseEnable verbose loggingspawnBudgetWarning20Warn when subagent spawns exceed this threshold

### Verifying It Works

After restart, ask your agent:

"How many beliefs do you have?"

Or check directly:

sqlite3 ~/.openclaw/workspace/state/vector.db "SELECT COUNT(*) FROM beliefs"

You should see beliefs accumulate after sessions complete.

### Multi-Agent Setup

For setups with multiple named agents (VECTOR, FORGE, ORACLE, etc.), use different agentId values per agent spawn. BEE scopes beliefs by agentId so each PM has isolated memory.

### Source

GitHub: https://github.com/skysphere-labs/openclaw-bee
npm: https://www.npmjs.com/package/@skysphere-labs/openclaw-bee
Built by Skysphere AI Labs
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: vashkartik
- Version: 0.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T00:43:33.632Z
- Expires at: 2026-05-07T00:43:33.632Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-bee)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-bee/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-bee/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-bee/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-bee)