Integrations
Copy-paste examples
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 — A CrewAI BaseTool that POSTs /v1/judge. The script also POSTs the documented consensus body.
- LangGraph — A one-node LangGraph graph. The judge node POSTs /v1/judge and stores the JSON on verdict.
- AutoGen — An AutoGen FunctionTool for POST /v1/judge. The file does not construct a model client.
- OpenAI Agents SDK — An OpenAI Agents SDK tool for POST /v1/judge. __main__ calls the wrapped function and the consensus example.
- Claude and Cursor MCP — mcp.json for the Streamable HTTP server at https://screwtape.ai/mcp. Tools are judge and consensus.
- curl — A shell script that POSTs the documented judge body and the documented consensus body.