NOETRA

io.github.NOETRA2由 GitHub 账号 NOETRA2 发布v0.1.0-alpha.4更新于 Oct 25, 2026

Local-first evidence tracking, formal logic checks and prerequisite planning for AI agents.

概览

AI 生成的概览

本地优先的 MCP 服务器,为 AI 助手提供可核查的证据记录、Z3 形式逻辑校验和基于依赖关系的前置条件规划。

可以做什么
在项目本地 SQLite 中保存带来源归属的证据、假设、未知项和修订历史,支持显式导出与删除,并保留来源哈希。构建结构化世界图,执行规则推演并检测矛盾。用 Z3/WASM 校验给定的整数线性约束,判断蕴含关系并给出反例,结果限定于所给前提。依据显式依赖与前置条件对宿主提出的候选操作进行规划与排序,并报告被阻塞的步骤。在刻意启用时可配置重建与外观分析操作,包括网格导出与渲染验证。
适用场景
适合需要可审计观察记录、对所述约束做形式化校验,或在执行前梳理前置条件的场景。适用于本地、项目范围内的工作,且结果应保持可检查而非直接采信。
运行要求
以 npm 包 noetra 通过 stdio 在本地运行;需要 Node.js 24.x 系列中的 24.11+ 或 Node.js 26+,以及 npm。核心推理工具无需 GPU、模型 API 密钥或 AI 订阅。可选的重建与 3D 流程需另行准备依赖和模型权重。
安装前请注意
属于开发者 alpha 版本,依赖前请确认发布状态。形式化结果仅限定于所给前提,并非经验事实;存储的观察仍属不可信。Hunyuan 等可选提供方有各自许可,含地域与用途限制,且不会随包捆绑。安装配置会先预览,需显式确认才应用;请勿上传凭据、私人图像或模型权重。

安装

在 SourceWeft 中

  1. 打开 控制台中的 NOETRA,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

NOETRA — Universal Cognitive Engine

Give AI agents a checkable trail: evidence, formal logic and prerequisite plans.

Local-first, open-source MCP server · CLI · TypeScript SDK. The core runs on an ordinary CPU with Node.js; no GPU, AI subscription or model API key needed. It stores attributed evidence, checks supplied integer constraints through Z3, and plans from explicit dependencies. It does not replace your host AI.

Open the recorded preview · Try the engine locally · npm · Connect your agent · Tool API · Launch status

Developer alpha 0.1.0-alpha.4. Check release availability for current npm, MCP Registry and hosted-demo status. Source and local tarball installation are available independently of those services. Image-to-3D is an optional, unfinished advanced workflow; no validated 90% fidelity claim exists.

Try it in one minute

With Node.js 24.11+ in 24.x, or Node.js 26+, run the published exact version:

sh
npx --yes [email protected] demo

Open http://127.0.0.1:7860. Check a claim, toggle a missing prerequisite or inspect an evidence record. These controls execute the actual engine, not canned results. Every run has a separate in-memory database, discarded afterward. No model downloads or optional 3D tools are installed. Stop with Ctrl+C.

No installation yet? The free online preview lets you inspect real recorded examples and the walkthrough. It displays stored results; it does not run the engine remotely. The command above runs the actual engine locally. The npm artifact was checked against the reviewed upload and a fresh anonymous registry installation passed the MCP/SQLite/Z3 self-test.

[Actual NOETRA core output, presented as a result card]

Watch the 60-second result walkthrough · How to reproduce the examples

The walkthrough presents actual engine outputs as labelled cards; it is not a browser recording. Capture provenance.

A result you can inspect

ExampleWhat NOETRA doesScope
Integer premise x ≥ 2, claim x ≥ 1Z3 checks entailmentValid only for the supplied integer premises
Same premise, stronger claim x ≥ 5Returns a counterexampleA formal counterexample, not a real-world measurement
Build → review → release, tests missingReports blocked actionsActions/effects are supplied; nothing is published
One observed test resultStores origin, digest and limitationsRemains an untrusted observation, not proof

Maintained by NOETRA2. Core code is MIT licensed. Optional providers have their own licences and are not bundled or installed automatically. NOETRA is independent of Nexa apps and is not endorsed by Tencent, OpenAI, REA, Blender or other upstream projects.

What is implemented

  • Evidence records, assumptions, unknowns and revision history in project-local SQLite memory; explicit local export/removal.
  • Structured world graphs, rule deduction and contradiction detection.
  • Z3/WASM checks for supplied integer-linear constraints, entailment and counterexamples. A formal result is scoped to its premises, not empirical truth.
  • Dependency/precondition planning and ranking host-authored candidates.
  • Eleven default MCP operations; 23 optional reconstruction operations when deliberately configured, plus one optional Ghidra route.
  • Optional REA integration for permission-scoped software investigation.
  • Reference preservation, source hashes, calibrated-silhouette experiments, bounded part correction and local mesh export/render validation.
  • Automatic observed-colour families, connected image regions, boundaries and texture directions. Colour regions are not verified anatomical parts.
  • Real xatlas UV generation and Blender PBR-map baking; a measured-palette preview uses an existing attributed layout and preserves original geometry.

Install from this repository

Prerequisite: Node.js 24.11+ in the 24.x line, or Node.js 26+ and npm. No GPU is needed for the core reasoning/MCP tools.

