Venom AI机器人框架 是 AI Skill Hub 本期精选AI工具之一。已获得 6.6k 颗 GitHub Star,综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
基于JavaScript/TypeScript开发的高性能AI机器人系统。提供完整的bot开发框架,支持多种集成方式,适合需要快速构建智能对话机器人的开发者和企业。具有良好的性能和可扩展性。
Venom AI机器人框架 是一款基于 TypeScript 开发的开源工具,专注于 AI机器人、TypeScript、JavaScript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
基于JavaScript/TypeScript开发的高性能AI机器人系统。提供完整的bot开发框架,支持多种集成方式,适合需要快速构建智能对话机器人的开发者和企业。具有良好的性能和可扩展性。
Venom AI机器人框架 是一款基于 TypeScript 开发的开源工具,专注于 AI机器人、TypeScript、JavaScript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g venom # 方式二:npx 直接运行(无需安装) npx venom --help # 方式三:项目依赖安装 npm install venom # 方式四:从源码运行 git clone https://github.com/vynect/venom cd venom npm install npm start
# 命令行使用
venom --help
# 基本用法
venom [options] <input>
# Node.js 代码中使用
const venom = require('venom');
const result = await venom.run(options);
console.log(result);
# venom 配置说明 # 查看配置选项 venom --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export VENOM_CONFIG="/path/to/config.yml"
<p align="center"> <img src="https://github.com/orkestral/venom/raw/main/img/venom.png" alt="Venom" width="220" /> </p>
<p align="center"> <em>The next generation of WhatsApp automation. Completely rebuilt.</em> </p>
<p align="center"> <img src="https://img.shields.io/npm/v/venom-bot?style=flat-square&color=0d1117&labelColor=0d1117" alt="npm" /> <img src="https://img.shields.io/node/v/venom-bot?style=flat-square&color=0d1117&labelColor=0d1117" alt="node" /> <img src="https://img.shields.io/npm/dt/venom-bot?style=flat-square&color=0d1117&labelColor=0d1117" alt="downloads" /> <img src="https://img.shields.io/github/actions/workflow/status/orkestral/venom/build.yml?branch=master&style=flat-square&color=0d1117&labelColor=0d1117" alt="build" /> <img src="https://img.shields.io/github/license/orkestral/venom?style=flat-square&color=0d1117&labelColor=0d1117" alt="license" /> </p>
<p align="center"> <a href="https://orkestral.github.io/venom"><img src="https://img.shields.io/badge/Documentation-Read%20Now-2ea44f?style=for-the-badge&logo=gitbook&logoColor=white" /></a> <a href="https://www.npmjs.com/package/venom-bot"><img src="https://img.shields.io/badge/npm-Install-0d1117?style=for-the-badge&logo=npm&logoColor=white" /></a> </p>
---
<p align="center"> <img src="https://capsule-render.vercel.app/api?type=rect&color=0:1a1a2e,50:16213e,100:0f3460&height=2§ion=header" width="100%" /> </p>
Rewritten from scratch — cleaner, simpler codebase
Pure Puppeteer — no puppeteer-extra, no stealth plugins
Updated WhatsApp Web modules (WAWebSocketModel, WAWebConnModel, etc.)
Chromium auto-download on npm install
Node.js 18+ required
TypeScript 5.7+ with strict types
Pino logger — fast, structured logging
Only 6 source files — down from 83+
---
npm install
Requires Node.js 18+. Chromium is downloaded automatically on install.
npm install venom-bot
<details> <summary>🧪 Nightly builds</summary>
npm install https://github.com/orkestral/venom/releases/download/nightly/venom-bot-nightly.tgz </details>
<details> <summary>📦 Install from source</summary>
npm install github:orkestral/venom </details>
---
```bash
npm run build:wapi npm run build:middleware npm run build:jsQR npm run build:venom
npm run build ```
---
Get a fully functional bot running in under 30 seconds.
import { create } from 'venom-bot';
create({ session: 'venom-bot' }).then((client) => {
client.onMessage(async (message) => {
if (message.body === 'hello') {
await client.sendText(message.from, 'Hey there! 👋 I\'m running on Venom.');
}
});
});
Scan the QR code that appears in your terminal. Done — you're live.
[!TIP] Sessions are saved automatically. No need to re-scan on every restart.
---
Full control over every aspect of the browser and session.
create({
session: 'production',
catchQR: (base64Qr, asciiQR, attempts, urlCode) => {
console.log(`Scan attempt ${attempts}`);
},
statusFind: (status, session) => {
console.log(`[${session}] Status: ${status}`);
},
options: {
// Browser
headless: 'new',
devtools: false,
browserWS: '',
browserPathExecutable: '',
puppeteerOptions: {},
browserArgs: [''],
addBrowserArgs: [''],
// Session
folderNameToken: 'tokens',
mkdirFolderToken: '',
createPathFileToken: false,
// Logging
debug: false,
logQR: true,
updatesLog: true,
disableSpins: false,
disableWelcome: false,
// Connection
autoClose: 60000,
addProxy: [''],
userProxy: '',
userPass: ''
},
browserInstance: (browser, waPage) => {
console.log('Browser PID:', browser.process().pid);
}
});
<details> <summary>📋 Session Status Reference</summary>
| Status | Description |
|---|---|
isLogged | Already authenticated |
notLogged | Awaiting QR scan |
browserClose | Browser closed |
qrReadSuccess | QR scanned successfully |
qrReadFail | QR scan failed |
autocloseCalled | Auto-close triggered |
desconnectedMobile | Phone disconnected |
serverClose | WebSocket closed |
chatsAvailable | Chat list loaded |
deviceNotConnected | Phone not connected |
successChat | Chat ready |
waitForLogin | Waiting for login |
waitChat | Loading chats |
---
成熟的���源bot框架,6.6k星标说明社区认可度高。TypeScript开发保证代码质量,适合生产环境使用。文档和维护状态需关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,Venom AI机器人框架 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | venom |
| Topics | AI机器人TypeScriptJavaScriptBot框架高性能 |
| GitHub | https://github.com/vynect/venom |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-06-10 · 更新时间:2026-06-10 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。