AI & ML Infrastructure on Elixir/BEAM

Building core AI and ML infrastructure libraries primarily on the BEAM platform. Creator of Crucible Framework for LLM reliability research.

Neural Networks

LLM Reliability

Distributed Systems

Distributed Systems

Developer Tools

50+ Libraries

Research

Research-Grade

Ensemble Methods

Ensemble Methods

50+
Open Source Libraries
Python 3.13+
Free-Threading Support
Active Dev
Crucible & Snakepit

Crucible Framework

A platform for conducting reproducible experiments on large language model reliability, built on Elixir/OTP.

Elixir OTP BEAM VM Statistical Testing Ensemble Methods
crucible_examples
⭐ 1

Interactive Phoenix LiveView demonstrations of the Crucible Framework - showcasing ensemble voting, request hedging, statistical analysis, and more with mock LLMs

View on GitHub β†’
crucible_harness
⭐ 1

Experimental research framework for running AI benchmarks at scale

View on GitHub β†’
ExDataCheck
⭐ 0

Data validation and quality library for ML pipelines in Elixir

View on GitHub β†’
ExFairness
⭐ 0

Fairness and bias detection library for Elixir AI/ML systems

View on GitHub β†’
LlmGuard
⭐ 0

AI Firewall and guardrails for LLM-based Elixir applications

View on GitHub β†’
cns_crucible
⭐ 0

View on GitHub β†’
crucible_adversary
⭐ 0

Adversarial testing and robustness evaluation for the Crucible framework

View on GitHub β†’
crucible_bench
⭐ 0

Statistical testing and analysis framework for AI research

View on GitHub β†’
crucible_datasets
⭐ 0

Dataset management and caching for AI research benchmarks

View on GitHub β†’
crucible_ensemble
⭐ 0

Multi-model ensemble voting strategies for LLM reliability

View on GitHub β†’
crucible_framework
⭐ 0

CrucibleFramework: A scientific platform for LLM reliability research on the BEAM

View on GitHub β†’
crucible_hedging
⭐ 0

Request hedging for tail latency reduction in distributed systems

View on GitHub β†’
crucible_ir
⭐ 0

Intermediate Representation for the Crucible ML reliability ecosystem

View on GitHub β†’
crucible_telemetry
⭐ 0

Advanced telemetry collection and analysis for AI research

View on GitHub β†’
crucible_trace
⭐ 0

Structured causal reasoning chain logging for LLM transparency

View on GitHub β†’
crucible_ui
⭐ 0

Phoenix LiveView dashboard for the Crucible ML reliability stack

View on GitHub β†’
crucible_xai
⭐ 0

Explainable AI (XAI) tools for the Crucible framework

View on GitHub β†’

AI Agent Orchestration

synapse
⭐ 29

Headless, declarative multi-agent orchestration framework with a domain-agnostic signal bus, workflow engine with Postgres persistence, and configurable agent runtime (ships code review domain).

View on GitHub β†’
ds_ex
⭐ 15

DSPEx - Declarative Self-improving Elixir | A BEAM-Native AI Program Optimization Framework

View on GitHub β†’
DSPex
⭐ 10

Declarative Self Improving Elixir - DSPy Orchestration in Elixir

View on GitHub β†’
pipeline_ex
⭐ 7

Claude Code + Gemini AI collaboration orchestration tools

View on GitHub β†’
ALTAR
⭐ 5

The Agent & Tool Arbitration Protocol

View on GitHub β†’
mabeam
⭐ 5

Multi-agent systems framework for the BEAM platform - build distributed autonomous agents with OTP supervision and fault tolerance

View on GitHub β†’

AI SDKs & API Clients

gemini_ex
⭐ 20

Elixir Interface / Adapter for Google Gemini LLM, for both AI Studio and Vertex AI

View on GitHub β†’
claude_agent_sdk
⭐ 9

An Elixir SDK for Claude Code - provides programmatic access to Claude Code CLI with streaming message processing

View on GitHub β†’
codex_sdk
⭐ 2

OpenAI Codex SDK written in Elixir

View on GitHub β†’
jules_ex
⭐ 2

Elixir client SDK for the Jules API - orchestrate AI coding sessions

View on GitHub β†’
mcp_client
⭐ 0

Full-featured Elixir client for the Model Context Protocol (MCP) with multi-transport support, resources, prompts, tools, and telemetry.

View on GitHub β†’

AI Infrastructure

json_remedy
⭐ 21

A practical, multi-layered JSON repair library for Elixir that intelligently fixes malformed JSON strings commonly produced by LLMs, legacy systems, and data pipelines.

View on GitHub β†’
snakepit
⭐ 10

High-performance, generalized process pooler and session manager for external language integrations. Orchestrates and supervises languages like Python and Javascript from Elixir.

View on GitHub β†’
tinkerer
⭐ 1

Chiral Narrative Synthesis workspace for Thinker/Tinker LoRA pipelines, semantic fact-checking, telemetry, and reviewer-ready CNS docs.

View on GitHub β†’
tinkex
⭐ 1

Elixir SDK for the Tinker ML platformβ€”LoRA training, sampling, and service orchestration built on OTP, Finch, and telemetry.

View on GitHub β†’
gepa_ex
⭐ 0

Elixir implementation of GEPA: LLM-driven evolutionary optimization using Pareto-efficient search for text-based systems. Features OpenAI/Gemini integration, BEAM concurrency, OTP supervision, 218 tests with 75% coverage.

