AI agent support: lightweight language detection with confidence score for short texts, for agents routing multilingual input. Returns top-N candidate languages and a normalized confidence — script-distribution heuristic, no external API, deterministic.
AI agent support: validate an API response against a JSON Schema (draft-07 subset) for agents wiring tools together. Returns per-violation paths, expected vs actual types, and a pass/fail flag — fully local, deterministic, no LLM.