sh
git clone https://github.com/NOETRA2/NOETRA.gitcd NOETRAnpm ci --ignore-scriptsnpm run buildnode dist/apps/cli/src/index.js helpnode dist/apps/cli/src/index.js doctornode dist/apps/cli/src/index.js test

GitHub's Code → Download ZIP also provides the source; extract it and run the npm commands from that folder. Once the exact release appears under the verified owner harshavardhan2 on npm, it can be run without a source build:

sh
npx --yes [email protected] testnpx --yes [email protected] demo

Use a project-local installation for durable AI-host registration, rather than relying on an npm temporary cache path. Availability and publish verification are tracked in the release-status document; these commands are not a claim that an unverified package or hosted endpoint is live.

To build a local distributable:

sh
npm pack

Connect an AI host

sh
node dist/apps/cli/src/index.js setup --client codex --scope projectnode dist/apps/cli/src/index.js setup --client cursor --scope projectnode dist/apps/cli/src/index.js setup --client claude --scope project

Setup previews configuration first. Cursor/Claude JSON setup requires a reviewed --apply --yes; Codex registration prints a TOML snippet for manual review. Reconnect the host afterward. No existing AI-client or REA settings are silently replaced. See installation.

Models and tools used

ComponentRoleWhat it does not establish
Codex host agentInterpreted the brief, authored scripts/candidates and reviewed outputExact host model identifier was not recorded in the original experiment
Built-in image-generation toolCreated reference/concept artworkThose images are not renders of a mesh; exact image-model/version was not recorded
Tencent Hunyuan3D-2mini TurboActual learned lion geometryHidden surfaces, accurate anatomy, physical scale and materials remain unverified
TripoSR + U2Net/rembgOptional local shape backend / foreground estimationNot automatically fused detailed multi-view reconstruction
Blender 5.2.2 LTSMesh assembly, PBR baking, export and actual rendersA successful render is not an accuracy score
xatlas 0.0.11; OpenCV; NumPy/SciPyUV charts, measured appearance, image/geometry calculationsColour clusters do not identify anatomy or recover depth
Z3Checks explicit formal constraintsDoes not judge artistic quality or physical truth
REA 6.7.0 / optional GhidraAuthorized software investigationThey are analysis tools, not image-to-3D generators

The lion model revision is f90a0f7df7d5e6f71109cf333f6a95a0ae3194a6; the upstream source commit is f8db63096c8282cb27354314d896feba5ba6ff8a. The pinned manifest includes full checkpoint/source hashes. Model weights, third-party applications, private accounts and local model caches are excluded.

Hunyuan is a separately licensed optional provider, not MIT-licensed model weights. Review its licence, notice and model/source provenance before provisioning it. Its licence contains territory and use restrictions. Powered by Tencent Hunyuan when that provider is enabled; Tencent does not sponsor, endorse or operate this independent project.

Real mesh demonstrations

The images below are Blender renders of actual meshes, not generated concept pictures presented as 3D output. Details, settings and limitations are in comparisons.

Lion: standalone Blender mesh beside the NOETRA workflow

[Without NOETRA: standalone procedural Blender lion. With NOETRA: Hunyuan3D-2mini workflow.]

Left: without NOETRA, a new host-authored procedural lion built directly in Blender from primitives, remeshing and solid geometry. No NOETRA code or learned shape model generated that mesh. Right: with NOETRA, the existing lion created through its Hunyuan3D-2mini Turbo workflow. Both pictures render real meshes using the same clay material, lighting, view directions and normalized height. The procedural lion is stylized; these different methods are not a controlled test of NOETRA's quality or accuracy. The downloadable mesh, script and second angle are in comparisons.

We also ran a separate direct Hunyuan inference with NOETRA bypassed and otherwise matching inputs/settings. That result is identical to the workflow's raw mesh; the report preserves this evidence. No numerical accuracy gain is claimed.

Validation and limitations

The local core TypeScript/build checks, 71 Node tests and CLI protocol self-test passed. The reconstruction Python suite and focused cache/region tests passed (156 tests across the recorded runs). The example meshes were actually exported, reimported and rendered. GitHub Actions results, once available, are separate from these local checks.

The lion mesh and painting remain partial. Accurate facial anatomy, semantic part-to-mesh correspondence, calibrated detailed multi-view fusion, intrinsic albedo/PBR recovery and reliable unseen geometry are unfinished. The automatic appearance-readiness gate remains false; an explicitly requested unverified paint preview does not override it or replace the accepted model.

Accuracy is not measured by triangle count, watertightness, successful export or a visually pleasing screenshot. We need a defined metric, independent ground-truth 3D data, held-out inputs and reproducible evaluation before making a numerical fidelity claim such as 90%.

Documentation

Architecture · Tool API · Security · REA · Reconstruction · Appearance analysis · Surface painting · Third-party notices

Development

sh
npm ci --ignore-scriptsnpm run check

Python reconstruction tests require separately provisioned local dependencies; model inference is optional and is not run merely by installing the core package. Report reproducible problems through GitHub Issues, with sanitized inputs and logs. Do not upload credentials, private images, AI-client settings or model weights.

来源:README.md,提交 c961e47

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

1
  1. v0.1.0-alpha.4最新Oct 25, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分