npm package: @sinlair/reagent-openclaw
Description: OpenClaw plugin for ReAgent research workflows
Latest version: 0.1.1
Deprecated: Internal package. Use @sinlair/reagent instead.

# @sinlair/reagent-openclaw

OpenClaw-native research product package for ReAgent.

This package should be treated as the main product surface for ReAgent on top
of OpenClaw, not only as a reference plugin.

Current first-phase capabilities:

- brief-driven research workflow surfaces
- conversation-scoped and workspace-scoped memory
- v3 recall across conversation memory, workspace memory, and durable artifacts
- manage research directions
- run paper discovery
- record feedback
- suggest baselines
- ingest article links
- analyze papers
- analyze repositories
- extract reusable modules
- run novelty checks
- generate direction reports
- generate meeting decks
- inspect recent discovery runs
- query plugin status
- expose a machine-readable product profile

## Install

```bash
openclaw plugins install @sinlair/reagent-openclaw --yes
```

## Commands

### System

- `/reagent-home`
- `/reagent-status`
- `/reagent-surfaces`
- `/reagent-diagnostics`
- `/reagent-onboarding`

### Memory

- `/reagent-memory <query>`
- `/reagent-memory-workspace <query>`
- `/reagent-memory-compact [days]`
- `/reagent-memory-workspace-compact [days]`
- `/reagent-remember <note>`
- `/reagent-remember-workspace <note>`

### Discovery

- `/reagent-directions`
- `/reagent-direction-add <label>`
- `/reagent-direction-remove <directionId>`
- `/reagent-discover [directionId]`
- `/reagent-runs`
- `/reagent-feedback <signal> [notes]`
- `/reagent-baseline-suggest <directionId-or-topic>`

### Analysis

- `/reagent-link-ingest <url-or-text>`
- `/reagent-paper-analyze <title|url|sourceItemId>`
- `/reagent-repo-analyze <github-url> [context-title]`
- `/reagent-module-extract <github-url> [context-title]`
- `/reagent-novelty-check <idea-or-topic>`

### Delivery

- `/reagent-delivery`
- `/reagent-direction-report <directionId-or-topic>`
- `/reagent-direction-reports [limit]`
- `/reagent-direction-report-get <reportId>`
- `/reagent-presentation-generate [topic]`
- `/reagent-presentations [limit]`
- `/reagent-presentation-get <presentationId>`
- `/reagent-module-assets [limit]`
- `/reagent-module-asset-get <assetId>`

## Tools

### System

- `reagent_home_overview`
- `reagent_product_profile`
- `reagent_capability_catalog`
- `reagent_system_diagnostics`
- `reagent_onboarding_guide`

### Memory

- `reagent_memory_status`
- `reagent_memory_files`
- `reagent_memory_get`
- `reagent_memory_search`
- `reagent_memory_remember`
- `reagent_memory_compact`

### Discovery

- `reagent_direction_list`
- `reagent_discovery_run`
- `reagent_baseline_suggest`
- `reagent_feedback_record`

### Analysis

- `reagent_link_ingest`
- `reagent_paper_analyze`
- `reagent_repo_analyze`
- `reagent_module_extract`
- `reagent_novelty_check`

### Delivery

- `reagent_delivery_overview`
- `reagent_module_asset_recent`
- `reagent_module_asset_get`
- `reagent_direction_report_generate`
- `reagent_direction_report_recent`
- `reagent_direction_report_get`
- `reagent_presentation_generate`
- `reagent_presentation_recent`
- `reagent_presentation_get`

## Memory Scopes

The plugin exposes two durable memory scopes:

- `workspace`: shared research memory for the whole plugin workspace
- `conversation`: isolated memory keyed by one OpenClaw sender / peer

The slash commands default to conversation-scoped memory, which lines up with
OpenClaw's per-peer context isolation. Tool calls can choose either scope by
passing `scope: "workspace"` or `scope: "conversation"`. When using
conversation-scoped tools, pass a stable `scopeKey` such as a sender id.

`/reagent-memory` and `reagent_memory_search` now run a v3-style recall pass:

- conversation scope first when available
- shared workspace memory next
- durable artifacts such as briefs, direction reports, and presentations last

Older daily memory can also be compacted into a long-term summary note. The
compaction flow marks old indexed entries as folded so recall prefers the
summary entry instead of replaying stale fragments.

## Product Shape

ReAgent on OpenClaw is meant to package these surfaces clearly:

- memory
- discovery
- analysis
- reports
- delivery

Its design principles are:

- brief-first research
- evidence-backed outputs
- file-backed memory
- artifact-oriented workflow
- visible long-running work
- OpenClaw-native lifecycle

The capability layout is exposed as:

- a user-facing command: `/reagent-surfaces`
- a machine-readable tool: `reagent_capability_catalog`