npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agentmarv

v2026.4.3

Published

Multi-channel AI gateway with extensible messaging integrations

Readme

Marv

A multi-channel AI agent gateway forked from Openclaw, with redesigned agent architecture, sub-agent management, and a tiered memory system.


What's Different from Openclaw

Agent Architecture

  • Embedded Pi runner with streaming output, token compaction, and adaptive thinking levels
  • External CLI tool delegation — dispatch coding tasks to Claude Code, Codex, Gemini CLI, or Aider
  • Tool policy system with pre-call validation, permission tiers, and sandbox isolation

Sub-Agent Management

  • Persistent sub-agent registry that survives gateway restarts with auto-retry
  • Parent-child session hierarchy with cross-agent task context propagation
  • Automatic complexity classification (simple / moderate / complex) for thinking level selection
  • Multi-channel result routing — sub-agent results are delivered back to the originating channel

Memory System

Four-tier memory model with clarity decay and automatic promotion:

| Tier | Purpose | Half-life | | ---- | ------------------------ | --------- | | P0 | Core identity & persona | 365 days | | P1 | Verified important facts | 45 days | | P2 | General knowledge | 10 days | | P3 | Ephemeral context | 3 days |

  • Multi-scope weighting: session > agent > user > channel
  • Hybrid retrieval: vector RRF + BM25 + lexical + graph expansion + clustering
  • Automatic promotion (P3→P2→P1), confidence decay, retrieval reinforcement, semantic evolution
  • P3 episodic compaction: clusters similar fragments into distilled P2 semantic knowledge nodes

Skills

Marv uses the AgentSkills open standard — the same specification adopted by Claude Code, OpenAI Codex, Gemini CLI, Cursor, VS Code, and GitHub. Skills are interoperable across these platforms: a skill written for Codex or Claude Code works in Marv, and vice versa.

Each skill is a folder with a SKILL.md (YAML frontmatter + Markdown instructions). Skills from ClawHub, OpenAI Skills Catalog, skills.sh, and other AgentSkills-compatible sources can be installed directly.

~/.marv/skills/          Shared skills (machine-wide)
<workspace>/skills/      Workspace skills (per-agent, highest precedence)

Marv extends the base spec with environment gating (requires.bins/env/config), auto-install (install field for brew/npm/go/uv), platform filtering (os), and invocation control (user-invocable / disable-model-invocation).

See Skills docs and Creating Skills for details.

Requirements

  • Node.js >= 22.12.0
  • pnpm 10 (for source builds)
  • macOS / Linux (Windows via WSL2)
  • Recommended: 2+ vCPU, 4 GB+ RAM

Quick Start

# Global install
npm install -g agentmarv@latest
marv onboard --install-daemon

# Or from source
git clone https://github.com/daisyluvr42/Marv.git
cd Marv && pnpm install && pnpm build
pnpm marv onboard

Repository Layout

src/agents/          Agent runtime, sub-agents, tools, external CLI delegation
src/memory/          Memory storage, retrieval, decay, compaction pipeline
src/core/            Gateway core, sessions, configuration
src/channels/        Built-in channels (WhatsApp, Telegram, Discord, Slack, Signal)
src/commands/        CLI command implementations
src/plugins/         Plugin runtime & SDK
extensions/          Channel and capability extension plugins

Development

pnpm build          # Build
pnpm tsgo           # Type check
pnpm check          # lint + format + ts
pnpm test           # Test
pnpm dev            # Dev mode

Docs

License

MIT


Marv(中文)

基于 Openclaw 衍生的多渠道 AI Agent 网关,重新设计了 agent 运行架构、子 agent 管理和多层记忆系统。

与 Openclaw 的主要差异

Agent 架构

  • 内嵌式 Pi runner,支持流式输出、token 压缩和 thinking level 自适应
  • 外部 CLI 工具委托:可将编码任务分发给 Claude Code、Codex、Gemini CLI、Aider
  • 工具策略系统:调用前置校验、权限分级、沙箱隔离

子 Agent 管理

  • 持久化子 agent 注册表,网关重启后自动恢复
  • 父子会话层级追踪,任务上下文跨 agent 传播
  • 复杂度自动分类(simple / moderate / complex),按需选择 thinking level
  • 多渠道结果路由:子 agent 完成后自动回送到发起渠道

记忆系统

四层记忆模型,按重要性分级存储和衰减:

| 层级 | 用途 | 半衰期 | | ---- | ---------------- | ------ | | P0 | 核心身份与人格 | 365 天 | | P1 | 已验证的重要事实 | 45 天 | | P2 | 一般知识 | 10 天 | | P3 | 临时上下文 | 3 天 |

  • 多维度作用域:session > agent > user > channel,按权重融合检索
  • 混合检索:向量 RRF + BM25 + 词法 + 图谱扩展 + 聚类
  • 自动晋升(P3→P2→P1)、置信度衰减、检索增强、语义演化
  • P3 episodic 压缩:将相似片段聚类为 P2 语义知识节点

Skills 扩展

Marv 使用 AgentSkills 开放标准——与 Claude Code、OpenAI Codex、Gemini CLI、Cursor、VS Code、GitHub 相同的规范。Skills 跨平台互通:为 Codex 或 Claude Code 编写的 skill 可以直接在 Marv 中使用,反之亦然。

每个 skill 是一个包含 SKILL.md(YAML frontmatter + Markdown 指令)的文件夹。可直接安装来自 ClawHubOpenAI Skills Catalogskills.sh 及其他 AgentSkills 兼容源的 skills。

~/.marv/skills/          共享 skills(全局)
<workspace>/skills/      工作区 skills(当前 agent,优先级最高)

Marv 在基础规范上扩展了环境门控(requires.bins/env/config)、自动安装(install 字段,支持 brew/npm/go/uv)、平台过滤(os)和调用权限控制(user-invocable / disable-model-invocation)。

详见 Skills 文档创建 Skills

部署要求

  • Node.js >= 22.12.0
  • pnpm 10(源码构建)
  • macOS / Linux(Windows 需 WSL2)
  • 建议:2+ vCPU、4 GB+ 内存

快速开始

# 全局安装
npm install -g agentmarv@latest
marv onboard --install-daemon

# 或从源码
git clone https://github.com/daisyluvr42/Marv.git
cd Marv && pnpm install && pnpm build
pnpm marv onboard

仓库结构

src/agents/          Agent 运行时、子 agent、工具、外部 CLI 委托
src/memory/          记忆存储、检索、衰减、压缩管线
src/core/            Gateway 核心、会话、配置
src/channels/        内建渠道(WhatsApp、Telegram、Discord、Slack、Signal)
src/commands/        CLI 命令实现
src/plugins/         插件运行时与 SDK
extensions/          渠道与能力扩展插件

开发

pnpm build          # 构建
pnpm tsgo           # 类型检查
pnpm check          # lint + format + ts
pnpm test           # 测试
pnpm dev            # 开发运行

文档索引

许可证

MIT