Integrations

Validate agent output from CrewAI, LangGraph, AutoGen, OpenAI Agents SDK, MCP or curl

Each example calls https://screwtape.ai and reads SCREWTAPE_API_KEY from the environment. None of them embeds a key. Judge and consensus use the same JSON bodies as the API reference.

CrewAI

Screwtape.ai validates a CrewAI agent output by POSTing it to /v1/judge and returning pass, fail, or retry.

Validate CrewAI agent output with Screwtape.ai (BaseTool for POST /v1/judge)

LangGraph

Screwtape.ai validates LangGraph node output by POSTing it to /v1/judge and returning pass, fail, or retry.

Validate LangGraph node output with POST /v1/judge

AutoGen

Screwtape.ai validates AutoGen agent output with a FunctionTool that POSTs /v1/judge and returns pass, fail, or retry.

Validate AutoGen agent output with a FunctionTool for POST /v1/judge

OpenAI Agents SDK

Screwtape.ai judges OpenAI Agents SDK output with a tool that POSTs /v1/judge and returns pass, fail, or retry.

Judge OpenAI Agents SDK output with a Screwtape.ai @tool

Claude and Cursor MCP

Add the Screwtape.ai MCP server at https://screwtape.ai/mcp to Claude or Cursor to call judge, check_duplicate_invoice, consensus, get_api_key, and publish_receipt.

Add the Screwtape.ai MCP server (judge, consensus) to Claude or Cursor

curl

curl can call POST /v1/judge and POST /v1/consensus on Screwtape.ai with a Bearer key.

Call /v1/judge and /v1/consensus with curl