Clawlens
Clawlens
ClawLens is an observability and debugging plugin designed specifically for the OpenClaw. It runs directly within the OpenClaw gateway to silently capture, structure, and visualize data about your agents' behaviors without requiring you to change any agent code or set up external databases. At its core, the plugin is designed to help you understand exactly why an AI agent made a specific decision. It does this by providing: Session Replays: A structured, turn-by-turn breakdown of every agent session. It annotates every message, LLM call, and tool execution with their exact token counts, costs, and latencies. Live Monitoring: Real-time dashboards that track agent health, current token usage, scheduled cron jobs, and delegation relationships between multiple bots. Cross-Session Analytics: Aggregated data that helps you spot broader trends, such as high tool failure rates, latency bottlenecks, retry loops, and unexpected cost spikes across all your agents. Memory Browsing: A tool to track how agents modify and update their workspace files over time. Because it operates natively and uses a local SQLite database, ClawLens requires zero additional infrastructure and introduces practically zero latency overhead to your workflow.
Developer Tools ▲ 1 👁 525
Mcp Tools
Mcp Tools
OpenClaw plugin to bridge MCP server tools as native OpenClaw tools
Integration ▲ 1 👁 1359
openclaw-easemob
openclaw-easemob
# OpenClaw Easemob Plugin [OpenClaw](https://openclaw.ai) 的 **环信IM (Easemob)** 通道插件,让你的 AI 代理可以通过环信平台与用户聊天。 --- ## 三步快速开始 ```bash # 1. 安装插件 openclaw plugins install @saber3555/openclaw-easemob # 2. 配置插件(按提示输入环信凭据) openclaw config # 3. 在环信控制台配置 Webhook # URL: https://your-gateway-host/webhooks/easemob ``` 完成!用户现在可以通过环信向你的机器人发送消息了。 --- ## 功能特性 - ✅ **单聊支持** - 与用户进行一对一对话 - ✅ **Webhook 集成** - 实时接收消息 - ✅ **Token 自动管理** - 自动获取和缓存访问令牌 - ✅ **配置向导** - 交互式 CLI 配置 - ✅ **连接测试** - 自动验证配置正确性 ## 安装 ```bash openclaw plugins install @saber3555/openclaw-easemob ``` ## 快速开始 ### 1. 获取环信凭据 1. 登录 [环信控制台](https://console.easemob.com) 2. 创建新应用或选择现有应用 3. 在「应用概览」中获取: * **OrgName** - 组织名称 * **AppName** - 应用名称 * **Client ID** - 客户端 ID * **Client Secret** - 客户端密钥 4. 在「用户认证」中创建一个用户作为机器人账号 ### 2. 配置插件 ```bash openclaw config ``` 按提示输入: * OrgName * AppName * Client ID * Client Secret * 机器人用户名 ### 3. 配置 Webhook 回调 1. 确保 OpenClaw Gateway 可以从公网访问 2. 登录环信控制台 3. 进入「应用设置」→「消息回调」 4. 添加回调 URL: 1. `https://your-gateway-host` 就是访问 OpenClaw Control UI,默认为 127.0.0.1:18789,这里需要能从公网访问。 2. 在后面拼接 `/webhooks/easemob` ``` https://your-gateway-host/webhooks/easemob ``` 5. 选择回调类型: **单聊消息** 6. 保存配置 ### 4. 开始聊天 现在用户可以通过环信向你的机器人发送消息了! ## 配置说明 配置文件位置: `~/.openclaw/config.json` ```json { "channels": { "easemob": { "accounts": { "robot_username": { "accountId": "robot_username", "orgName": "your-org", "appName": "your-app", "clientId": "your-client-id", "clientSecret": "your-client-secret", "enabled": true, "dmPolicy": "pairing", "allowFrom": ["user1", "user2"] } } } } } ``` ### 配置项说明 | 配置项 | 类型 | 必填 | 说明 | |--------|------|------|------| | `accountId` | string | ✅ | 环信用户 ID (用户名) | | `orgName` | string | ✅ | 环信组织名称 | | `appName` | string | ✅ | 环信应用名称 | | `clientId` | string | ✅ | 环信 Client ID | | `clientSecret` | string | ✅ | 环信 Client Secret | | `enabled` | boolean | ❌ | 是否启用此账号 | | `name` | string | ❌ | 显示名称 | | `dmPolicy` | string | ❌ | DM 策略: `open`/`pairing`/`allowlist` | | `allowFrom` | array | ❌ | 允许列表 | ### DM 策略说明 - **`pairing`** (默认) - 需要用户先与代理配对 - **`allowlist`** - 只允许列表中的用户发送消息 - **`open`** - 允许任何用户发送消息(不推荐) ## 常用命令 ```bash # 查看通道状态 openclaw channels status # 测试发送消息 openclaw message send --channel easemob --to <user_id> "Hello!" # 查看配置 openclaw config get channels.easemob # 重新配置 openclaw config # 禁用通道 openclaw config set channels.easemob.enabled false # 查看网关日志 openclaw gateway logs # 调试模式运行网关 DEBUG=easemob openclaw gateway run ``` ## 开发 ### 本地安装测试 ```bash # 克隆仓库 git clone https://github.com/XuCpeng/openclaw-easemob.git cd openclaw-easemob # 安装依赖 pnpm install # 构建 pnpm run build # 本地安装到 OpenClaw openclaw plugins install ./ # 开发模式(自动重编译) pnpm run dev ``` ## 常见问题 ### Q: 为什么收不到消息? A: 请检查: 1. Gateway 是否运行: `openclaw gateway status` 2. Webhook URL 是否正确配置 3. 防火墙是否允许外部访问 Gateway 端口 4. 环信控制台中的回调是否启用 ### Q: Token 过期怎么办? A: 插件会自动管理 Token,在过期前自动刷新,无需手动处理。 ### Q: 支持群聊吗? A: 当前版本 (P0) 仅支持单聊。群聊支持将在后续版本添加。 ### Q: 如何配置多账号? A: 在 `accounts` 对象中添加多个账号配置: ```json { "accounts": { "robot1": { ... }, "robot2": { ... } } } ``` ## 技术架构 本插件采用 **Webhook 网关模式**: ``` 用户手机 ──→ 环信服务器 ──→ OpenClaw Gateway ──→ OpenClaw Agent (Webhook) ``` - 不保持长连接,通过环信 Webhook 接收消息 - 通过 REST API 发送消息 - 支持 OAuth2 Token 自动管理 详细设计说明见 [ARCHITECTURE.md](./ARCHITECTURE.md) ## 相关链接 - [OpenClaw 官方文档](https://docs.openclaw.ai/channels) - [环信官方文档](https://docs.easemob.com/) - [OpenClaw GitHub](https://github.com/openclaw/openclaw) - [参考项目](https://github.com/dujiepeng/openclaw) ## 贡献 欢迎提交 Issue 和 PR! ## 许可证 MIT License - 详见 [LICENSE](./LICENSE) --- Made with ❤️ by [XuCpeng](https://github.com/XuCpeng)
Channels ⭐ 6 ▲ 1 👁 872
openclaw-easemob
openclaw-easemob
OpenClaw 的 环信 IM (Easemob) 通道插件,让你的 AI 代理可以通过环信平台与用户聊天。 OpenClaw's Easemob channel plugin allows your AI agent to chat with users through the Easemob platform.
Communication ⭐ 6 ▲ 1 👁 598
Recall
Recall
Persistent memory, context compression & profile visibility for 🦞OpenClaw🦞.
Voice ⭐ 1 ▲ 1 👁 992
openclaw-mengram
openclaw-mengram
OpenClaw: Human-like Memory Agent Give your OpenClaw agent human-like memory that persists across sessions. 3 Memory Types: Semantic: Facts and preferences. Episodic: Events with outcomes. Procedural: Workflows that auto-evolve from failures. Core Mechanics: Auto-recall: Injects relevant context before every turn. Auto-capture: Saves new knowledge after every turn. Capabilities: 12 tools & 14 CLI commands. Graph RAG with 2-hop traversal. Cognitive profile generation. Availability: Free tier available.
Memory & Cognitive Enhancement ⭐ 8 ▲ 1 👁 513
Tweetclaw
Tweetclaw
Post tweets, reply, like, retweet, follow, DM & more from OpenClaw - full X/Twitter automation via Xquik
Integration ⭐ 95 ▲ 1 👁 3943
NeatMem
NeatMem
Lightweight local memory for agents — every dedup, update, and rerank decision inspectable and tunable. 3 dedup detectors × 4 update resolvers × 3 rerank modes · 60+ parameters · 6 prompts replaceable
Tools ⭐ 7 ▲ 1 👁 277
Memvara
Memvara
OpenClaw: hosted Memvara MCP (mcp add / native plugin). Not a capture plugin.
Tools ▲ 1 👁 270
allblu Crypto Swap Quotes
allblu Crypto Swap Quotes
Get live cryptocurrency swap quotes and discover supported cross-chain assets directly in OpenClaw. The allblu plugin provides two read-only tools for retrieving fee-inclusive swap estimates, minimum receive amounts, estimated completion times, and supported assets across Bitcoin, Ethereum, Solana, TRON, Polkadot, and stablecoin networks. No API keys, wallet connections, or account registration required. Actual swaps are completed on https://www.allblu.xyz.
Cryptocurrency ▲ 1 👁 113
Foresee
Foresee
Foresee enables AI assistants to compare home and auto insurance across every carrier and coverage option, by providing instant, accurate, detailed quote estimates.
General ▲ 1 👁 300
ClipUGC
ClipUGC
AI influencer videos for your app, from the terminal or any MCP client. ClipUGC makes short UGC-style videos for mobile apps with AI presenters. The CLI is also an MCP server, so an agent can create a character from one sentence, generate more looks of the same face, turn a look into a talking clip, drop in a screen recording of your app, add a first line, and get a ready-to-post vertical video. Free credits on signup, no camera.
Tools ⭐ 2 ▲ 1 👁 228
Abacusai Auth
Abacusai Auth
OpenClaw AbacusAI provider plugin - Third-party plugin for AbacusAI RouteLLM integration
Integration ⭐ 3 ▲ 1 👁 3691
Simplex
Simplex
SimpleX channel plugin for OpenClaw
Channels ⭐ 46 ▲ 1 👁 1509
SimpleX Channel
SimpleX Channel
SimpleX channel plugin for OpenClaw. Uses local `simplex-chat` CLI and supports: * send/receive (text/media) * pairing + allowlist * message actions, invite link + QR generation * Control UI config Why use SimpleX: * End-To-End Encrypted and privacy-preserving * Local runtime via official simplex-chat (no hosted bot service) * No phone number requirement * No third-party bot API dependency * No unofficial CLI dependency chains
Channels ⭐ 46 ▲ 1 👁 1258
OpenClaw-Puter
OpenClaw-Puter
An advanced AI assistant plugin for OpenClaw, powered by Puter AI with dynamic model routing, autonomous tools, and image generation. This plugin adds a powerful AI agent to OpenClaw capable of chat, coding assistance, web search, and image generation.
AI Assistants ▲ 1 👁 1088
Easemob
Easemob
OpenClaw Channel plugin for Easemob (环信IM) - 让 AI 代理可以通过环信平台与用户聊天
Channels ⭐ 6 ▲ 1 👁 819
friction guard
friction guard
Evidence-based interaction friction detection and pre-generation constraint enforcement for OpenClaw agents. What it does Most agent interaction failures are not intelligence failures — they are relational mismatches. A technically correct response can still create friction through cliché empathy, unsolicited advice, helpdesk tone, excessive structure, or repetition. Friction-guard learns these patterns per user and injects constraints into the model's system context before generation, so the model produces better output instead of having bad output filtered after the fact.
Productivity ⭐ 1 ▲ 1 👁 900
MENA Marketing Copilot
MENA Marketing Copilot
An OpenClaw plugin that helps AI agents deliver expert digital marketing strategies for the MENA (Middle East & North Africa) market. Covers platform selection by country, Arabic copywriting tips, seasonal campaigns (Ramadan, National Days), audience insights for Egypt, Gulf & Levant, and campaign budget planning. Powered by Markitly — a digital marketing agency specializing in the Arab world.
Marketing ▲ 1 👁 393
Mazterize
Mazterize
Mazterize (MasterKreatif) explore a verified collection of the latest PC, Mac, and Android software with features, system requirements and direct downloads.
Software ▲ 1 👁 392
Agent Trust Verification Providers
Agent Trust Verification Providers
Agent Trust Verification Provider Pattern — community-authored integration spec for plugins implementing agent trust verification on the OpenClaw plugin surface. Co-edited by APS and MolTrust.
Integration ⭐ 1 ▲ 1 👁 631
Memory Layer
Memory Layer
openclaw的plugin:`memory-layer` 为 OpenClaw 提供多用户分层记忆能力,在保留共享知识的同时隔离每个用户的个人长期记忆。它把团队共享记忆与用户个人记忆拆开存储,避免不同用户之间的长期记忆互相污染,同时保留对旧版 `MEMORY.md` / `memory/*.md` 习惯的兼容。
Tools ▲ 0 👁 217
Expert Skill
Expert Skill
Comprehensive OpenClaw Expert skill for AI agents — gateway, channels, tools, plugins, providers, ops, and more. Install via: npx skills add galnaaman/openclaw-expert-skill
Channels ▲ 0 👁 194
Memory Rag
Memory Rag
Hybrid (dense + BM42 sparse) RAG memory plugin for OpenClaw, backed by Qdrant + Ollama with cross-encoder reranking, parent-window expansion, and WhatsApp metadata enrichment.
Channels ⭐ 2 ▲ 0 👁 402