Packages & Components

Runtime packages organized by capability — Reliability, Observability, Governance, Orchestration, Evaluation, and Model Runtime — plus lower-level building blocks.

Maturity:StableBetaAlphaExperimental

Flagship Packages

Observe

5 components

Observability layer for LLM, tool, retrieval, policy, and agent workloads

ObservabilityService

Alpha

Central service orchestrating tracers, redactors, and span lifecycle across workloads.

tracingorchestrationspans

OpenTelemetry Tracer

Alpha

Tracer adapter bridging to OpenTelemetry for production-grade distributed tracing.

oteltracingexport

InMemory Tracer

Alpha

Zero-dependency tracer for test assertions. Captures spans in-process.

testingassertionsspans

Default Redactor

Alpha

Attribute redaction for PII, credentials, and sensitive data in spans.

redactionpiisafety

Observe Decorators

Alpha

Function-level @observe and @observe_tool decorators for automatic span instrumentation.

decoratorsinstrumentationspans

MCP

3 components

Typed MCP client/server toolkit for interoperable tool and context integration

MCP Service

Alpha

Core MCP service with transport abstraction, tool registration, and capability discovery.

mcptoolsinterop

Tool Registry

Alpha

Typed tool registration with schema validation and execution dispatch.

toolsregistrytyped

Auth Hooks

Alpha

Authentication and authorization hooks for MCP transport connections.

authsecurityhooks

Router

3 components

Routing engine for model/provider/workload selection with fallback and policy-aware decisioning

WorkloadRouter

Alpha

Route workloads across models and providers based on capability, budget, and latency constraints.

routingprovidersselection

Fallback Strategy

Alpha

Configurable fallback chains with priority ordering and condition-based failover.

fallbackresiliencechains

Capability Matcher

Alpha

Match workload requirements against provider capabilities for optimal routing.

matchingcapabilitiesconstraints

Evals

4 components

Evaluation framework for offline datasets, retrieval scoring, tool-call evals, and regression checks

EvalService

Alpha

Run evaluation suites against datasets with pluggable scorers and CI-friendly reporting.

evalscoringci

Retrieval Scorers

Alpha

Precision, recall, and relevance scoring for retrieval pipeline evaluation.

retrievalmetricsscoring

Baseline Comparisons

Alpha

Compare current results against saved baselines for regression detection.

baselinesregressioncomparison

Dataset Loader

Alpha

Load evaluation datasets from JSONL and structured fixtures.

datasetsjsonlloading

Policy

4 components

Runtime policy engine for action gating, approval requirements, evidence checks, and redaction

PolicyEngine

Alpha

Core policy evaluation engine with typed decisions, violations, and audit trails.

policyevaluationdecisions

Approval Workflows

Alpha

Request and resolve approvals with evidence requirements and TTL enforcement.

approvalsevidenceworkflow

Policy Packs

Alpha

Versioned, composable rule collections for reusable policy configurations.

packsrulescomposable

Policy Repository

Alpha

In-memory and pluggable storage for policy rules and resource type filtering.

repositorystoragerules

Skills

3 components

Versioned packaging system for reusable AI skills, instruction assets, and execution metadata

SkillService

Alpha

Load, validate, resolve, and register portable skill packages with typed manifests.

skillspackagingmanifests

Skill Resolver

Alpha

Resolve skill instructions and templates against execution context.

resolutiontemplatescontext

Skill Validator

Alpha

Validate skill manifests and directory structures with diagnostic reporting.

validationdiagnosticsmanifests

Realtime

3 components

Realtime session and event orchestration for streaming, interruption, and session lifecycles

RealtimeService

Alpha

Session management and event orchestration for streaming agent interactions.

sessionseventsstreaming

Event Pipeline

Alpha

Typed event pipeline with cancellation, interruption, and lifecycle hooks.

eventspipelinecancellation

Session State

Alpha

Structured session state management with domain events and error handling.

statesessionsdomain

Lower-Level Components

Core

5 components

Foundational building blocks and utilities

Config Loader

Beta

Type-safe configuration loading with env, file, and override support.

configenvtyped

Environment Manager

Beta

