经 AI Skill Hub 精选评估,Haklex AI编辑器 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
Haklex AI编辑器 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Haklex AI编辑器 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g haklex # 方式二:npx 直接运行(无需安装) npx haklex --help # 方式三:项目依赖安装 npm install haklex # 方式四:从源码运行 git clone https://github.com/Innei/haklex cd haklex npm install npm start
# 命令行使用
haklex --help
# 基本用法
haklex [options] <input>
# Node.js 代码中使用
const haklex = require('haklex');
const result = await haklex.run(options);
console.log(result);
# haklex 配置说明 # 查看配置选项 haklex --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export HAKLEX_CONFIG="/path/to/config.yml"
An AI-agent-native rich text editor ecosystem built on Lexical.
AI writing assistance, structured editing, static rendering, and server-side parsing — all from a single schema.
---
@haklex/rich-litexml) enables LLMs to read and write structured documents through a compact, token-efficient XML formatRichRenderer renders Lexical JSON to React without loading the editor runtime@haklex/rich-headless provides a zero-React node registry for backend use (Lexical JSON → Markdown)article, note, comment) with light/dark color scheme support@haklex/rich-diff renders side-by-side diffs of two editor statescorepack enable && corepack prepare pnpm@latest --activate, or match packageManager in the repo root)pnpm install
@haklex/rich-editor (core)
├── @haklex/rich-editor-ui
├── @haklex/rich-headless
└── @haklex/rich-style-token
@haklex/rich-compose (modular composition API: `composeRenderer`, `composeEditor` + SSR engine `RichRenderer`)
@haklex/rich-ext-ai-agent (AI writing agent + diff review UI)
├── @haklex/rich-agent-core → @haklex/rich-litexml
└── @haklex/rich-diff-core
@haklex/rich-agent-chat → @haklex/rich-agent-core, @haklex/rich-diff-core (chat UI; optional integration)
@haklex/rich-ext-{chat, code-snippet, embed, excalidraw, gallery, nested-doc}
@haklex/rich-plugin-{block-handle, floating-toolbar, link-edit, mention, slash-menu, table, toolbar}
@haklex/rich-renderer-{alert, banner, codeblock, image, linkcard, mention, mermaid, ruby, video, katex}
@haklex/rich-litexml (standalone; consumed by @haklex/rich-agent-core and others)
@haklex/rich-diff → @haklex/rich-diff-core (standalone diff viewer)
pnpm build
Turbo runs builds in dependency order. Each package outputs ESM (.mjs) and TypeScript declarations (.d.ts) to its dist/ directory.
| Package | Description |
|---|---|
rich-plugin-block-handle | Drag handle with add button and context menu |
rich-plugin-floating-toolbar | Selection-based floating formatting toolbar |
rich-plugin-link-edit | Link editing popover |
rich-plugin-mention | @mention typeahead with platform support (GitHub, Twitter, etc.) |
rich-plugin-slash-menu | / command menu for content insertion |
rich-plugin-table | Table row/column resize and manipulation |
rich-plugin-toolbar | Top toolbar for formatting controls |
| Package | Description |
|---|---|
rich-ext-ai-agent | AI writing agent — diff review overlay, action registry, editor integration |
rich-ext-chat | Static chat-snapshot blocks for assistant / conversation transcripts |
rich-ext-code-snippet | Multi-file tabbed code display with drag-and-drop |
rich-ext-embed | URL embeds — YouTube, Twitter, Bilibili, CodeSandbox, GitHub Gist |
rich-ext-excalidraw | Excalidraw whiteboard integration |
rich-ext-gallery | Image gallery with grid and carousel layouts |
rich-ext-nested-doc | Nested document / card content blocks |
| Package | Description |
|---|---|
@haklex/rich-litexml | Bidirectional Lexical JSON ↔ XML serialization for LLM-friendly document I/O |
@haklex/rich-agent-core | Headless AI agent protocol, LiteXML-backed edits, and document/session state |
@haklex/rich-agent-chat | Chat panel UI (tool calls, streaming) built on rich-agent-core |
@haklex/rich-diff-core | Core Lexical diff engine — character-level and structural diff with node decoration |
@haklex/rich-diff | Diff viewer for comparing two editor states (uses rich-diff-core) |
@haklex/cm-editor | Shared CodeMirror 6 editor utilities |
高质量的AI工作流编辑器,支持多种功能
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:Haklex AI编辑器 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | haklex |
| Topics | aieditortypescripthaklex |
| GitHub | https://github.com/Innei/haklex |
| 语言 | TypeScript |
收录时间:2026-05-31 · 更新时间:2026-05-31 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端