Skip to the content.

Kaimei Labs

Deterministic verification infrastructure for AI agent outputs. LLMs generate, we verify. Recipes are the first vertical — the same approach generalises to any procedural domain where correctness matters.

Guardian Engine

When AI agents generate recipes, they hallucinate — impossible temperatures, skipped techniques, wrong ingredients, broken emulsions. Guardian Engine catches these errors before they reach the pan. It verifies each recipe against curated master recipes from professional kitchens using deterministic analysis.

51 master recipes across 4 continents — from Confit de Canard to Laksa — with new dishes added regularly.

Install with Smithery


Connect in 30 Seconds

Guardian is a hosted MCP server. No install, no API key, no Docker.

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "guardian": {
      "url": "https://api.kaimeilabs.dev/mcp",
      "transport": "streamable-http"
    }
  }
}

Cursor — add via Settings → MCP Servers:

{
  "guardian": {
    "url": "https://api.kaimeilabs.dev/mcp",
    "transport": "streamable-http"
  }
}

VS Code — add to .vscode/mcp.json:

{
  "servers": {
    "guardian": {
      "type": "http",
      "url": "https://api.kaimeilabs.dev/mcp"
    }
  }
}

Python SDKpip install mcp httpx:

from mcp.client.session import ClientSession
from mcp.client.streamable_http import streamable_http_client
result = await session.call_tool("verify_recipe", arguments={"dish": "carbonara", "candidate_json": recipe_json})

What Does a Verification Report Look Like?

Here’s the response structure when Guardian catches authenticity issues in an AI-generated recipe:

{
  "verdict": "FAILED",
  "authenticity_score": 72.4,
  "findings": [
    {
      "issue": "MISSING_REQUIRED_INGREDIENT",
      "severity": "CRITICAL",
      "justification": "This ingredient provides a signature flavour component essential to the dish's identity."
    },
    {
      "issue": "WRONG_COOKING_MEDIUM",
      "severity": "WARNING",
      "justification": "Cooking medium fundamentally affects texture and flavour."
    }
  ],
  "allergen_warnings": ["milk", "eggs"]
}

Each finding includes a severity and a justification grounded in culinary science — so the agent fixes only what’s wrong instead of guessing.


Resources


Why Pass the Prompt?

When you include the user’s original request via original_prompt, Guardian activates Guided Oracle Mode — returning specific, actionable improvement tips tailored to what the user actually asked for (dietary needs, flavor profiles, technique choices). Without it, you get a basic Pass/Fail verdict.


Building an AI cooking assistant, smart kitchen platform, or agentic food-tech product? Contact: partners@kaimeilabs.dev