{"repo":"yanzai-4/Contrix","free":true,"listed":false,"github":"https://github.com/yanzai-4/Contrix","clone":"git clone https://github.com/yanzai-4/Contrix.git","description":"Turn any LLM into a reliable local JSON API | Contract-first local LLM API builder for structured JSON outputs, model/prompt comparison, schema validation, repair/retry, model switching, and runtime testing.","language":"TypeScript","stars":24,"topics":["json-schema","llm","prompt-engineering","structured-output","api","developer-tools","llmops","local-ai","output-validation","self-hosted"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Contrix Contract-first local workflow for structured LLM endpoints, comparison, validation/recovery, and app integration. Stop writing fragile prompts. Start building contract-checked AI interfaces. Contrix helps AI engineers, backend/fullstack teams, and product builders turn LLM calls into reliable local JSON APIs they can actually integrate into real software. Instead of hand-maintaining fragile prompts, provider-specific schema glue, and custom output parsers, you define endpoint contracts through a GUI, generate spec-driven prompts, compare prompts/models/providers under the same contract, validate outputs, and recover from failures with retry, timeout, fallback, and repair flows. It is built for teams that need a structured-output workflow they can design, test, compare, observe, and integrate — not just one-off prompt demos. Contrix is not just a wrapper around provider-native structured outputs — it adds a contract-first workflow for comparison, recovery, observability, and integration. Quick Navigation - What This Is - Core Capabilities - Use Cases - Why Not Just Call a Model API Directly? --- 1. What This Is Contrix is a contract-first local control layer for LLM integration. You define endpoint contracts with schemas, field-level requirements, and shared instructions, then Contrix generates spec-driven prompts and serves local runtime endpoints that return validated structured outputs. When supported by the provider, Contrix can use native structured outputs / JSON","default_branch":null,"files":null,"tree":[],"storefront":"/r/yanzai-4","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yanzai-4/Contrix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}