Current collected state Current
Observed since 21 Oct, 10:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Production-ready AI components framework with security and resilience
A production-ready AI components framework with enterprise-grade security, resilience, and async performance optimizations.
pip install ai-catalyst
import asyncio
from ai_catalyst import LLMProvider, PIIProcessor, FileProcessor
async def main():
# LLM with automatic failover
llm = LLMProvider()
response = await llm.generate_async("Explain quantum computing")
print(f"Response: {response['content']}")
# PII scrubbing with audit logging
pii = PIIProcessor()
clean_text = await pii.scrub_text_async("Call John at 555-1234")
print(f"Scrubbed: {clean_text}") # "Call <NAME> at <PHONE>"
# Async file processing
processor = FileProcessor()
async for item in processor.process_file_async("data.json"):
print(f"Processed: {item['data']}")
asyncio.run(main())
from ai_catalyst import (
LLMProvider, APIKeyVault, RateLimiter,
AuditLogger, SecureConfigManager
)
# Setup secure environment
key_vault = APIKeyVault()
key_vault.store_key('openai', 'your-api-key')
rate_limiter = RateLimiter()
audit_logger = AuditLogger(log_file='audit.log')
# Initialize with security components
llm = LLMProvider(
key_vault=key_vault,
rate_limiter=rate_limiter,
audit_logger=audit_logger
)
| Operation | Before | After | Improvement |
|---|---|---|---|
| LLM Failover | 45s | 15s | 3x faster |
| Batch PII Processing | 60s | 12s | 5x faster |
| File Processing | Blocking | Streaming | Non-blocking |
| Rate Limiting | N/A | <1ms | Sub-millisecond |
# API Keys
export OPENAI_API_KEY="your-openai-key"
export ANTHROPIC_API_KEY="your-anthropic-key"
# Security
export AI_CATALYST_MASTER_KEY="your-encryption-key"
# config.yaml
llm:
timeout: 30
model: "gpt-4"
security:
rate_limits:
openai: "paid" # or "free"
audit_log: "audit.log"
processing:
batch_size: 100
max_concurrency: 10
# Install with dev dependencies
pip install ai-catalyst[dev]
# Run tests
pytest
# Run with coverage
pytest --cov=ai_catalyst
MIT License - see LICENSE file for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 30 Sept 2025 | 14 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b6670e829d3d3ccff1ae1d0c3ff2242465c83c019dde95800d22b6d734e1e545