Components
Browse all ElectriPy Studio components. 7 categories, 30+ focused building blocks for production AI systems.
Core
5 componentsFoundational building blocks and utilities
Config Loader
Type-safe configuration loading with env, file, and override support.
Environment Manager
Structured environment variable resolution with validation.
Type Utilities
Runtime type guards, coercions, and assertion helpers.
Error Handling
Structured error classes, result types, and error boundary helpers.
Base Client
HTTP client foundation with retries, headers, and auth hooks.
Concurrency & Resilience
5 componentsResilience primitives for production workloads
Circuit Breaker
Trip-and-recover circuit breaker for external service calls.
Async Task Runner
Bounded concurrency task executor with backpressure and cancellation.
Rate Limiter
Token-bucket and sliding-window rate limiters for API calls.
Retry Utilities
Configurable retry logic with jitter, backoff, and predicate filtering.
Timeout Manager
Deadline propagation and timeout enforcement across async boundaries.
AI / LLM Infrastructure
7 componentsProvider-agnostic LLM infrastructure
LLM Gateway
Unified interface for LLM providers with policy hooks and telemetry.
Provider Adapters
Adapters for OpenAI, Anthropic, Ollama, and generic HTTP-JSON endpoints.
Structured Output Engine
Force structured JSON output from any LLM with schema validation.
Fallback Chain
Automatic provider fallback with configurable priority and conditions.
Batch Complete
Efficient batch completion with concurrency control and result aggregation.
LLM Caching
Semantic and exact-match caching for LLM responses.
Replay Tape
Record and replay LLM interactions for deterministic testing.
Safety / Policy / Validation
5 componentsPolicy seams, guardrails, and validation utilities
Policy Gateway
Pre/post request policy hooks with block, warn, and transform actions.
Sensitive Data Scanner
Detect and redact PII, credentials, and sensitive patterns in prompts.
JSON Repair
Heuristic JSON repair for malformed LLM output.
Prompt Fingerprint
Hash and track prompt templates for lineage and deduplication.
Input Validator
Schema-based input validation with structured error reporting.
RAG / Evaluation
4 componentsRetrieval-augmented generation evaluation tooling
RAG Evaluation Runner
Run evaluation suites against RAG pipelines with configurable scorers.
Eval Assertions
Assertion helpers for LLM output quality checks.
Retrieval Scorer
Precision/recall scoring for retrieval relevance.
Answer Quality Evaluator
LLM-as-judge evaluation for answer correctness and coherence.
Telemetry / Observability
4 componentsObservability and cost tracking for AI workloads
AI Telemetry
Structured telemetry events for LLM requests, latency, and outcomes.
Cost Ledger
Token-level cost tracking across providers and models.
Request Logger
Structured request/response logging with redaction and sampling.
Trace Exporter
Export traces to OpenTelemetry-compatible backends.
CLI Tooling
4 componentsCommand-line developer experience
Project Scaffolder
Generate new ElectriPy project skeletons with config and structure.
Config Inspector
Inspect and validate project configuration from the terminal.
Dev Commands
Local dev helpers: run, watch, reset, and fixture loading.