智能工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
智能工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
智能工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install simplicio-prompt
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install simplicio-prompt
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/wesleysimplicio/simplicio-prompt
cd simplicio-prompt
pip install -e .
# 验证安装
python -c "import simplicio_prompt; print('安装成功')"
# 命令行使用
simplicio-prompt --help
# 基本用法
simplicio-prompt input_file -o output_file
# Python 代码中调用
import simplicio_prompt
# 示例
result = simplicio_prompt.process("input")
print(result)
# simplicio-prompt 配置文件示例(config.yml) app: name: "simplicio-prompt" debug: false log_level: "INFO" # 运行时指定配置文件 simplicio-prompt --config config.yml # 或通过环境变量配置 export SIMPLICIO_PROMPT_API_KEY="your-key" export SIMPLICIO_PROMPT_OUTPUT_DIR="./output"
<p align="center"> <img src="docs/assets/simplicio-prompt-hero.jpg" alt="simplicio-prompt — AI with 1,000,000+ subagents / IA com 1.000.000+ subagentes" width="100%" /> </p>
More features, more reach, and a tighter runtime:
- Now on PyPI — pip install simplicio-prompt ships the dependency-free Python kernel and a simplicio-subagents console command, alongside the existing npm package. - Real subagents on any model / provider — DeepSeek, MiMo, OpenRouter, or a free local LLM (Ollama / vLLM / LM Studio) all run through the same --provider / --model flags. The default standard fan-out is 200 subagents; --fanout-profile max selects 600 for max-breadth parallel audits, and explicit --subagents N still wins. - Reusable evidence artifacts — --report-dir writes JSON/Markdown summaries for single runs and NDJSON/Markdown summaries for batch orchestrators, including status, counts, tokens, cost, samples, and errors. - Safer wide fan-out defaults — runs with 64+ subagents auto-enable deterministic diversified personas unless --no-auto-diversify is passed. - First-class observability — PromptFanout adapters plus per-lane token/cost accounting, circuit-breaker state, and cache stats in every snapshot. - Always-on invocation — a UserPromptSubmit hook routes every message through the runtime with no trigger keyword, now including a Gemini CLI target. - One-command test suite — npm test runs the Node CLI/hook/cache/target tests plus the full Python kernel suite in a single pass.
The repo ships as an npm package and as a multi-IDE plugin. Use it without cloning:
```bash
npx simplicio-prompt --target claude-code # → CLAUDE.md npx simplicio-prompt --target codex # → AGENTS.md npx simplicio-prompt --target hermes # → AGENTS.md npx simplicio-prompt --target opencode # → AGENTS.md (alias: openclaw) npx simplicio-prompt --target cursor # → .cursor/rules/*.mdc + .cursorrules npx simplicio-prompt --target copilot # → .github/copilot-instructions.md npx simplicio-prompt --target cline # → .clinerules/simplicio-prompt.md npx simplicio-prompt --target aider # → CONVENTIONS.md npx simplicio-prompt --target gemini # → GEMINI.md npx simplicio-prompt --install-all # → every target above
The reference kernel ships as a dependency-free Python package, so you can run real subagents on any OpenAI-compatible provider without cloning the repo:
pip install simplicio-prompt
```python from kernel.providers import resolve_provider_config, LLMProvider from kernel.subagent_runtime import SubagentRuntime from kernel.yool_tuple_kernel import build_default_space
The original single-file installer still works for backwards compatibility:
npx simplicio-prompt --install CLAUDE.md
npx simplicio-prompt --install AGENTS.md
npx simplicio-prompt --install .cursorrules
Use simplicio-prompt as a canonical execution prompt for coding agents such as Claude, Codex, Hermes, Cursor, Cline, or any assistant that can read repository instructions.
1. Run npx simplicio-prompt --install CLAUDE.md (or paste the ## Prompt section from prompts/agent-runtime-execution-prompt.md into AGENTS.md, CLAUDE.md, .cursorrules, or a custom system prompt). 2. In the target repository, just ask for work in your own words. You do not need to start the message with Implement — any user input (a sentence, a bug description, a code snippet, a one-word request) is treated as the task X and routed through the same runtime. The only opt-outs are explicit stand-down phrases like "stop", "cancel", "exit runtime". 3. The agent will read the canonical files listed in the prompt, decompose the task into a Hilbert-indexed tuple graph, create a root tuple, route active work through tuple-space primitives, and use LaneWorkerPool plus the V2 safe-speed controls. 4. Status output is opt-in (default: silent). Enable with YOOL_TUPLE_STATUS=true (or status_output=true runtime flag). When on, the agent returns this shape:
[Tuple Space Snapshot]
[Active Agents/Subagents]
[Total Agents/Subagents]
[Next Yool to Execute]
[Partial Result]
Per-field toggles (default false): YOOL_TUPLE_STATUS_SNAPSHOT, YOOL_TUPLE_STATUS_ACTIVE, YOOL_TUPLE_STATUS_TOTAL, YOOL_TUPLE_STATUS_NEXT, YOOL_TUPLE_STATUS_PARTIAL.
For high-throughput local runs, set the runtime environment variables before starting the agent or scripts:
$env:YOOL_TUPLE_LANE_CONCURRENCY="32"
$env:YOOL_TUPLE_MAX_LANE_CONCURRENCY="64"
$env:YOOL_TUPLE_CPU_QUOTA_PCT="95"
$env:YOOL_TUPLE_QUEUE_MAXSIZE="8192"
$env:YOOL_TUPLE_COMPRESSION_THRESHOLD="1024"
$env:YOOL_TUPLE_CACHE_MAX_ENTRIES="16384"
$env:YOOL_TUPLE_CACHE_TTL_S="3600"
$env:YOOL_TUPLE_API_MAX_RETRIES="3"
$env:YOOL_TUPLE_API_BACKOFF_BASE_MS="100"
$env:YOOL_TUPLE_API_BACKOFF_MAX_MS="5000"
$env:YOOL_TUPLE_CIRCUIT_FAILURE_THRESHOLD="5"
$env:YOOL_TUPLE_CIRCUIT_COOLDOWN_S="30"
$env:YOOL_TUPLE_BATCH_SMALL_TASK_SIZE="32"
$env:YOOL_TUPLE_CONTEXT_COMPRESSION_CHARS="6000"
Run the reference kernel and tests:
python kernel/yool_tuple_kernel.py
python -m unittest discover -s tests -p "test_*.py"
python kernel/subagent_runtime.py --provider deepseek --fanout-profile max \ --task "..." --dry-run --report-dir reports/fanout
| Preset | Default base URL | API key env | Notes |
|---|---|---|---|
deepseek | https://api.deepseek.com/v1 | DEEPSEEK_API_KEY | cheap cloud, OpenAI-compatible |
mimo | https://api.mimo.ai/v1 | MIMO_API_KEY | set MIMO_BASE_URL to your endpoint |
openrouter | https://openrouter.ai/api/v1 | OPENROUTER_API_KEY | OpenAI-compatible gateway; set --model (e.g. deepseek/deepseek-chat) |
local / ollama | http://localhost:11434/v1 | none | free/offline (Ollama, vLLM, LM Studio) |
| *(any other id)* | SIMPLICIO_LLM_BASE_URL | SIMPLICIO_LLM_API_KEY | generic OpenAI-compatible |
Per-provider env overrides (example for DeepSeek): DEEPSEEK_BASE_URL, DEEPSEEK_MODEL, DEEPSEEK_PROMPT_COST_PER_MTOK, DEEPSEEK_COMPLETION_COST_PER_MTOK. Cost defaults are illustrative — set the *_COST_PER_MTOK vars to your live contract pricing (e.g. 0.003) so the reported cost_usd matches your bill.
For hot paths (prompt section extraction, multi-needle pattern scan, and guardrail validation) the repo ships an optional native extension written in Rust with PyO3 bindings. The default pip install simplicio-prompt remains pure-Python and dependency-free; the native extension is opt-in.
Build and install the extension locally:
pip install maturin
cd rust && maturin develop --release
That produces _simplicio_native in the current Python environment. kernel/utils/accel.py transparently picks it up on the next import:
from kernel.utils import accel
accel.backend_name() # "native" (or "python" w/o the wheel)
accel.extract_prompt_section(text) # native if available, identical output
accel.find_patterns(text, ["needle-a", "needle-b"])
accel.validate_guardrails(["rule-a", "rule-b"], text)
The native path is parity-tested against the pure-Python fallback (tests/test_accel.py) so the output is identical byte-for-byte; pick whichever your install has. Measured speedups on local builds:
extract / ONESHOT (~75 lines) ~3.0x
extract / BATCH (~280 lines) ~3.1x
extract / 5KB body ~7.0x
find_patterns / 4 needles in 5KB ~2.2x
validate_guardrails / 6 rules in 5KB ~7.4x
(50k iterations each, Rust 1.94, CPython 3.11.) Run python benchmarks/accel_benchmark.py to reproduce locally.
The native wheel is not published to PyPI yet — that requires a manylinux/macOS/Windows wheel matrix in CI. For now `cd rust && maturin develop` is the canonical install path.
report = SubagentRuntime(provider).run("Audit this module", subagents=200) print(report.format_summary()) # completed/failed, tokens, total cost in USD ```
report = SubagentRuntime(provider).run("audit this module", subagents=200) print(report.format_summary()) # completed/failed, tokens, total cost in USD
The install also exposes a console entry point for offline cost projection and
live fan-out:
bash
simplicio-subagents --provider deepseek --task "..." --dry-run \ --report-dir reports/fanout
| Target id | IDE / agent | Files written |
|---|---|---|
claude-code | Anthropic Claude Code | CLAUDE.md |
codex | OpenAI Codex CLI | AGENTS.md |
hermes | Nous Research Hermes | AGENTS.md |
opencode (alias openclaw) | OpenCode / OpenClaw | AGENTS.md |
cursor | Cursor IDE | .cursor/rules/simplicio-prompt.mdc, .cursorrules |
copilot (alias github-copilot) | GitHub Copilot | .github/copilot-instructions.md |
cline | Cline (VS Code) | .clinerules/simplicio-prompt.md |
aider | Aider | CONVENTIONS.md |
gemini (alias gemini-cli) | Google Gemini CLI | GEMINI.md |
plugins/claude-code/ is a full Claude Code plugin: drop it into ~/.claude/plugins/simplicio-prompt/ (or your project's .claude/plugins/) to get an always-on hook, three slash commands, and a runtime skill:
- UserPromptSubmit hook (hooks/hooks.json → hooks/user-prompt-submit.mjs) — injects the runtime contract (hooks/runtime-directive.md) on every prompt, unless the prompt is an explicit stand-down. This is the always-on invocation. - /simplicio <task> — run the next task through the Tuple-Space + Yool runtime. - /simplicio-install <target> — install the runtime contract into the current repo (claude-code, codex, cursor, copilot, gemini, all, …). - /simplicio-status on|off|<field>:on — toggle the opt-in status output. - simplicio-runtime skill — auto-activates in repos that vendor the spec.
For orchestration repos that want the runtime without copying tuple boilerplate, use the Python adapter:
from examples.python.prompt_fanout import PromptFanout
fanout = PromptFanout(repo="my-service", authority="simplicio-sprint")
root, receipt = fanout.spawn_task(
"review checkout edge cases",
mapper_context={"target": "src/checkout.ts"},
depth=2,
branching=8,
)
fanout.record_tokens("analysis", prompt_tokens=1200, completion_tokens=300, cost_usd=0.02)
print(receipt.virtual_agents)
print(fanout.snapshot()["token_usage"])
simplicio-dev-cli can use the same adapter for internal verification reasoning when it already has structured mapper context.
simplicio-prompt 是一个强大的 AI 代理框架,旨在通过支持超过 1,000,000 个 subagents 的能力,为开发者提供极具扩展性的 AI 协作体验。它不仅能增强现有 AI 助手的执行能力,还能通过高度集成的 runtime 机制,让复杂的任务处理变得简单高效。
在 1.13 版本中,项目迎来了重大升级:现已正式上线 PyPI,支持通过 `pip install simplicio-prompt` 安装无依赖的 Python kernel,并附带 `simplicio-subagents` 命令行工具。此外,它实现了对任何模型或提供商的广泛支持,无论是 DeepSeek、OpenRouter 还是通过 Ollama、vLLM、LM Studio 运行的本地 LLM,均可通过统一的 `--provider` 和 `--model` 参数进行调用。
项目提供了灵活的安装方式。开发者可以通过 npm 将其作为 multi-IDE plugin 安装,快速为 Claude Code、Codex、Hermes、Cursor 或 Copilot 等编程助手配置指令文件。同时,如果你需要运行真实的 subagents,可以通过 PyPI 安装无依赖的 Python 核心包,无需克隆仓库即可直接在任何兼容 OpenAI 协议的 provider 上运行。
使用 simplicio-prompt 非常直观。你可以将其作为 Claude、Codex、Hermes 或 Cursor 等编程助手的规范执行 Prompt。通过运行 `npx simplicio-prompt --install CLAUDE.md` 命令,或者直接将 `prompts/agent-runtime-execution-prompt.md` 中的 Prompt 内容粘贴到项目的 `AGENTS.md`、`.cursorrules` 等指令文件中,即可激活 AI 助手的增强能力。
项目支持多种 Provider 配置,包括 DeepSeek、MiMo 和 OpenRouter 等。通过设置相应的 API key 环境变量(如 `DEEPSEEK_API_KEY`),即可实现快速接入。对于追求极致性能的用户,还提供了一个可选的 Rust 扩展(通过 PyO3 绑定),用于加速 Prompt 提取、多针模式扫描及 guardrail 验证等高频操作路径。
simplicio-prompt 提供了强大的运行时 API 和 CLI 工具。通过 `SubagentRuntime(provider).run()` 方法,你可以启动大规模的 subagents 任务,并获取包含成功率、Token 消耗及 USD 成本统计的详细报告。此外,配套的 `simplicio-subagents` 命令行工具支持 `--dry-run` 模式,方便在正式执行前进行离线成本预测和任务扇出(fan-out)模拟。
项目内置了完善的 Multi-IDE plugin 矩阵,能够针对不同的 IDE 和 Agent(如 Claude Code, Codex, Cursor 等)自动生成并写入对应的配置文件(如 `CLAUDE.md`, `AGENTS.md`, `.cursorrules`)。特别地,针对 Claude Code 提供了完整的插件支持,通过安装特定的 hook 和 slash commands,可以实现始终在线的运行时技能增强。
高效的AI工作流解决方案
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,智能工作流 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | simplicio-prompt |
| 原始描述 | 开源AI工作流:Economy -75% tokens. Capability-addressing pattern (yool + tuple + HAMT) for ult。⭐6 · Python |
| Topics | AI工作流Python |
| GitHub | https://github.com/wesleysimplicio/simplicio-prompt |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-31 · 更新时间:2026-06-01 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端