基于六大原则的IDE Agent工作流引擎
Project description
IDE Agent MKFlow 引擎
项目概述
这是一个基于Python的IDE Agent MKFlow引擎,旨在将Agent的回答方式转变为更符合垂直领域的工作流模式。
核心原则
- 阶段 (Stage) → 步骤 (Step) → 工作节点 (Work Node) → 反馈 (Feedback) → 结束 (End) + 指针 (Point)
技术栈
- Python 3.8+
- JSON & JSON Schema
- Mermaid.js
- Markdown
- 命令行工具
- uv (现代Python包管理器)
快速开始
安装
方式一:智能安装(推荐)
# 使用自定义安装器,自动检测客户端类型
mkf-install
# 指定安装目录
mkf-install --install-dir /path/to/project
# 从本地包安装
mkf-install --package-path ./local-package.whl
方式二:传统安装
# 使用uv安装
uv pip install mkflow_engine
# 或者从源码安装
uv pip install .
# 开发模式安装
uv pip install -e .
初始化
mkf init
使用命令
mkf stage <stage_name>
mkf step <step_name>
mkf feedback
mkf pointer
mkf end
项目结构
mkflow-engine/
├── core/ # 核心引擎
├── parser/ # 解析器
├── commands/ # 命令系统
├── templates/ # 模板文件
├── docs/ # 文档
└── installer/ # 安装程序
功能特性
- 智能命令解析 - 支持自然语言命令识别
- 可视化工作流 - 基于Mermaid的可视化流程
- 实时反馈机制 - 动态反馈和状态跟踪
- 模块化设计 - 可扩展的插件架构
- IDE集成 - 无缝集成到主流IDE中
开发指南
详见 开发文档
许可证
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkflow_engine-1.0.0.tar.gz
(1.9 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkflow_engine-1.0.0.tar.gz.
File metadata
- Download URL: mkflow_engine-1.0.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
647e77db4305c639a681e45f88bbe12d3bba5a6628eeed3136db027ac7c3c1f9
|
|
| MD5 |
c8d3a07dfe1f0631fcf30f0d77c245da
|
|
| BLAKE2b-256 |
bfc57238a6317b0fc4910916fb814f1d4d932f9f625fdc66d8c50cbcc025b390
|
File details
Details for the file mkflow_engine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mkflow_engine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 43.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df4eff77b25e76737c0f942c0c4526570058a7c5c2394d7e9a5f0fbba524a587
|
|
| MD5 |
ec8e221a82e16784fdec323d256462b9
|
|
| BLAKE2b-256 |
15e24a03caf7a9f74dad8132a0e5210f02d3a7389de563f9b03db8c76268579d
|