View on GitHub β†’
skill_ex
⭐ 0

View on GitHub β†’
snakebridge
⭐ 0

Configuration-driven Python library integration for Elixir. Automatically generate type-safe Elixir modules from declarative configs with zero wrapper code. Bridge to Python ML ecosystem (DSPy, NumPy, LangChain) with streaming support, bidirectional tools, and compile-time optimization. Built on Snakepit.

View on GitHub β†’

Schema & Validation

exdantic
⭐ 10

A powerful, flexible schema definition and validation library for Elixir, inspired by Python's Pydantic.

View on GitHub β†’
sinter
⭐ 10

Unified schema definition, validation, and JSON generation for Elixir

View on GitHub β†’
perimeter
⭐ 7

Advanced typing and type validation mechanism for Elixir - runtime type checking and contract enforcement for BEAM applications

View on GitHub β†’

Developer Tools

ex_dbg
⭐ 10

State-of-the-Art Introspection and Debugging System for Elixir/Phoenix Applications

View on GitHub β†’
elixir_scope
⭐ 5

Revolutionary AST-based debugging and code intelligence platform for Elixir applications

View on GitHub β†’
ElixirScope
⭐ 4

AI-Powered Execution Cinema Debugger for Elixir/BEAM

View on GitHub β†’
elixir_dashboard
⭐ 1

A Phoenix LiveView performance monitoring dashboard for tracking slow endpoints and database queries

View on GitHub β†’
elixir_tracer
⭐ 1

Local-first observability for Elixir with New Relic API parity

View on GitHub β†’

OTP & Distributed

superlearner
⭐ 7

OTP Supervisor Educational Platform

View on GitHub β†’
apex
⭐ 4

Core Apex framework for OTP supervision and monitoring

View on GitHub β†’
apex_ui
⭐ 4

Web UI for Apex OTP supervision and monitoring tools

View on GitHub β†’
arsenal
⭐ 4

Metaprogramming framework for automatic REST API generation from OTP operations

View on GitHub β†’
arsenal_plug
⭐ 3

Phoenix/Plug adapter for Apex Arsenal framework

View on GitHub β†’

Testing & QA

cluster_test
⭐ 4

Distributed Erlang/Elixir test cluster management via Mix tasks

View on GitHub β†’
sandbox
⭐ 4

Isolated OTP application management system for Elixir/Erlang

View on GitHub β†’
supertester
⭐ 4

A battle-hardened testing toolkit for building robust and resilient Elixir & OTP applications.

View on GitHub β†’

Observability

foundation
⭐ 11

Elixir infrastructure and Observability Library

View on GitHub β†’
AITrace
⭐ 1

The unified observability layer for the AI Control Plane

View on GitHub β†’
Citadel
⭐ 1

The command and control layer for the AI-powered enterprise

View on GitHub β†’

Browser Integration

playwriter
⭐ 6

Elixir WSL-to-Windows browser integration

View on GitHub β†’

Data & Databases

duckdb_ex
⭐ 1

DuckDB driver client in Elixir

View on GitHub β†’
weaviate_ex
⭐ 1

Modern Elixir client for Weaviate vector database with health checks and friendly error messages

View on GitHub β†’
ex_topology
⭐ 0

Pure Elixir library for graph topology, TDA, and computational topology

View on GitHub β†’

Security

GUARDRAIL
⭐ 15

GUARDRAIL - MCP Security - Gateway for Unified Access, Resource Delegation, and Risk-Attenuating Information Limits

View on GitHub β†’
ASKA
⭐ 6

Secure Computing in the AI age

View on GitHub β†’
pqc-hqc
⭐ 5

Post-quantum cryptographic implementation of HQC (Hamming Quasi-Cyclic) - a NIST PQC candidate for quantum-resistant key encapsulation using code-based cryptography

View on GitHub β†’
Shield
⭐ 0

SHIELD: Secure Hierarchical Inter-agent Layer for Distributed Environments

View on GitHub β†’

Research

ChronoLedger
⭐ 2

Hardware-Secured Temporal Blockchain

View on GitHub β†’
EADS
⭐ 0

Evolutionary Autonomous Development System

View on GitHub β†’
cns
⭐ 0

Chiral Narrative Synthesis - Dialectical reasoning framework for automated knowledge discovery

View on GitHub β†’
cns_ui
⭐ 0

Phoenix LiveView interface for CNS dialectical reasoning experiments

View on GitHub β†’

Utilities

tools
⭐ 1

Utility library and helper functions for Elixir development - common patterns, debugging aids, and productivity tools

View on GitHub β†’
youtube_audio_dl
⭐ 1

Download high-quality audio from YouTube as MP3 files using Elixir. Features 104 music genres, duration filtering, per-genre caching, C++ DSP filters, and ML-based transient detection.

View on GitHub β†’

Other Projects

nshkrdotcom
⭐ 0

Personal GitHub profile README with Elixir/AI projects and LLM reliability research

View on GitHub β†’

Tech Stack

Elixir Erlang Python JavaScript/TypeScript Rust Phoenix OTP FastAPI React BEAM VM AWS GCP Cloudflare Workers

Specialties

  • Distributed systems & fault tolerance
  • AI/LLM infrastructure & reliability
  • Functional programming & metaprogramming
  • Statistical analysis & experimental design
  • Developer tools & productivity