
iee-engine
io.github.tanbopiao/iee-engine
Ontology → architecture → operator scaffold MCP in three traceable stages. Pure stdlib, zero deps.
Documentation
IEE 引擎 · 本体-架构-算子补全 · iee-engine
铭文:名定体生,体定用成
English
iee-engine is a lightweight MCP (Model Context Protocol) server that turns a named concept into a complete implementation scaffold in three traceable stages:
- derive — name + semantics → logical ontology (elements, relations, constraints)
- blueprint — ontology → layered architecture (registry / operators / verification)
- emit — architecture → operator skeleton (function stubs, dispatch table, test stubs)
Every stage keeps provenance, so the whole chain from naming to code is auditable. Pure Python standard library, zero dependencies, single stdio transport.
Install
pip install iee-engine
Run as MCP server (stdio)
iee-engine-mcp
Or in an MCP client config:
{
"mcpServers": {
"iee-engine": {
"command": "iee-engine-mcp",
"args": []
}
}
}
Use as a library
from iee_engine.core import derive, blueprint, emit
ontology = derive(name="ledger", semantics="append-only entries", elements=["register", "resolve"], constraints=["entries are immutable"])
arch = blueprint(ontology)
skeleton = emit(arch)
Tools
| Tool | Input | Output |
|---|---|---|
derive | name, semantics, elements[], constraints[] | logical ontology |
blueprint | ontology | layered architecture |
emit | architecture | operator skeleton with dispatch keys |
逻辑本体
命名与语义入引擎,三段映射:命名→逻辑本体(要素/关系/约束)→架构(分层)→算子骨架;段段留痕可溯。
架构
补全引擎(三段映射)
├─ derive:命名+语义 → 逻辑本体
├─ blueprint:本体 → 架构分层
└─ emit:架构 → 算子骨架(含注册表与测试桩)
算子注册
deriveblueprintemit
道统谱系
iee-engine 是道统工具族的一员,同族还有宗源根(谱系总册)、宗源编年史(时序记事册)、天罡壶(淬炼熔炉)、地格(空间格网)、关台(查验放行)、欧米伽决策(终局裁断)。命名取自华夏道统语义,详见各仓。
iee-enginepip install iee-engineRelated Servers
io.github.tanbopiao/agent-eval-engine
Verifiable agent evaluation engine: deterministic scoring, hash-chain audit trail, MCP over stdio.
io.github.tanbopiao/constraint-runtime
Agent constraint runtime: ten governance components plus a config-driven orchestration harness.
io.github.tanbopiao/evidence-gate
Evidence anchoring kernel MCP: append-only hash-chain ledger, tamper-evident snapshots, fail-closed.