Ember Ex Elixir banner
jmanhype jmanhype

Ember Ex Elixir

AI community

Description

Elixir port of the Ember framework for building LLM applications

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

EmberEx

Elixir port of the [Ember framework](https://github.com/pyember/ember) for composing LLM-powered pipelines. Provides an operator abstraction, graph-based execution engine, and JIT optimization layer.

Status

Metric Value
Version 0.1.0
Elixir >= 1.14
Runtime deps 8
Modules (.ex) 89
Test files 12 (11 in test/, 1 in test_scripts/)
CI No test CI workflow. Only a self-improve.yml action (last run passed, Nov 2025).
Hex published No

What it does

  • Operators: Composable units of computation. Includes LLM, Map, Sequence, Branch, Retry, Ensemble, MapReduce, MostCommon, Verifier, and SelectorJudge operators.
  • Specifications: Input/output schema contracts using Ecto for validation.
  • XCS execution engine: Builds a DAG of operators, schedules them sequentially, in parallel, topologically, or in waves.
  • JIT optimization: Caches operator results, detects LLM calls, applies structural/trace/enhanced strategies to reduce redundant API calls.
  • Model providers: OpenAI and Anthropic adapters. Configurable via EmberEx.Config.
  • MCP integration: Basic MCP client (stdio transport) for tool discovery.
  • Metrics: Prometheus exporter for operator execution telemetry.

Project structure

lib/ember_ex/
  operators/        # 14 operator modules (LLM, Map, Branch, Retry, etc.)
  specifications/   # Schema generator, Ecto-based validation
  models/           # Provider adapters (OpenAI, Anthropic), usage tracking
  xcs/
    graph/          # DAG builder variants (structural, trace, LLM, enhanced)
    jit/            # JIT core, cache, profiler, strategy selector
    schedulers/     # Sequential, Parallel, Topological, Wave
    transforms/     # Mesh transform
  context/          # Execution context
  mcp/              # MCP stdio client, config loader
  metrics/          # Prometheus collector and storage
  config/           # Configuration manager
  examples/