mex Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
为AI编码代理提供持久化项目记忆和结构化上下文管理。通过漂移检测和智能脚手架,帮助开发者在Cursor和Claude中维护长期项目知识,提高AI代码生成的准确性和连贯性。适合使用AI辅助编程的开发团队。
mex Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
为AI编码代理提供持久化项目记忆和结构化上下文管理。通过漂移检测和智能脚手架,帮助开发者在Cursor和Claude中维护长期项目知识,提高AI代码生成的准确性和连贯性。适合使用AI辅助编程的开发团队。
mex Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g mex # 方式二:npx 直接运行(无需安装) npx mex --help # 方式三:项目依赖安装 npm install mex # 方式四:从源码运行 git clone https://github.com/theDakshJaitly/mex cd mex npm install npm start
# 命令行使用
mex --help
# 基本用法
mex [options] <input>
# Node.js 代码中使用
const mex = require('mex');
const result = await mex.run(options);
console.log(result);
# mex 配置说明 # 查看配置选项 mex --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export MEX_CONFIG="/path/to/config.yml"
Shared project memory for engineers and their coding agents.
MEX keeps your team's architecture, decisions, requirements, and handoffs alongside the code. Engineers and their agents can build on shared context, review proposed changes, and carry work between sessions and teammates—with Git as the sharing layer.
English | 简体中文 | Español | Português (Brasil)
Team memory · A teammate-handoff example · Project Hub · Quick start · How it works · Command map
</div>
---
One engineer knows why a constraint exists. Another has the debugging history. A coding agent found an important edge case in a session nobody else will read. The next teammate has to piece it together again.
What one engineer and their agent learn should become context the next teammate can use. MEX gives that knowledge a durable home in the repository: readable Markdown, code-linked explanations, reviewed Spec proposals, and structured handoffs. People explore and review it in a local Hub; agents retrieve and help maintain it through project instructions and the CLI.
[!IMPORTANT] MEX 0.8 expands agent memory into team memory: a local Project Hub, structured Wiki and team workflows, governed Specs, Members, Workstreams, Relays, Activity, and official Claude Code/Codex skills—all connected to the existing Code Graph, grounding, and drift system.
💬 Join the MEX community on Discord — discuss ideas, get help, share feedback, and show what you're building.
Run from the repository root:
npx mex-agent@0.8.0 setup
Setup preserves existing instructions, builds the local Code Graph, and installs selected integrations. It can launch an available selected Claude Code or Codex CLI to populate memory; if population remains incomplete, setup prints the prompt and pauses. Once populated, setup captures grounding, builds the Wiki index, validates the result, and prints the Git checkpoint. Connected agents have their own installation, account, and network requirements.
Then inspect the generated files:
git status --short
Review and run the exact scoped git add commands printed by setup. After committing that setup checkpoint, open the Hub:
git commit -m "chore: initialize MEX"
npx mex-agent@0.8.0 hub
[!NOTE] The Hub starts only when the current.mex/config.jsonis committed atHEAD. MEX never stages, commits, pushes, or pulls.
Push the reviewed setup commit through your team's normal Git workflow so teammates receive the same project memory and selected agent instructions. In Hub's Team/Members page, add the people who will participate and choose your local identity. Review and apply those actions explicitly; commit and push new Member records too. Your current-member selection stays local.
MEX requires Node.js 22.5 or newer and a Git repository. The normal npm flow works on macOS, Linux, Windows Command Prompt, PowerShell, and WSL.
These workflows help a team decide what becomes durable knowledge and preserve enough context for someone else to continue. They sit alongside your existing code-review and issue-tracking tools.
| Feature | What it is | Sharing boundary |
|---|---|---|
| **Members** | Stable contributor records plus a checkout-local “current member” for attribution | Member records use Git; current selection stays local |
| **Workstreams** | Durable context around an area of work and its state | Canonical Markdown through Git |
| **Specs** | Structured product requirements, constraints, and acceptance criteria | Canonical Markdown through Git |
| **Inbox** | Governed proposals for one bounded Spec-family create or update | Draft local; published proposal and decisions through Git |
| **Relays** | Agent-prepared, human-published context handoffs | Draft local; published/taken/closed record through Git |
| **Activity** | Accepted MEX workflow history and custom records | Canonical records through Git |
Members provide attribution and provenance. They are not accounts, authentication, role-based access control, or repository permissions.
Mex创新解决AI编码的记忆与上下文管理痛点,结构化设计优秀,社区活跃度高,是提升AI编程效率的实用工具。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,mex Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | mex |
| 原始描述 | 开源AI工作流:Persistent project memory for AI coding agents. Structured scaffold + drift dete。⭐714 · TypeScript |
| Topics | 项目记忆管理AI编码代理上下文管理Cursor插件Claude集成 |
| GitHub | https://github.com/theDakshJaitly/mex |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端