
Cruxible Core
io.github.cruxible-ai由 GitHub 账号 cruxible-ai 发布v0.1.2更新于 Oct 27, 2026
Deterministic decision engine with receipts. Define rules in YAML, query a graph, get proof.
发布方自己的服务:core.blue
概览
Cruxible Core 把受治理的状态引擎接入助手:用 YAML 声明规则、查询实时图,并获得带凭据、经审核的答案。
- 可以做什么
- 通过命名图遍历查询实时状态,返回凭据并明确分页与截断
- 提交带证据的主张与 Procedure,经审核组进入正式状态
- 运行仅由运营方导出能力组成、有边界且留凭据的 Procedure
- 记录佐证、结果契约与更正,而不静默改写历史
- 对配置、锁定与图状态生成快照与备份
- 适用场景
- 当多个智能体或会话必须依据同一份当前主张、规则与已审核动作行事,而不是各自解读文档时;当决策需要证据、审核与可审计凭据时,适合加入。
- 运行要求
- 以本地进程运行(pip install cruxible),需要本地守护进程,通常使用 SQLite 状态文件;快速上手会用到 CRUXIBLE_SERVER_STATE_DIR 等状态目录与服务地址。可选认证模式可为每个智能体签发令牌。CRUXIBLE_ALLOWED_ROOTS 限制 cruxible_init 可访问的目录;CRUXIBLE_MODE 设为 admin、graph_write 或 read_only。
安装
在 SourceWeft 中
- 打开 控制台中的 Cruxible Core,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Cruxible
[PyPI version] [Python 3.11+] [License: Apache 2.0]
cruxible.ai · quickstart · docs · kits · skills
Cruxible is a governed state engine for AI agents. It produces a Crux: an executable artifact of your domain knowledge with a code-like lifecycle — typed, reviewed, versioned, auditable, and tested against outcomes.
The problem. Code is typed, reviewed, and versioned; it executes deterministically, and tests verify it in seconds. The judgments, observations, reusable actions, and decisions agents produce land in prose — which doesn't execute, has no governed path from proposed to trusted, and puts no bounds on what gets repeated. Real decisions resolve over weeks or months, long after anything is still tracking them. And prose can't serve as shared ground: an organization running many agents needs them all acting on the same current claims, rules, and reviewed ways of acting, not on each agent's own reading of the documents.
How it works. You declare the domain ontology and its rules in YAML. Reproducible pipelines turn trusted source data into typed state. When an agent or human makes a judgment, Cruxible can require evidence and review before the claim becomes live. When an agent learns a way of acting that works, it can propose that too: a Procedure passes through the same review cycle as a claim and runs only within its declared inputs, preconditions, and limits. A decision can be required to declare, before it is accepted, what result will count as success; the outcome contract comes due on its own schedule and records what reality said. Queries and actions run against the same live state, and invalid changes are refused. No LLM runs inside the engine.
Why use it. Every agent works against the same live claims and can invoke the same reviewed, bounded Procedures. Invalid writes and actions are refused, contradictions remain visible until resolved, decisions can be checked against what happened, and computed answers, mutations, and action runs carry receipts that explain them. Snapshots capture exact config, lock, graph state, and procedure definitions at a revision for comparison, branching, and transfer; backups preserve the complete audit stores for recovery. The whole artifact outlives any single session or model.
One small example: a supplier inventory and incident feed build entities from pinned sources. An agent concludes that an incident impacts a supplier, but the relationship is declared a judgment call:
Now the policy is part of the runtime. The direct write is refused, review admits the judgment, and a query computes its consequence:
The source facts came through deterministic ingest; the inferred edge entered through review. Queries can now traverse its consequences, guards and gates can act on it, and later observations can contradict it without silently rewriting history.
Continue through a learned action, measured outcome, and correction
The complete lifecycle, abbreviated:
The Procedure is immutable once accepted and can call only capabilities the operator exported, within its reviewed preconditions and budgets. The outcome contract is declared before the decision becomes live and pins how success will be measured. The attestation is an append-only observation: resolving it does not silently change the claim, so the subsequent rejection is a separate, receipted decision. The old claim, observation, and reasoning remain available after live query results change.
Cruxible uses the same boundary itself: this repository refuses a push to main until state pins an approved review (how).
pip install cruxible— the Quickstart goes install to first query; Get Started below runs the seeded demo world in ~3 minutes, with no model calls or API keys.
Inside a Crux
Model — declare the world and the rules that govern it
- Entity types, relationships, enums, contracts, queries, guards, and gates live in one Terraform-like config
- Kits package a reusable model with its policies, workflows, and providers; overlay kits compose domain and operating models without copying them
- Authoring skills help draft the ontology from source systems and artifacts; the operator reviews the contract the runtime will enforce (Modeling State)
Settle — turn evidence and judgment into live operational state
- Sources remain content-hashed artifacts; claims cite exact source locations instead of copying the corpus into the graph
- Deterministic facts can be built through previewed, lock-pinned workflows; judgment enters as an evidence-backed proposal
- Per-type
write_policychooses direct, proposal-only, or mint-only admission; guards enforce evidence, transitions, and co-writes at one chokepoint (Concepts) - Judgment calls land in review groups carrying their matching evidence; review mints attributed state with the rationale on record
- Four cumulative permission tiers per credential; a guard can require the reviewing actor differs from the creating actor, anchored on receipts (Auth And Agent Roles)
Compute — derive exact answers from the same live state
- Named traversals compute blast radius, dependencies, eligibility, and other recurring answers outside the model
- Query receipts identify the state revision and graph paths used; truncation and pagination are explicit rather than silently incomplete
- Compact output profiles, bounded neighborhoods, graph-shaped results, and a local read working set keep agent context proportional to the question
Act — execute learned procedures without granting arbitrary code
- Procedures are agent-proposable compositions of capabilities explicitly exported by the operator, with declared preconditions and execution budgets (Concepts)
- Independent acceptance pins an immutable Procedure to the reviewed config and lock; stale pins fail closed and revisions supersede rather than mutate it
- Every run is bounded and receipted. Guards protect state writes; gates hold external actions such as merges or deploys until live state permits them
Observe — connect action back to evidence without silent self-modification
- Attestations append dated support, contradiction, or uncertainty to an exact claim without changing its live status; reviewers resolve the discrepancy
- Outcome contracts declare the success criterion and pinned measurement before a decision is accepted, then record what reality said when the check comes due
- Corrections, rejections, and supersession remain explicit governed events. Outcomes inform the next revision; they do not rewrite state automatically (Concepts)
Operate — one daemon, many interfaces, state you own
- MCP server, CLI, and Python client against the same daemon, credentials, and tiers; agent setup is one MCP config block
- Snapshots, backups, state publishing, and an inspection UI over a SQLite file, portable as one artifact (Isolated Deployment)
Get Started
Build your own Crux with the
authoring skills
and Modeling State,
or run the demo — a seeded supply-chain world, ~3 minutes, with no model
calls or API keys. Sandbox writes attribute to a built-in operator
identity:
When agents join, identity turns on: restart with CRUXIBLE_SERVER_AUTH=true,
claim the bootstrap credential, and mint each agent its own token — every
write is attributed. Details, permission tiers, and hardening:
Quickstart ·
Runtime Auth And Agent Roles.
The Rules Run
Cruxible never asks a model to follow the rules, because the rules run as code. A rule declared in config runs at the write chokepoint on every mutation, and there is no code path around the chokepoint.
Guards face inward (the write boundary of live state); gates face outward (an external action holds until state agrees).
A declared gate, wired into git pre-push
This repository runs on that gate: it refused our own 0.2.2 release push until the review record was corrected in state. We fixed the state, not the hook.
The Full Walkthrough
The deep dive builds one governed truth end to end: a single
reviewed judgment lets a query walk a recursive bill of materials and
name every exposed shipment five typed hops downstream, with a receipt
you can explain.
The screenshot is the review seat in the inspection UI: each proposed edge carries the evidence that matched it, with a provenance rail back to workflows, receipts, and traces.
Where Cruxible Fits
Cruxible does not replace source systems, documents, or retrieval. Those layers help agents find and interpret evidence. Cruxible holds the smaller set of commitments that the rest of the system must query consistently, enforce, or act through.
If information is only useful to read, leave it in the artifact or retrieval layer. When agents across sessions must rely on it as current, traverse its consequences, enforce it, or act through it, compile that knowledge into a Crux.
Kits
A kit is a reusable template for a Crux: it packages an ontology with its governance, queries, workflows, and providers as one versioned, composable unit. Per-kit guides run each end to end.
Documentation
- Quickstart — install to first query
- Concepts — architecture and primitives
- Deep Dive — a governed domain end to end
- Modeling State — designing an ontology
- Config Reference — the YAML config schema
- CLI Reference · MCP Tools · AI Agent Guide
- Kit guides — KEV, supply chain, case law, agent operation — plus deployment, auth, backups, and publishing, all under
docs/; agent skills for authoring state from your data
Technology
Cruxible uses Pydantic for validation, NetworkX for in-memory graph operations, Polars for data operations, SQLite for local durable state, FastAPI for the daemon, and FastMCP for MCP tools.
Contributing
Contributions welcome — see CONTRIBUTING.md. If governed agent state is a problem you're working on, star the repo or open an issue with your use case.
License
Apache 2.0
来源:README.md,提交 e848cbb
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Core 集成
core.blue
blue.core官方发布者
core.blue 的远程 MCP 端点,提供每位客户独立的私有智能体记忆“house”:可读手册、试用沙盒、查价格与建议,并申请 house。

Brevio Core
由 GitHub 账号 Brevio-Ventures 发布
本地 MCP 服务器,让编码代理扫描代码中反复出现的代理式错误、解释规则、列出规则,并把一次修复固化为守卫。

brain-core
由 GitHub 账号 xy-claude 发布
本地 MCP 服务器,为 Claude Code 智能体提供跨会话的长期记忆,以 markdown 文件加本地 SQLite 与向量索引保存。

Scovant Core
由 GitHub 账号 Scovant 发布
对网站进行被动式AI代理就绪扫描:robots、llms.txt、JSON-LD、MCP发现、安全性。AI 翻译

ProofCore
由 GitHub 账号 ProofCore-Protocol 发布
面向AI代理的TON区块链零认证加密公证与证据层。AI 翻译