guardrail-chain · packages
Every package shipped from reaatech/guardrail-chain, published or pending.
4 packages
@reaatech/guardrail-chain
Core types, chain orchestration, budget management, and utilities for the Guardrail Chain framework, providing the `Guardrail` interface and `GuardrailChain` orchestrator that every guardrail implementation must satisfy.
- status
- published
- published
- 1 month ago
@reaatech/guardrail-chain-config
Loads and validates Guardrail Chain configuration from JSON, YAML, and environment variables, providing functions like `loadConfig`, `validateConfig`, and `validateConfigSafe` that deep-merge sources and validate against a Zod schema.
- status
- published
- published
- 1 month ago
@reaatech/guardrail-chain-guardrails
Thirteen built-in guardrail implementations for the Guardrail Chain framework, covering input validation, output filtering, and result caching. Each guardrail is a class implementing the `Guardrail<TInput, TOutput>` interface from `@reaatech/guardrail-chain`, designed to be composed into a chain with budget-aware scheduling.
- status
- published
- published
- 1 month ago
@reaatech/guardrail-chain-observability
Pluggable observability interfaces for the Guardrail Chain framework providing structured logging, metrics collection, and distributed tracing via module-level singletons (`getLogger`/`setLogger`, `getMetrics`/`setMetrics`, `getTracer`/`setTracer`). Ships with no-op defaults and a `ConsoleLogger` for development, with zero runtime dependencies.
- status
- published
- published
- 1 month ago