# AISchemaGate > Validate the structured JSON an LLM returns against a semantic contract > before it reaches your application logic or database. One SDK wrapper > (`LLMGate`) over OpenAI, Anthropic, vLLM and Ollama responses: extract the > JSON, validate it, optionally re-prompt on violation, forward only the > sanitized payload. Same engine, API keys and dashboard as DataContractGate. > Non-streaming only in v1. Patent pending. API base URL: https://app.datacontractgate.com Source: https://github.com/nightmoose/contractgate ## Start here - [LLM output validation playbook](https://aischemagate.dev/llm-output-validation.md): Install, author an output contract from 5–20 known-good outputs, validate, auto-repair, mask prompts, and provider quickstarts (OpenAI, Anthropic, vLLM/Ollama, LangChain, CrewAI, MCP). - [LLMGate SDK reference](https://aischemagate.dev/llm-sdk-reference.md): Python and TypeScript API side by side. `contract_id` takes a contract name or UUID. ## Install - Python: `pip install aischemagate` - Node: `npm install @nightmoose/aischemagate` ## Related - [DataContractGate agent index](https://app.datacontractgate.com/llms.txt): The same engine for data ingestion (Kafka, Kinesis, HTTP, Zapier).