Mechanistic interpretability research
with controls that can fail.
NSHKR studies representation, transport, superposition, and causal legibility with frozen protocols, matched controls, real-model or ground-truth synthetic runs, and reports that preserve negative results. The portfolio also includes an Elixir/OTP systems program for governed AI execution.
Research Programs
Each program keeps its question, controls, artifacts, and claim boundary together. Results are stated at the level the evidence supports: a decoder is not a mechanism, an internally coherent operator is not automatically useful, and a clean null is still a result.
Geometry of Conditional Truth
A cross-model Qwen3-4B and Phi-4-mini replication. Across eight preregistered endpoints, Phi supported one and Qwen supported none; both remained Level 1 of 6. Cross-model report.
Architecture Mechanics
Tiny trained models and known synthetic features make transport, overwrite, packing, and intervention outcomes directly measurable across mixing mechanisms.
Attention Lab
A matched GPT-pretraining harness for alternative attention architectures. Two confirmatory pretraining runs reached full-depth analysis; the current mechanism verdict remains insufficient evidence.
Superposition Zoo
Synthetic retrieval comparisons across attention, routing, linear attention, delta memory, and state-space mixing. Retrieval findings are real; the central feature-isolation question remains open.
Systems Engineering: Governed AI Execution
The Elixir/OTP side of the portfolio builds the write-path substrate an
enterprise needs after an AI system proposes an action. The important
artifact is not a prompt transcript; it is a durable chain from request
to authority, workflow, external effect, receipt, evidence, review, and
replayable proof. nshkr
is the production composition and release backbone; its
Nshkr.Runtime application boots the bounded owner services
as one fail-closed platform.
Actor, tenant, installation, request context.
Capability, policy, scope, review gate.
Operation context, causation, idempotency.
Operation class, manifest, lower instruction.
Effect receipt, status, failure class.
Evidence refs, attached artifacts, proof tokens.
Review case, decision, override, escalation.
AITrace DAG, predecessor refs, merge semantics.
Spatial topology, target host ID, BEAM node ref.
nshkr is the production backbone rather than another
capability package. Nshkr.Runtime composes persistence,
workflows, context, authority, provider accounts, execution, cluster
reconciliation, Synapse, and Extravaganza into reproducible monolith
and distributed deployments. Production profiles reject memory,
fixture, no-op, and static-success substitutes.
app_kit is the northbound surface product code is allowed
to touch for governed platform behavior. It accepts product-level
commands and stable DTOs, exposes operator reads and review controls,
and keeps products from stitching lower execution paths together by
hand.
mezzanine owns reusable operational truth: binding
registry, compiled run snapshots, workflow handoff, execution ledgers,
operation receipts, evidence, projections, review state, audit, and
operator actions. It records the facts that make the write path
replayable.
outer_brain owns semantic context, recall, normalized AI
outcomes, and semantic failure carriers. citadel
authorizes after resolution, when the operation class, manifest,
side-effect class, required scope, and credential constraints are
known.
jido_integration resolves connector manifests, operation
descriptors, and credential leases into governed lower invocation. It
lets provider mechanics be specific without leaking provider-shaped
control flow into reusable platform surfaces.
execution_plane performs raw mechanics across HTTP, CLI,
process, JSON-RPC, sandbox, terminal, filesystem, and future execution
lanes. It emits receipts and raw facts. Product meaning, review state,
and operational projections stay above it.
chassis is the self-replicating spatial substrate that maps virtual stack components to physical BEAM nodes. It coordinates host inventory, provisions remote nodes via native Elixir SSH bootstrap or pluggable adapters, and injects memory-decrypted age/SOPS credentials directly into Systemd service environments.
AITrace records causal execution events with predecessor
references so replay is not just emission order. stack_lab
adds scanners, acceptance gates, negative controls, failure drills,
and second-product validation so generality is tested instead of
assumed.
Authority follows resolution
A broad product request is not enough. Citadel authorizes the resolved operation plan after Mezzanine knows the operation class, manifest ref, binding ref, side-effect class, credential scope, and review constraints.
Provider specificity is data
A pack can bind issue tracking to Linear, code hosting to GitHub, or runtime work to Codex. Reusable surfaces still speak product roles, manifests, operation classes, receipts, and projections.
Proof is executable
stack_lab scenarios, AITrace DAGs, schema registries, release manifests, no-bypass scans, projection hashes, and proof tokens are not documentation after the fact. They are acceptance gates.
Repository Atlas
Generated from live repository metadata across the NSHKR and North Shore AI ecosystem.
LlmGuard
AI Firewall and guardrails for LLM-based Elixir …
★ 13
ExFairness
Fairness and bias detection library for Elixir AI/ML …
★ 1
crucible_examples
Interactive Phoenix LiveView demonstrations of the …
★ 1
crucible_harness
Experimental research framework for running AI …
★ 1
crucible_tensor_patch
Deterministic tensor patch plans, patch application, …
★ 1
crucible_xai
Explainable AI (XAI) tools for the Crucible framework
★ 1
ExDataCheck
Data validation and quality library for ML pipelines in …
cns_crucible
crucible_adversary
Adversarial testing and robustness evaluation for the …
crucible_bench
Statistical testing and analysis framework for AI …
crucible_bumblebee
Bumblebee, Axon, and Nx adapter layer for compiling …
crucible_datasets
Dataset management and caching for AI research …
crucible_deployment
ML model deployment for the Crucible ecosystem. vLLM …
crucible_ensemble
Multi-model ensemble voting strategies for LLM …
crucible_factorization
Nx SVD/SVF factorization primitives for neural network …
crucible_feedback
ML feedback loop management for the Crucible ecosystem. …
crucible_framework
CrucibleFramework: A scientific platform for LLM …
crucible_hedging
Request hedging for tail latency reduction in …
crucible_ir
Intermediate Representation for the Crucible ML …
crucible_kitchen
Industrial ML training orchestration - backend-agnostic …
crucible_model_registry
ML model registry for the Crucible ecosystem. Artifact …
crucible_policy
Routing, gating, fusion, uncertainty, verifier, shared …
crucible_provider_contracts
Formal Provider behaviour, ABI specifications, shared …
crucible_safetensors
SafeTensors parsing, validation, bounded slicing, …
crucible_signal
Canonical Elixir signal ontology for transformer …
crucible_signal_trace
Bounded forward-pass trace schema and persistence …
crucible_tap
Tap-plan and probe-contract library for selecting, …
crucible_telemetry
Advanced telemetry collection and analysis for AI …
crucible_trace
Structured causal reasoning chain logging for LLM …
crucible_train
ML training orchestration for the Crucible ecosystem. …
crucible_ui
Phoenix LiveView dashboard for the Crucible ML …
datasets_ex
Dataset management library for ML experiments—loaders …
eval_ex
Model evaluation harness for standardized …
hf_datasets_ex
HuggingFace Datasets for Elixir - A native Elixir port …
metrics_ex
Metrics aggregation and alerting for ML …
training_ir
Training IR for reproducible ML jobs across Crucible …
synapse
Headless, declarative multi-agent orchestration …
★ 49
flowstone
Asset-first data orchestration for Elixir/BEAM. …
★ 31
DSPex
Declarative Self Improving Elixir - DSPy Orchestration …
★ 18
ds_ex
DSPEx - Declarative Self-improving Elixir | A …
★ 18
ALTAR
The Agent & Tool Arbitration Protocol
★ 9
mabeam
Multi-agent systems framework for the BEAM platform - …
★ 9
pipeline_ex
Claude Code + Gemini AI collaboration orchestration …
★ 9
jido_hive
Phoenix coordination server and embeddable Elixir …
★ 2
flowstone_ai
FlowStone integration for altar_ai - AI-powered data …
★ 1
synapse_ai
Synapse integration for altar_ai - SDK-backed LLM …
★ 1
extravaganza
First proving-ground product app for the nshkr stack: a …
mezzanine
Neutral high-level reusable monorepo for the nshkr …
stack_coder
An advanced Elixir-based AI coding agent focused on …
claude_agent_sdk
An Elixir SDK for Claude Code - provides programmatic …
★ 36
gemini_ex
Elixir Interface / Adapter for Google Gemini LLM, for …
★ 35
codex_sdk
OpenAI Codex SDK written in Elixir
★ 26
agent_session_manager
Agent Session Manager - A comprehensive Elixir library …
★ 10
ollixir
Ollixir provides a first-class Elixir client with …
★ 5
altar_ai
Protocol-based AI adapter foundation for Elixir - …
★ 4
antigravity_cli_sdk
Elixir SDK for the Google Antigravity CLI (agy) — …
★ 2
jules_ex
Elixir client SDK for the Jules API - orchestrate AI …
★ 2
notion_sdk
Native Elixir SDK for the Notion API — comprehensive, …
★ 2
amp_sdk
Elixir SDK for the Amp CLI — provides a comprehensive …
★ 1
cli_subprocess_core
Foundational Elixir runtime library for deterministic …
★ 1
github_ex
Native Elixir SDK for the GitHub REST API — …
★ 1
mcp_client
Full-featured Elixir client for the Model Context …
★ 1
vllm
vLLM - High-throughput, memory-efficient LLM inference …
★ 1
crucible_prompts
Prompt and parsing utilities for Crucible and NSAI. …
cursor_cli_sdk
Elixir SDK for the Cursor Agent CLI (agent) — …
external_runtime_transport
An Elixir-first external runtime transport foundation …
gemini_cli_sdk
An Elixir SDK for the Gemini CLI — Build AI-powered …
linear_sdk
Elixir SDK for Linear built on Prismatic, using a …
llama_cpp_sdk
Barebones Elixir wrapper and integration surface for …
nsai_llm
Shared LLM Actions for NSAI runtimes. Wraps …
self_hosted_inference_core
Core Elixir primitives for building reliable …
json_remedy
A practical, multi-layered JSON repair library for …
★ 33
rag_ex
Elixir RAG library with multi-LLM routing (Gemini, …
★ 13
snakepit
High-performance, generalized process pooler and …
★ 11
snakebridge
Compile-time Elixir code generator for Python library …
★ 8
gepa_ex
Elixir implementation of GEPA: LLM-driven evolutionary …
★ 5
tinkex_cookbook
Elixir port of tinker-cookbook: training and evaluation …
★ 3
command
Core Elixir library for AI agent orchestration - …
★ 2
execution_plane
Execution Plane is an Elixir/OTP runtime substrate for …
★ 2
nsai_gateway
Unified API gateway for the NSAI …
★ 2
portfolio_core
Hexagonal architecture core for Elixir RAG systems. …
★ 2
slither
Lightweight Elixir runtime for composing and executing …
★ 2
tinkex
Elixir SDK for the Tinker ML platform—LoRA training, …
★ 2
citadel
The command and control layer for the AI-powered …
★ 1
gepa_framework
Reusable GEPA optimizer framework for typed candidate …
★ 1
ground_plane
Shared lower infrastructure monorepo for the nshkr …
★ 1
inference
Reusable Elixir semantic inference contracts, adapters, …
★ 1
nsai_registry
Service discovery and registry for the NSAI …
★ 1
nsai_work
NSAI.Work - Unified job scheduler for North-Shore-AI …
★ 1
nshkr
NSHKR is the production Elixir/OTP composition and …
★ 1
pilot
Interactive CLI and REPL for the NSAI ecosystem—unified …
★ 1
skill_ex
Claude Skill Aggregator
★ 1
tiktoken_ex
Pure Elixir TikToken-style byte-level BPE tokenizer …
★ 1
trinity_framework
Reusable TRINITY router and coordination framework for …
★ 1
app_kit
Shared app-facing surface monorepo for the nshkr …
chassis
Spatial & deployment plane for NSHKR: standalone …
gepa_buildout
Deterministic GEPA buildout examples and domain task …
hf_hub_ex
Elixir client for HuggingFace Hub—dataset/model …
hf_peft_ex
Elixir port of HuggingFace's PEFT (Parameter-Efficient …
outer_brain
Semantic runtime above Citadel for raw language intake, …
portfolio_index
Production adapters and pipelines for PortfolioCore. …
portfolio_manager
AI-native personal project intelligence system - …
self_hosted_inference_bumblebee
Bumblebee/Nx runtime backend for …
stack_lab
Local distributed-development harness and proving …
tinkerer
Chiral Narrative Synthesis workspace for Thinker/Tinker …
dexterity
Code Intelligence: Token-budgeted codebase context for …
★ 6
ElixirScope
AI-Powered Execution Cinema Debugger for Elixir/BEAM
★ 5
elixir_scope
Revolutionary AST-based debugging and code intelligence …
★ 5
elixir_dashboard
A Phoenix LiveView performance monitoring dashboard for …
★ 3
prompt_runner_sdk
Prompt Runner SDK - Elixir toolkit for orchestrating …
★ 2
atlas_once
Atlas Once is a filesystem-first personal memory system …
★ 1
blitz
Small parallel command runner for Elixir and Mix …
★ 1
elixir_agent_debug
Evidence-first Elixir & OTP debugging layer for Claude …
★ 1
elixir_tracer
Local-first observability for Elixir with New Relic API …
★ 1
pristine
Shared runtime substrate and build-time bridge for …
★ 1
weld
Deterministic Hex package projection for Elixir …
★ 1
alkahest
Reusable Temporal facade, typed workflow-control …
coolify_ex
Generic Elixir tooling for triggering, monitoring, and …
portfolio_coder
Code Intelligence Platform: Repository analysis, …
prismatic
GraphQL-native Elixir SDK platform and monorepo for …
superlearner
OTP Supervisor Educational Platform
★ 8
apex
Core Apex framework for OTP supervision and monitoring
★ 4
apex_ui
Web UI for Apex OTP supervision and monitoring tools
★ 4
arsenal
Metaprogramming framework for automatic REST API …
★ 4
arsenal_plug
Phoenix/Plug adapter for Apex Arsenal framework
★ 3
duckdb_ex
DuckDB driver client in Elixir
★ 2
ex_topology
Pure Elixir library for graph topology, TDA, and …
★ 2
weaviate_ex
Modern Elixir client for Weaviate vector database with …
★ 2
embed_ex
Vector embeddings service for Elixir—multi-provider …
★ 1
nx_penalties
Composable regularization penalties for Elixir Nx. …
trinity_coordinator
TRINITY in Elixir (An Evolved LLM Coordinator): route …
★ 77
ChronoLedger
Hardware-Secured Temporal Blockchain
★ 2
cns
Chiral Narrative Synthesis - Dialectical reasoning …
★ 1
EADS
Evolutionary Autonomous Development System
anti_agents
Anti Agents - Inspired by Sakana AI's String Seed of …
cns_ui
Phoenix LiveView interface for CNS dialectical …
mwb
Mechanistic Workbench (mwb): Local-first mechanistic …
superposition_zoo
A research harness for studying how sequence-mixing …