yanzai-4/Contrix
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.
Contrix helps AI engineers, backend, and fullstack teams reliably integrate Large Language Models (LLMs) into their applications. You define expected JSON output structures through a user interface, and the tool then generates optimized prompts, validates LLM responses against your specifications, and handles errors. This allows developers to get consistent, structured data from LLMs for their software.
Use this if you are building software that needs to reliably receive structured JSON data from various LLMs and providers, ensuring consistency and handling potential output errors.
Not ideal if you only need one-off, unstructured text outputs from LLMs or if you are comfortable manually managing prompt engineering, schema validation, and error recovery for every LLM call.
Stars
30
Forks
—
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Apr 03, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/yanzai-4/Contrix"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Leonxlnx/agentic-ai-prompt-research
Research into how agentic AI coding assistants work — reconstructed prompt patterns, agent...
jefftriplett/files-to-claude-xml
Use XML tags for long context prompting using Claude's multi-document structure.
antonio0720/writing-intelligence
75 files. 76,327 words. The most advanced writing compiler ever open-sourced — now with a...
madara88645/Compiler
A tool that compiles messy natural language prompts into a structured intermediate...
m727ichael/context-engineering
Information architecture for AI reasoning. PromptOS + HITL Context Engine. Copy, paste, use