能力标签
红龙代码执行引擎
🛠
AI工具

红龙代码执行引擎

基于 Python · 开源免费,本地部署,数据完全自主可控
英文名:red-dragon
⭐ 10 Stars 💻 Python 📄 MIT 🏷 AI 7.0分
7.0AI 综合评分
多语言执行虚拟机LLM集成代码解释
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,红龙代码执行引擎 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.0 分,适合有一定技术背景的用户使用。

📚 深度解析

红龙代码执行引擎 是一款基于 Python 的开源工具,在 GitHub 上收获 0k+ Star,是多语言执行、虚拟机、LLM集成、代码解释领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
红龙代码执行引擎 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 红龙代码执行引擎 的版本更新,及时通知重要功能变化。

📋 工具概览

红龙代码执行引擎 是一款基于 Python 开发的开源工具,专注于 多语言执行、虚拟机、LLM集成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 10
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.0 分
工具类型
AI工具
Forks

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

红龙代码执行引擎 是一款基于 Python 开发的开源工具,专注于 多语言执行、虚拟机、LLM集成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install red-dragon

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install red-dragon

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/avishek-sen-gupta/red-dragon
cd red-dragon
pip install -e .

# 验证安装
python -c "import red_dragon; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
red-dragon --help

# 基本用法
red-dragon input_file -o output_file

# Python 代码中调用
import red_dragon

# 示例
result = red_dragon.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# red-dragon 配置文件示例(config.yml)
app:
  name: "red-dragon"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
red-dragon --config config.yml

# 或通过环境变量配置
export RED_DRAGON_API_KEY="your-key"
export RED_DRAGON_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 87/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <img src="banner.svg" alt="RedDragon — Multi-language code analysis and execution" width="900"> </p>

VM features

The VM executes programs deterministically, tracking data flow through incomplete programs with missing imports or unknown externals entirely without LLM calls.

