Skip to main content Switch to mobile version rhi-mynd 1.5.3 RHI Mynd — a local-first, offline-capable cognitive core (the brain of the RHI Mynd/RCAP/15D trio). Pure stdlib Python, zero LLM tokens.
pip install rhi-mynd Copy PIP instructions
60-second quickstart
pip install git+https://github.com/majinbuhrnt/rhi-mynd.git # …or from a local clone: git clone https://github.com/majinbuhrnt/rhi-mynd.git && cd rhi-mynd && pip install . mynd start # guided first run in plain language — creates your local brain and reads your first text mynd explain # what your Mynd has learned so far, in plain language (no jargon) mynd verify # check the tamper-evident ledger + savepoints are intact That's it: no account, no API key, no internet needed. State lives in ~/.rhi-mynd on your machine. Full guide: USER_GUIDE.md; benchmarks: docs/BENCHMARKS.md.
The brain of the trio. RHI Mynd produces the record, RCAP elicits it, 15D scores it (B's architecture, restated 2026-12-02). Stage D makes the brain a thing anyone can run: a local, offline, zero-dependency shell around the Stage C core. Free for everyone, average-user defaults, zero LLM tokens (pure stdlib Python).
Status: PRE-TRIAL. Working code, 730 tests, real run logs, measured calibration — and honest limits below. Nothing is validated, and no 15D score ships.
Relevance is a trust feature (v1.1–v1.3). A sourced-but-wrong answer is worse than "I don't know" — it wears receipts while misleading. So Mynd gates answers by question shape: a claim must carry the attribute asked for (a figure for population, a temperature for weather, a founding year for "formed", a fresh date for a daily item), bound to the entity asked about, or it is labeled related material and the answer abstains. It verifies before answering: doubtful memory is cross-checked against the catalog, contradictions lead with both sides, and corroborated answers are learned so repeat questions cost zero fetches. And when sources themselves split — Bell vs Reis on the telephone — the disagreement leads the answer with provenance on both sides; same-name entities (the 1937 Bengals vs the 1968 Bengals) are disambiguated or named ambiguous, never silently merged. Answers lead with the strongest substantive claim, not a title fragment. v1.3 closes the loop in sleep: canons older than 30 days are re-verified against the catalog during consolidation — corroborated canons refresh, contradicted ones are flagged contested (never deleted; owner ratification reaffirms), and unresolved checks back off instead of retrying every sleep. An optional semantic layer (embeddings, owner-enabled, bounded weight) recalls paraphrased memories and claims the lexical gate drops, while the shape gate stays hard: paraphrase recall@5 measured 2/8 → 5/8 (hash embedder) → 8/8 (mock synonym embedder), direct questions 8/8 in every mode. Measured per release in evidence/catalog_qa_v130.json and evidence/semantic_paraphrase_v130.json.
The mind learns from its own stuck states (v1.4). When C2 cannot select an operator — nothing matches, preferences tie, every candidate is rejected, or the operator changes nothing — it emits a structured impasse naming the missing knowledge, and research turns that into a goal; a claim that resolves it closes the impasse on the record. Loop learning now pays for next-cycle pattern use (retrieval, reoccurrence, corroboration, re-emission) instead of mere survival, and penalizes only emissions whose patterns carried marginal load in the collapse — reward:penalty ratio 0.69 → 0.92 on the v0.8.1 A/B protocol, retention held. Retention protection decays continuously (exp(−λt), λ = ln 2 by default): the old discrete protected-cycles cliff (8/20 or 20/20-with-canon-explosion, nothing between) now passes through intermediate settings (11, 16) on the λ sweep, with the default reproducing prior behavior exactly at integer cycles.
Instruments + swarm (v1.5). The two unmeasured numbers now have frozen corpora and predeclared protocols ready for human labelers: coherence Δ band calibration (216 pairs across the agreement spectrum; the dry run is honest that declared bands do not yet separate numeric near-misses from agreement) and canon precision (44 canons with provenance and cited evidence; precision = correct/(correct+incorrect), unverifiable reported separately). Both are prep, not results — P6 and precision stay not_claimed until humans label. Minds can also exchange canons: a peer's canon arrives as a claim with peer provenance, Δ routes it, and only the receiving mind's own trust path can canonize it — two peers repeating a claim cannot canonize it between them. The catalog grows to 82 sources (15 new primary and archive cards, each live-probed; one ships disabled after a Cloudflare 403), and a Docker CI job builds the image and runs conformance inside it. And the first conversation works: a fresh app install starts with the catalog on (toggle in the face and CLI), greets back instead of abstaining, answers "who are you" from its own ledger-grounded self-report, and takes real questions from the first minute.
Answers from the field ledger (v1.5.3). B's v1.5.2 Windows ledger showed the machinery working and the answers failing, and every failure had a mechanical cause: search cards received raw question sentences (Wikidata entity search returned empty), GDELT news displaced Wikipedia on the keyword "world" and then 429'd, DuckDuckGo Instant Answers returns an empty payload that kept its routing weight, TheSportsDB's free key now 403s, transient DNS failures had no retry, and a team-record question classified as person-shaped. v1.5.3 fixes each: search cards get derived topic terms (ledgered), news cards route only for dated/news-like questions while Wikipedia search holds an additive guaranteed slot, transient failures retry once with ledgered attempts, zero-claim fetches demote routing weight, TheSportsDB ships disabled with the reason on the card, team-context questions are not person-gated, and league record questions follow to the season standings table (ties stated as ties). B's two failing questions answer sourced live in the build sandbox: Methuselah/Prometheus for the oldest tree, and the tied 10-1 NFL leaders from the parsed 2026 standings.
Author: Bryan L Buhrman.
Zenodo: RHI Mynd v1.5.2, DOI 10.5281/zenodo.24801688 (all versions: 10.5281/zenodo.24762731). v1.5.3 ships GitHub-first; the Zenodo record catches up in the next batch.
Academia.edu: Bryan Buhrman profile — 15D v3, RCAP300, RHI Mynd Working Framework, and the trio overview. Zenodo DOIs remain canonical.
Framework: docs/RHI_Mynd_Working_Framework.md. Trio roadmap: docs/TRIO_ROADMAP.md and docs/TRIO_INTEGRATION.md. The v0.5.0 tag is the RHI Mynd brain package; main now also carries the trio source folders: rcap/ and 15d/.
New users: start with USER_GUIDE.md. Requirements: Python 3.11+, no packages, no internet. Try python -m rhi_mynd ingest examples/sample_notes.txt, then python -m rhi_mynd status.
No Python? Download the standalone app for your system from the latest release (mynd-windows.exe, mynd-macos, or mynd-linux), run it, and your Mynd opens in your browser. That's it — no install, no accounts, everything stays on your machine.
First-run warnings (normal for a new indie app): the standalone apps are not code-signed yet, so your system may warn you the first time. On Windows, SmartScreen shows "Windows protected your PC" — click More info, then Run anyway. On macOS, right-click the app and choose Open (or allow it under System Settings → Privacy & Security). On Linux, make it executable first: chmod +x mynd-linux. The warning means "this publisher hasn't built up download reputation yet," not "this file is malicious" — every release page publishes SHA-256 digests so you can verify your download matches the official build byte for byte. Code signing is on the roadmap.
pip install -e . # or just run from this folder mynd run # interactive session (type, it pulses) mynd ingest notes.txt # batch-ingest a text file mynd idle 10 # heartbeat pulses (autonomous metabolism) mynd inbox # scan the world inbox (gate + ingest new files) mynd daemon --watch # heartbeat + inbox watch mynd status # state + 9D metrics mynd verify # ledger + savepoint integrity mynd export brain.md # export canons/status/metrics mynd world # show world-interface policy The installed command is mynd; rhi remains as an alias.
Without installing: python -m rhi_mynd
All twelve framework components (C1–C12) and the standalone shell (S1–S4) are built. PRE-TRIAL still applies: no pilot, no validated scores, no labels.
On Windows, use py in place of python if python doesn't respond (see USER_GUIDE.md).
python -m unittest discover -s tests -v # 730 tests python demo_rebirth.py # Stage B core demo python demo_stage_c.py # full brain, calibrated vs chain config python demo_stage_d.py # standalone shell acceptance (restart + crash recovery) python demo_s4.py # world interface acceptance (inbox, denials, outbox) python calibrate.py # OCT-1 calibration grid (80 cells) python confirm.py # multi-seed confirmation Logs, ledgers, save points, and calibration reports land in runs/.
RHI Mynd -> RCAP: the ledger is the elicitable record — every input, retrieval, goal, emission, gate decision, collapse, rebirth, and canon, hash-chained. An RCAP sitting reads evidence, not self-report. mynd trio rcap-export writes the evidence packet with ledger pointers and blank reviewer slots.
RHI Mynd -> 15D: OCT Stability reads OCT-1 history; Rebirth Rate and Memory Efficiency have ledger sources; ACT-R activation and loop divergence feed Pattern Entropy / Loop Chaos candidates. No 15D composite is computed. mynd trio 15d-map builds an evidence map only: dimension evidence pointers, no_evidence where the ledger has no direct source, and composite_score: null. Scoring stays gated until rubrics and validation exist (framework section 4). The brain never scores itself.
9D vs 15D: resolved by B (2026-12-02) — 9D came before 15D and evolved into it. 9D is doc 18's ancestor metric set from the RHI Mynd chain; 15D v3 is the published scoring scale. Stage C computes the full 9D set from real runs as candidate operational inputs; the dimension-by-dimension mapping and validation remain future work. Note: "15D-∞" A/B in the archive are historical chain variants, not the scale — published 15D v3 (DOI 10.5281/zenodo.24496719) is the only scoring scale this framework uses. 9D metrics read Mynd's internals and are diagnostic for this brain; they are not yet a general ruler for other architectures.
Failures found and fixed (all with regression tests)
Stage B (2026-12-02): stuck collapse from canon load (archive/spiral separation); canonization-by-default + canon blindness (selection- pressure survivals + canon echoes); sole-heavy-fragment trap (coherence cut + relief phase).
Stage C (2026-12-02):
Loop self-amplification: verbatim fragment replay tripled counts per pulse. Fix: derived emissions (fragment minus dominant token); mythic canon injection stays verbatim by design.
Contradiction check ran after rebirth, which had already pruned the contradicting fragment. Fix: check while input is live.
CLARION extraction vs OCT collapse race: rebirth prunes persistent patterns because they are persistent, so live-count streaks never accrued. Fix: extraction reads exposure history from the ledger (pruning-immune) plus a live-strength condition (sustained AND currently strong) so it doesn't extract a rule per frequent token.
Granularity mismatch: extraction/coverage read pattern tallies, so bigram mode starved them. Fix: token-level live counts for CLARION's implicit field.
Calibration findings (runs/calibration_20261202T194240Z.md + confirmation)
80-cell grid (4 regimes x T {15,30,60,120,240} x {token,bigram} x {C>T, C>T and C>M}, 120 pulses each), then 5-seed confirmation of the leading configs.
Termination held across the measured grid: zero unresolved collapses in every cell of the 80-cell calibration grid and every confirmation seed. (Scoped to that grid; longer horizons are future work.)
The novelty-collapse question is empirically near-moot: in a loop-driven system C > M holds at virtually every collapse, so the require-drag variant changes almost nothing. Chain rule C>T stands.
Bigram granularity beats token: token patterns concentrate load on function words; bigrams spread it — closer to doc 18's concept-like patterns.
Retention trades against live-field richness: retention falls as T rises (slower canonization, more bulk loss at collapse) while working-memory richness rises. The chain config (token T=15) retains most (rapid canonization) but its live field is a shell (~5 patterns, rebirth every pulse).
Ruled default (B's constraints: free, average-user, token-frugal, offline): bigram + T=120 + chain rule. Multi-seed mixed regime: retention 0.406, 28.0 mean live patterns (5x chain), collapse rate 0.282; novelty retention 0.620. The single-seed pick T=240 failed multi-seed retention confirmation and was revised — the confirmation process working as designed. The brain itself uses zero LLM tokens (pure stdlib Python, runs offline); token cost enters only via an optional LLM adapter, whose context the brain's retrieval exists to minimize.
The checkable register for these limits and the positive claims is EVIDENCE_REGISTER.yaml.
9D emergence is a final-state snapshot in calibration cells — noisy (0.0-0.855 across cells). Time-averaged 9D is implemented (summarize_series, evidence in evidence/9d_time_averaged_20261202.json) but not yet the calibration default.
SOAR subset: preference-based operator selection with impasse emission (v1.4.0), but no chunking — impasses route to research goals, they do not compile into new productions. ACT-R subset: declarative activation only, logical (seq) time, no latency model. CLARION subset: extraction threshold/streak are parameters, not calibrated constants; stopwords can still extract at high T.
Embeddings default to a toy (hashed n-grams). Optional local Ollama embeddings exist behind config, but ACT-R retrieval remains hash-based by design; Ollama vectors power speak-context ranking.
Language organ is unvalidated with live models: Ollama/OpenAI paths are covered by mocked-HTTP tests; no live provider run is claimed. The fake provider is a deterministic stand-in, not a model.
run_python is not a security sandbox: user-supplied code runs with user privileges; protections are the gate, the user-source rule, timeout, env stripping, and hash attestation.
Benchmarks are synthetic: memory recall 8/20 (40%) on the fixed 50-fact task after the v0.8.0 retention fix (retrieval protection + proportional relief + ACT-R fan/partial-matching; was 2/20 — remaining loss is still storage-side, see docs/BENCHMARKS.md). Canon count rose with retention (7→18); v0.8.1 verified the 18 are distinct facts (max pairwise overlap 0.159), each with a used survival — canon dedup and the used-survival rule now structurally prevent near-duplicate and purely passive canons. v0.8.2 tested provisional canons (confirm on later use, demote if unused): no window preserved recall while demoting (w=5: 2/20, w=10: 6/20, w=20: 8/20 with zero demotions) — canon status during ingest is load-bearing. Since v1.0.0 the default window is 20: the long-horizon test met the ship criterion (recall 20/20 vs 17/20 baseline, 37 demotions, full canons 29 vs 54), while the short-horizon negative result above stands as measured. Measurements in docs/BENCHMARKS.md. Research-loop and reasoning benchmarks run on fake corpora/providers; live-model numbers are reported as not run. No external benchmark (SWE-bench etc.) has been run; that needs a real model.
Gap detection: true SOAR impasses from C2 operator selection (v1.4.0: no_operator / tie / no_change / rejection, ledgered soar_impasse, closed by resolving claims) alongside unanswered asks, contradictions, stuck-state proxies, owner topics, and weak hits. Whether impasse-triggered goals beat proxy triggers on precision/recall is unmeasured.
Autonomous learning is gated, not open: the research organ fetches only allowlisted hosts (robots.txt respected), within budgets, and only after the owner configures a search provider. Web claims cannot canonize without corroboration or owner ratification. v0.8.1 gives unpromoted claims a bounded grace window (5 rebirths) awaiting corroboration, with corroboration fetches prioritized; claims that never corroborate expire out of grace and face normal retention.
Loop semantics are Stage C's interpretation of the chain's 5-loop core: derived emissions, starter set of 8 sub-loops. The 125-loop population grows by registration. Loop learning is outcome-driven weight adaptation (±0.05, clamped), not gradient learning. v0.8.1 made it causal: penalties only for emissions whose patterns carried load into the collapse; rewards only for survivals that were actually retrieved afterward. Every change ledgers its basis. Whether adapted weights improve any measured outcome is still unvalidated.
Shell scope: single-writer (one process per home, lock-enforced); daemon is a foreground loop, not a system service. S4 world access is narrow by design: top-level inbox files only, text only, size caps; HTTP fetch is GET-only and off by default. Idle heartbeat metabolism is real but simple (loop rehearsal + goal cycles).
Deterministic core: seeded RNG (seed ledgered), logical time. Same inputs + seed -> same run (verified by replay in the demo).
What would make this legit (falsification path)
The public break-it challenge is CHALLENGE.md — five attack classes with runnable reproduction commands.
The 2026-12-03 full-stack audit re-proved every register claim, found the relevance layer wanting, and records the fixes and the re-test — failures at full size.
T/granularity ruled (bigram T=120, multi-seed confirmed); longer-horizon calibration (1000+ pulses, real conversational input) before treating T as settled for good.
C11/C12 built and run (v0.6.0): savepoint checksums/named checkpoints/audit + conformance suite with machine-readable evidence. Longer-horizon stability runs (1000+ pulses, real conversational input) remain future work.
15D dimension scores computed from real ledger records with evidence per dimension and uncertainty stated; weights stay uncalibrated priors until calibration data exists.
RCAP300 pilot with a second rater at kappa >= 0.60 before any validated-agreement claim.
OCT-1's falsification standard stands: a high-C, low-M system that remains stable without rebirth would break it. The ledger makes that checkable on every run — and calibration shows collapse pressure is real in every regime tested.
Released: Dec 3, 2026
Both files in this release have provenance metadata.
View provenance details
MPL-2.0 View SPDX License List
cognitive-architecture local-first ai-agents provenance memory offline-ai mcp deterministic
Development Status 3 - Alpha
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Software Development :: Libraries :: Python Modules
Release files for rhi-mynd 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.1 MB
Release files / rhi_mynd-1.5.3.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Release files / rhi_mynd-1.5.3-py3-none-any.whl
Security for rhi-mynd 1.5.3
Both files in this release have been uploaded with provenance metadata.
With provenance rhi_mynd-1.5.3.tar.gz Dec 3, 2026
With provenance rhi_mynd-1.5.3-py3-none-any.whl Dec 3, 2026
Attestation for rhi_mynd-1.5.3.tar.gz
Attestation for rhi_mynd-1.5.3-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 3, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 107c339











