AI Skill Hub 推荐使用:智能工作流插件 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
智能工作流插件 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
智能工作流插件 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g magenta.nvim # 方式二:npx 直接运行(无需安装) npx magenta.nvim --help # 方式三:项目依赖安装 npm install magenta.nvim # 方式四:从源码运行 git clone https://github.com/dlants/magenta.nvim cd magenta.nvim npm install npm start
# 命令行使用
magenta.nvim --help
# 基本用法
magenta.nvim [options] <input>
# Node.js 代码中使用
const magenta.nvim = require('magenta.nvim');
const result = await magenta.nvim.run(options);
console.log(result);
# magenta.nvim 配置说明 # 查看配置选项 magenta.nvim --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export MAGENTA.NVIM_CONFIG="/path/to/config.yml"
___ ___
/' __` __`\
/\ \/\ \/\ \
\ \_\ \_\ \_\
\/_/\/_/\/_/
magenta is for agentic flow
Magenta provides transparent tools to empower AI workflows in neovim. It allows fluid shifting of control between the developer and the AI, from AI automation and agent-led feature planning and development.
Developed by dlants.me: I was tempted by other editors due to lack of high-quality agentic coding support in neovim. I missed neovim a lot, though, so I decided to go back and implement my own. I now happily code in neovim using magenta, and find that it's just as good as cursor, windsurf, ampcode & claude code.
I sometimes write about AI, neovim and magenta specifically:
🔍 Also check out pkb: A CLI for building a local knowledge base with LLM-based context augmentation and embeddings for semantic search. Can be used as a claude skill.
Note: I mostly develop using the Anthropic provider, so Claude Opus is recommended. I decided to drop support for other providers for now, since I am more interested in exploring the features space. If another provider becomes significantly better or cheaper, I'll probably add it.
📖 Documentation: Run :help magenta.nvim or ask magenta for complete documentation.
For any of the below, you can also just ask magenta to explain.
:help magenta-providers.magenta/options.json for profiles, auto-context, skills paths, and MCP servers. docs · :help magenta-config~/.magenta/skills/, .magenta/skills/, ~/.claude/skills/, or .claude/skills/ that teach the agent project-specific knowledge. Supports suppressing project-level skills by name when shared configs collide with personal ones. docs · :help magenta-skills:help magenta-sandbox:help magenta-mcp:help magenta-dockerRequirements: Neovim 0.12.1+, Node.js v24+ (node --version), nvim-cmp
require('magenta').setup({
profiles = {
{
name = "claude-opus",
provider = "anthropic",
model = "claude-opus-4-8",
fastModel = "claude-haiku-4-5",
apiKeyEnvVar = "ANTHROPIC_API_KEY"
}
}
})
| Keymap | Description |
|---|---|
<leader>mt | Toggle chat sidebar |
<leader>mf | Pick files to add to context |
<leader>mn | Create new thread |
<leader>mp | Paste clipboard image (in input buffer) |
Input commands: @fork, @file:, @diff:, @diag, @buf, @qf, @fast
For complete documentation:
:help magenta-commands - All commands and keymaps:help magenta-input-commands - Input buffer @ commands:help magenta-tools - Tools and sub-agents:help magenta-mcp - MCP server configurationIt's neovim, baby! Use your muscle memory to browse agent output, gather context, and edit your prompt. Jump into a buffer to fix errors or redirect the agent — the diff of your edits will be sent to the agent in the next message.
Magenta is fully transparent: you see everything the agent sees — prompts, reminders, tool descriptions — and can customize all of it. Edits use EDL, a purpose-built DSL that's far more token-efficient than claude code's str_replace. The useful parts of claude code (context management, sub-agents, skills, custom agents) are all present, so you won't miss anything.
And also apparently the code quality is a lot better?
I haven't actually used other neovim AI plugins in a while, so take this with a grain of salt. My feeling is that magenta provides a richer set of features, nicer UI and more customizability than other plugins. Using a typescript core means we can leverage the anthropic sdk and libraries like anthropic's sandbox-runtime, which greatly speeds up development. The distinguishing features:
~/.magenta/agents/ or .magenta/agents/). Override or create new agent personalities without touching code.Magenta 是一个为 neovim 提供透明工具的项目,旨在使 AI 工作流程更为流畅。它允许开发者和 AI 之间的控制权在开发者和 AI 之间进行流畅的切换,从 AI 自动化到代理引导的特征规划和开发。
Magenta 的关键功能包括配置模型、API 密钥和提供商选项、项目设置、每个项目的 .magenta/options.json 文件等。
Magenta 需要 Neovim 0.12.1+、Node.js v24+ 和 nvim-cmp 等依赖项。
Magenta 的安装步骤包括在 Neovim 中安装 magenta 插件、配置 profiles 和 providers 等。
Magenta 的使用方法包括使用 leader 键绑定、输入命令、创建新线程等。
Magenta 的配置包括配置 MCP 服务器、环境变量和关键参数等。
Magenta 的 API 允许开发者使用 Anthropics SDK 和其他库来与 Magenta 进行交互。
Magenta 的工作流包括使用 Magenta 来进行 AI 工作流程的开发和管理。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,智能工作流插件 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | magenta-nvim |
| 原始描述 | 开源AI工作流:A tool-use-focused LLM plugin for neovim.。⭐448 · TypeScript |
| Topics | LLMNeovimTypeScript |
| GitHub | https://github.com/dlants/magenta.nvim |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-06 · 更新时间:2026-06-06 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端