ReAgent
Turn ongoing research into a reusable workflow, not a one-off conversation.
Local-first research workspace for paper discovery, evidence review, research notes, and delivery.
English
|
简体中文
Roadmap
•
Contributing
•
Operations
Table of Contents
Why ReAgent
ReAgent is not a chatbot with a few research buttons attached. It is a local research workspace designed for people who need to revisit topics, review evidence, save context, and ship useful outputs.
It is built for workflows such as:
- Defining reusable research templates with goals, background, and success criteria.
- Running repeated discovery instead of restarting the same search every week.
- Reviewing papers, repo findings, and feedback in one place.
- Saving notes so context survives across tasks and sessions.
- Turning research into reports, briefings, slides, and reusable artifacts.
It fits best when you need a controllable, inspectable workspace rather than a black-box assistant.
Product Surfaces
The current web UI is organized around a small set of working surfaces:
Workbench for current progress, latest results, and common next actions.
Main Workspace for chat, quick research actions, recent tasks, and current workspace context.
Status for activity, latest outputs, and system health.
Research Workspace for templates, task lists, reports, schedules, topic reports, slides, and module files.
Research Map for seeing how topics, evidence, reports, and files connect.
Research Notes for searching, saving, and reopening file-backed notes.
Channels for WeChat login, connection status, lifecycle changes, and channel events.
Agent Settings and Skills for choosing the role, model, and tools used by chat.
Quick Start
- Create a local env file from
.env.example.
- Install dependencies.
- Push the Prisma schema to the default SQLite database.
- Start the dev server.
npm install
npm run db:push
npm run dev
Open http://127.0.0.1:3000/.
Minimal local setup:
LLM_PROVIDER=fallback
WECHAT_PROVIDER=mock
If PowerShell blocks npm, use npm.cmd instead.
Global CLI install:
npm install -g @sinlair/reagent
reagent init
reagent gateway
The published package name is @sinlair/reagent, while the installed command is reagent.
Always-on gateway lifecycle:
reagent gateway install
reagent gateway status
reagent gateway restart
reagent gateway stop
Run Modes
The root app can run as a foreground dev process or as an always-on background service.
| Development | npm run dev | Local development with live reload |
| PM2 | npm run pm2:start / npm run pm2:restart / npm run pm2:logs | Keep the app running in the background |
| Windows Service | npm run service:install / npm run service:status / npm run service:start / npm run service:stop | Machine-level runtime on Windows |
See OPERATIONS.md for deployment and maintenance details.
Repository Layout
Development
Validation:
npm run check:all
npm run test
If you only want to validate the publishable packages:
npm run build:packages
npm run check:packages
OpenClaw Plugin
Install the ReAgent OpenClaw plugin with:
openclaw plugins install @sinlair/reagent-openclaw --yes
Plugin source lives in packages/reagent-openclaw/.
Documentation
Inspiration
ReAgent is shaped by research-agent and research-workspace projects such as:
For a closer comparison, see docs/research-agent-landscape.md.
License
Released under the MIT License.