Structured environment variable resolution with validation.

envvalidation

Type Utilities

Beta

Runtime type guards, coercions, and assertion helpers.

typesguardsruntime

Error Handling

Alpha

Structured error classes, result types, and error boundary helpers.

errorsresultstructured

Base Client

Alpha

HTTP client foundation with retries, headers, and auth hooks.

httpclientauth

Concurrency & Resilience

5 components

Resilience primitives for production workloads

Circuit Breaker

Beta

Trip-and-recover circuit breaker for external service calls.

resiliencecircuit-breakerasync

Async Task Runner

Alpha

Bounded concurrency task executor with backpressure and cancellation.

asyncconcurrencytasks

Rate Limiter

Alpha

Token-bucket and sliding-window rate limiters for API calls.

rate-limitthrottleapi

Retry Utilities

Beta

Configurable retry logic with jitter, backoff, and predicate filtering.

retrybackoffresilience

Timeout Manager

Alpha

Deadline propagation and timeout enforcement across async boundaries.

timeoutdeadlineasync

AI / LLM Infrastructure

7 components

Provider-agnostic LLM infrastructure

LLM Gateway

Beta

Unified interface for LLM providers with policy hooks and telemetry.

llmgatewayproviders

Provider Adapters

Alpha

Adapters for OpenAI, Anthropic, Ollama, and generic HTTP-JSON endpoints.

openaianthropicollamaadapters

Structured Output Engine

Alpha

Force structured JSON output from any LLM with schema validation.

structuredjsonschema

Fallback Chain

Alpha

Automatic provider fallback with configurable priority and conditions.

fallbackresilienceproviders

Batch Complete

Alpha

Efficient batch completion with concurrency control and result aggregation.

batchasyncefficiency

LLM Caching

Experimental

Semantic and exact-match caching for LLM responses.

cacheperformancecost

Replay Tape

Alpha

Record and replay LLM interactions for deterministic testing.

testingreplaydeterministic

Safety / Policy / Validation

5 components

Policy seams, guardrails, and validation utilities

Policy Gateway

Beta

Pre/post request policy hooks with block, warn, and transform actions.

policyguardrailshooks

Sensitive Data Scanner

Alpha

Detect and redact PII, credentials, and sensitive patterns in prompts.

piiredactionsafety

JSON Repair

Alpha

Heuristic JSON repair for malformed LLM output.

jsonrepairparsing

Prompt Fingerprint

Experimental

Hash and track prompt templates for lineage and deduplication.

fingerprinttrackingdedup

Input Validator

Alpha

Schema-based input validation with structured error reporting.

validationschemaerrors

RAG / Evaluation

4 components

Retrieval-augmented generation evaluation tooling

RAG Evaluation Runner

Alpha

Run evaluation suites against RAG pipelines with configurable scorers.

ragevalpipeline

Eval Assertions

Alpha

Assertion helpers for LLM output quality checks.

assertionstestingquality

Retrieval Scorer

Experimental

Precision/recall scoring for retrieval relevance.

scoringretrievalmetrics

Answer Quality Evaluator

Experimental

LLM-as-judge evaluation for answer correctness and coherence.

qualityjudgecoherence

Telemetry / Observability

4 components

Observability and cost tracking for AI workloads

AI Telemetry

Alpha

Structured telemetry events for LLM requests, latency, and outcomes.

telemetryobservabilityevents

Cost Ledger

Alpha

Token-level cost tracking across providers and models.

costtokensbudget

Request Logger

Alpha

Structured request/response logging with redaction and sampling.

loggingstructuredsampling

Trace Exporter

Experimental

Export traces to OpenTelemetry-compatible backends.

oteltracingexport

CLI Tooling

4 components

Command-line developer experience

CLI Framework

Beta

Typed argument parsing, subcommands, and help generation.

cliargstyped

Project Scaffolder

Alpha

Generate new ElectriPy project skeletons with config and structure.

scaffoldtemplategenerator

Config Inspector

Alpha

Inspect and validate project configuration from the terminal.

configinspectdebug

Dev Commands

Alpha

Local dev helpers: run, watch, reset, and fixture loading.

devwatchfixtures