FeatureSummary
**Write-time type coercion**Register values coerced to statically-inferred types at write time (e.g. Float→Int for array indices)
**Class inheritance**10 OOP frontends extract parent chains; executor walks inheritance hierarchy on method miss; multi-level dispatch, overrides, overload accumulation
**Static method dispatch**Class.method(args) dispatches directly via ClassRef across Java, C#, C++, PHP, Ruby
**Overload resolution**Composable OverloadResolver: arity distance + type compatibility scoring with TypeGraph.is_subtype_expr() for inheritance-aware dispatch
**Field initializers**Instance field initializers prepended to constructor bodies (matching javac/Roslyn/kotlinc); synthetic constructors for classes without explicit ones
**Implicit this**Java, C#, C++ — bare field reads/writes in methods rewritten to LOAD_FIELD this/STORE_FIELD this when identifier matches a declared class field
**Property accessors**Kotlin/Pascal custom getters/setters lowered as synthetic methods; navigation expressions intercepted; common infrastructure reusable across frontends
**Default parameters**Shared __resolve_default__ IR helper; wired for 10 frontends (Python, JS, TS, Ruby, C#, C++, Kotlin, Scala, PHP, Pascal)
**Symbol extraction**All 15 frontends run pre-lowering symbol extraction building SymbolTable of classes, fields, methods, inheritance; used for field resolution, type seeding, constructor generation
**Pattern matching**13-type Pattern ADT; 7 language consumers (Python, C#, Java, Rust, Ruby, Kotlin, Scala); compiles to existing IR primitives; guards supported
**Builtins**len, range, print, str, slice, etc. Method builtins (length/size/Length, subList, substring, toString) via METHOD_TABLE. All return BuiltinResult — no direct heap mutation
**Byte-addressed memory**ALLOC_REGION/WRITE_REGION/LOAD_REGION for COBOL-style REDEFINES overlays
**Named continuations**SET_CONTINUATION/RESUME_CONTINUATION for COBOL PERFORM return semantics
**Closures**Shared mutable environments (capture-by-reference); mutations persist across calls and are visible to sibling closures
**LLM resolver**Optionally replaces symbolic placeholders with concrete values for unresolved function/method calls

<details> <summary><strong>VM feature implementation details</strong> (click to expand)</summary>

  • Class inheritance and method resolution — the registry pre-linearizes parent chains via BFS, and the executor walks the parent chain on method miss. Method overload accumulation preserves multiple methods with the same name as list[str]. C++ Util::square(5) is lowered by a dedicated lower_cpp_call pass. Ruby singleton methods (def self.method) are registered under the bare method name. C++ static methods skip implicit this emission.
  • Overload resolutionArityThenTypeStrategy ranks candidates by arity distance then type compatibility score (exact=2, coercion/subtype=1, neutral=0, mismatch=-1). DefaultTypeCompatibility uses TypeGraph.is_subtype_expr() for inheritance-aware dispatch (e.g. foo(Dog) beats foo(Animal) when passing a Dog), with _COMPATIBLE_PAIRS handling primitive coercion (Int↔Float, Bool→Int) separately from subtyping.
  • Field initializer lowering — matches how real compilers handle them: javac, Roslyn, kotlinc, scalac. Classes without explicit constructors get a synthetic __init__ (or __construct for PHP). Lua table-based OOP uses a different mechanism: dotted function declarations emit STORE_FIELD, dotted calls emit LOAD_FIELD + CALL_UNKNOWN (ADR-104).
  • Implicit-this field store — in constructors, bare x = v assignments where x is a declared class field are rewritten to LOAD_VAR this + STORE_FIELD at lowering time. Implicit-this field readsresolve_field walks the class hierarchy; _method_declared_names tracks local variables to avoid shadowing. reset_method_scope() called at method entry.
  • Property accessor interception — Kotlin: get() = field + 1 lowered as __get_<prop>__ with field resolved to raw LOAD_FIELD/STORE_FIELD. Pascal: property Name: string read FName write SetName supports field-targeted and method-targeted accessors. Common infrastructure in common/property_accessors.py.
  • Symbol extraction — OOP languages extract class fields, methods, inheritance chains. Struct-based languages (Go, C, Rust) extract struct fields and functions. Go methods attached to receiver struct. Pascal classes extract from declSection > declField. COBOL uses from_data_layout. resolve_field returns NULL_FIELD sentinel (not None).
  • Pattern matching — 13 types: Literal, Wildcard, Capture, Sequence (with Star), Mapping, Class (positional via __match_args__), Or, As, Value, Deref, Relational, And, Negated. CPython linear chain model with two-pass test-before-bind. Seven consumers: Python, C#, Java, Rust, Ruby, Kotlin, Scala. Decomposes into BINOP ==, CALL_FUNCTION isinstance/len, LOAD_INDEX, LOAD_FIELD, STORE_VAR, BRANCH_IF.

</details>

The execution engine is split into focused modules under interpreter/vm/: vm_types.py (state model with domain-typed keys), vm.py (apply_update, operators, register resolution), executor.py (34 opcode handlers dispatched by instruction type), builtins.py (built-in function table), unresolved_call.py (symbolic/LLM call resolution), and field_fallback.py (field access chain). Supporting modules: cfg_types.py, run_types.py, registry.py, and cobol/ (COBOL type system, EBCDIC tables, IR encoder/decoder builders). All 34 IR opcodes are defined as frozen dataclasses in interpreter/instructions.py, with domain-typed fields (Register, CodeLabel, VarName, FieldName, FuncName, BinopKind/UnopKind) and reads()/writes() methods for dataflow analysis.

Prerequisites

  • Python >= 3.10
  • Poetry
  • JDK 17+ (COBOL frontend only)
  • Maven (COBOL frontend only)

1. Python dependencies

poetry install

2. ProLeap COBOL bridge (requires JDK 17+ and Maven)

cd proleap-bridge && ./build.sh && cd ..

Ollama requires no API key (runs locally at localhost:11434)

```

LLM resolver: deterministic frontend + LLM resolves external/missing dependencies

result.whole_program_graph — whole-program dependency graph

Example: dependency graph

a = 1
b = 2
c = a + b
d = a * b
e = c + d
f = e - a

def square(x):
    return x * x

g = square(c)
h = g + f
total = h + e + b

Diamond dependencies (c and d both depend on a and b), function calls (g = square(c)), and multi-operand expressions (total = h + e + b). The direct dependency graph (docs/graph.md):

flowchart BT a["a"] b["b"] c["c"] d["d"] e["e"] f["f"] g["g"] h["h"] total["total"] a --> c b --> c a --> d b --> d c --> e d --> e a --> f e --> f c --> g f --> h g --> h b --> total e --> total h --> total

total directly depends on h, e, and b. The transitive closure adds a, c, d, f, and g. See scripts/demo_dataflow.py for the full pipeline (lowering → CFG → reaching definitions → dependency graph → Mermaid visualisation).

Multi-file project — compile directory, browse import graph, debug across modules

poetry run python -m viz project tests/fixtures/projects/python_basic -l python poetry run python -m viz project /path/to/java/project -l java -s 500 ```

Six synchronized panels: Source (span-highlighted), AST (collapsible tree, toggle a), IR (grouped by CFG block), VM State (heap/stack/registers with diff highlighting), CFG (box-drawing graph, toggle g), and Step (delta summary). Arrow keys step forward/backward, space toggles auto-play, d toggles Dataflow mode (replaces AST/VM/CFG with call-graph summaries and whole-program dependency graph, cross-highlights source and IR on function selection), q quits.

The project mode (viz project) compiles an entire directory via compile_directory() and presents a two-phase experience. Phase 1 (Project Overview) shows a box-drawing import DAG and an entry-point picker grouped by module. Select a function or top-level execution to proceed. Phase 2 (Execution) reuses all standard panels with module-aware source switching: as execution crosses module boundaries, the Source and AST panels automatically swap to the active module's content, and the Source title updates to show the current file path. Press p to return to the project overview.

The pipeline result also includes interprocedural analysis (call graph, function summaries, and whole-program dependency graph) when the source contains function definitions. The Dataflow Summary panel (viz/panels/dataflow_summary_panel.py) renders this as a collapsible tree: each function shows its callers, callees, and merged data-flow summaries across call contexts. The Dataflow Graph panel (viz/panels/dataflow_graph_panel.py) renders interprocedural data flow as a collapsible call-chain tree. Top-level call sites are discovered via find_top_level_call_sites, then build_call_chain recursively constructs a per-parameter flow tree for each callee: each parameter's data flows to return endpoints, field writes, or through inner call sites (with argument mapping) into recursive subtrees, with cycle detection via immutable visited sets. The tree widget replaces the previous flat edge list, making multi-level call chains navigable. The legacy annotate_endpoint and render_graph_lines functions remain available for programmatic use.

The lowering trace mode shows four panels: source with highlighted spans, a collapsible tree of handler invocations (which handler processed which AST node), handler details (emitted IR, dispatch type, module), and the full IR output. Click any node in the trace tree to see its handler, emitted instructions, and source location.

The coverage matrix mode displays a cross-language grid showing which AST node types each frontend handles, distinguishing language-specific handlers () from shared/common handlers (✓*). Supports filtering by node type name.

Setup

Full build (including COBOL)

```bash git clone --recurse-submodules https://github.com/avishek-sen-gupta/red-dragon.git cd red-dragon

Minimal build (without COBOL)

git clone https://github.com/avishek-sen-gupta/red-dragon.git
cd red-dragon
poetry install
poetry run python -m pytest tests/unit/ -x -q

All 15 tree-sitter frontends and the LLM frontends work without JDK/Maven. COBOL integration tests skip gracefully when the ProLeap JAR is not present.

Build a CFG (optionally scoped to a single function)

cfg = build_cfg_from_source(source, function_name="factorial")

LLM frontend: the LLM acts as a compiler frontend, lowering source to IR

ProLeap bridge standalone usage

cat myprogram.cbl | java -jar proleap-bridge/target/proleap-bridge-0.1.0-shaded.jar
java -jar proleap-bridge/target/proleap-bridge-0.1.0-shaded.jar myprogram.cbl
java -jar proleap-bridge/target/proleap-bridge-0.1.0-shaded.jar -format TANDEM myprogram.cbl

Usage

poetry run python interpreter.py myfile.py -v            # run on a file
poetry run python interpreter.py myfile.py --ir-only      # inspect IR only
poetry run python interpreter.py myfile.py --cfg-only     # inspect CFG only
poetry run python interpreter.py example.js -l javascript  # non-Python source
poetry run python interpreter.py myfile.py -f llm -v       # LLM frontend
poetry run python interpreter.py myfile.py -f chunked_llm  # chunked LLM frontend
poetry run python interpreter.py example.cob -l cobol         # COBOL via ProLeap bridge
export PROLEAP_BRIDGE_JAR=/path/to/bridge.jar                 # optional: custom bridge JAR path
poetry run python interpreter.py myfile.py --mermaid        # output CFG as Mermaid flowchart
poetry run python interpreter.py myfile.py --mermaid --function foo  # CFG for a single function
FlagDescription
-vPrint IR, CFG, and step-by-step execution
-lSource language (default: python)
-bLLM backend: claude, openai, ollama, huggingface (default: claude)
-nMaximum interpretation steps (default: 100)
-fFrontend: deterministic, llm, chunked_llm, cobol (default: deterministic)
--ir-onlyPrint the IR and exit
--cfg-onlyPrint the CFG and exit
--mermaidOutput CFG as a Mermaid flowchart diagram and exit
--functionExtract CFG for a single function (use with --mermaid or --cfg-only)

Example: CFG

def classify(x):
    if x > 0:
        label = "positive"
    else:
        label = "negative"
    return label
flowchart TD entry(["entry
LOAD x · CONST 0 · BINOP >
BRANCH_IF"]) if_true["if_true
CONST "positive"
STORE_VAR label"] if_false["if_false
CONST "negative"
STORE_VAR label"] merge(["merge
LOAD_VAR label
RETURN"]) entry -- T --> if_true entry -- F --> if_false if_true --> merge if_false --> merge

Function bodies appear as subgraphs with dashed call edges (-.->|"call"|) connecting CALL_FUNCTION sites to function entry blocks. Blocks with more than 6 instructions are collapsed to show the first 4 lines, an ... (N more) placeholder, and the terminator — keeping CFG diagrams readable without hiding critical branch/return instructions. All 15 frontends produce the same CFG shape for equivalent logic.

Example: deterministic execution (0 LLM calls)

def factorial(n):
    if n <= 1:
        return 1
    else:
        return n * factorial(n - 1)

result = factorial(5)
[step 4]  call factorial(5) → dispatch to func_factorial_0
[step 53] binop 1 <= 1 = True   ← base case
[step 56] return 1               ← unwind begins
[step 57] 2 * 1 = 2 → 3 * 2 = 6 → 4 * 6 = 24 → 5 * 24 = 120
[step 65] store_var result 120

Final state: result = 120  (67 steps, 0 LLM calls)

The VM also handles — all deterministically:

  • Classes & Arrays — heap allocation via Pointer(base, offset) with parameterized types (Pointer[ClassName], Pointer[ElementType]), method dispatch with overload resolution (arity + type + subtype-aware scoring via TypeGraph), field access
  • Closures — shared mutable environments (capture-by-reference); mutations persist across calls and are visible to sibling closures
  • Byte-addressed memory regionsALLOC_REGION/WRITE_REGION/LOAD_REGION for COBOL-style REDEFINES overlays
  • Named continuationsSET_CONTINUATION/RESUME_CONTINUATION for COBOL PERFORM return semantics
  • Data layout preservation — COBOL field names, offsets, lengths, and type metadata attached to VMState.data_layout after execution
  • Builtinslen, range, print, int, str, slice, arrayOf/listOf, byte-manipulation primitives, etc. Method builtins (subList, substring, slice, length/size/Length, toString) dispatch through METHOD_TABLE for cross-language collection and string operations. All builtins return a BuiltinResult(value, new_objects, heap_writes) (defined in vm_types.py) instead of raw values — no builtin directly mutates vm.heap. Heap mutations are expressed as data in the result and applied uniformly via StateUpdate, keeping builtins pure and side-effect-free.

The execution engine is split into focused modules under interpreter/vm/: vm_types.py, vm.py, executor.py (34 opcode handlers), builtins.py, unresolved_call.py, and field_fallback.py. Supporting modules: cfg_types.py, run_types.py, registry.py, and cobol/ (COBOL type system, EBCDIC tables, IR encoder/decoder builders).

LLM API keys (optional)

Only needed for --frontend llm or when execution encounters symbolic values:

```bash export ANTHROPIC_API_KEY=sk-... # for Claude (default) export OPENAI_API_KEY=sk-... # for OpenAI export HUGGING_FACE_API_TOKEN=hf_... # for HuggingFace Inference Endpoints

Configurable unresolved call resolution

When the VM encounters a call to an unresolved function (e.g., math.sqrt(16)), the default behavior creates symbolic values that propagate through subsequent computation. The UnresolvedCallStrategy enum controls this:

  • SYMBOLIC (default) — creates symbolic placeholders: math.sqrt(16) → sym_N, subsequent sym_N + 1 → sym_M (precision death)
  • LLM — makes a lightweight LLM call to get a plausible concrete value: math.sqrt(16) → 4.0, subsequent 4.0 + 1 = 5.0 (precision preserved), with support for side effects via heap_writes/var_writes
from interpreter.run import run
from interpreter.run_types import UnresolvedCallStrategy

vm = run(source, language="python", unresolved_call_strategy=UnresolvedCallStrategy.LLM)

Programmatic API

All CLI pipelines are available as composable functions — no argparse required.

Deterministic (no LLM calls)

```python from interpreter import lower_source, lower_and_infer, dump_ir, build_cfg_from_source, dump_cfg, dump_mermaid, extract_function_source, ir_stats, run from interpreter.constants import Language

source = """ def factorial(n): if n <= 1: return n return n * factorial(n - 1) result = factorial(6) """

Pipeline visualisation

Pipeline Visualisation

Built-in pipeline visualizer

An interactive TUI for stepping through the full pipeline (source → AST → IR → CFG → execution) is included in viz/:

```bash

Full pipeline: parse → lower → CFG → execute (deterministic, 0 LLM calls)

vm = run(source, language=Language.PYTHON, verbose=True) frame = vm.call_stack[0] print(frame.local_vars["result"]) # 720


#### With LLM calls
python from interpreter import lower_source, run from interpreter.constants import Language from interpreter import constants from interpreter.run_types import UnresolvedCallStrategy

result.call_graph — cross-module call graph

Exercism integration suite

The Exercism suite (tests/unit/exercism/) pulls canonical test data from Exercism's problem-specifications and runs solutions in all 15 languages. Each exercise is parametrized across all canonical test cases.

<details> <summary><strong>Exercism exercise breakdown</strong> (click to expand)</summary>

ExerciseConstructs testedCasesExecution
**leap**modulo, boolean logic, short-circuit eval9270
**collatz-conjecture**while loop, conditional, integer division4120
**difference-of-squares**while loop, accumulator, function composition9270
**two-fer**string concatenation, string literals390
**hamming**string indexing, character comparison, while loop5150
**reverse-string**backward iteration, string building5150
**rna-transcription**multi-branch if, char mapping6180
**perfect-numbers**divisor loop, three-way return9270
**triangle**nested ifs, validity guards, float sides21630
**space-age**float division, string-to-number mapping8240
**grains**exponentiation, large integers (2^63)8240
**isogram**nested while loops, case-insensitive comparison14420
**nth-prime**nested loops, trial division, primality testing390
**resistor-color**string-to-integer mapping, string equality390
**pangram**nested loops, letter search, toLowerChar helper11330
**bob**string classification, multi-branch return22616
**luhn**charToDigit helper, right-to-left traversal, modulo22660
| **acronym**

Compare mode — side-by-side across languages

poetry run python -m viz compare c:viz/examples/pointer_demo.c rust:viz/examples/pointer_demo.rs

🎯 aiskill88 AI 点评 B 级 2026-06-08

创新的IR+VM架构解决LLM代码执行的确定性问题,但项目初期阶段,需���多社区验证和文档完善。

📚 实用指南(长尾问题)
适合谁
  • 需要 red-dragon 解决具体问题的开发者与运营人员
最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
red-dragon 中文教程red-dragon 安装报错怎么办red-dragon 与同类工具对比red-dragon 最佳实践red-dragon 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 red-dragon 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

通过IR中间表示支持多语言,具体支持列表见官方文档
💡 AI Skill Hub 点评

AI Skill Hub 点评:红龙代码执行引擎 的核心功能完整,质量良好。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

📚 深入学习 红龙代码执行引擎
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 red-dragon
原始描述 开源AI工具:Multi-language code execution through a simple IR and deterministic VM with LLM 。⭐10 · Python
Topics 多语言执行虚拟机LLM集成代码解释
GitHub https://github.com/avishek-sen-gupta/red-dragon
License MIT
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/avishek-sen-gupta/red-dragon

收录时间:2026-06-08 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。