{"repo":"Mentat-Lab/preclinical","free":true,"listed":false,"github":"https://github.com/Mentat-Lab/preclinical","clone":"git clone https://github.com/Mentat-Lab/preclinical.git","description":"Preclinical is an open-source healthcare AI safety testing platform. It simulates realistic adversarial patient interactions against your agent, stores transcripts, and grades outcomes against safety rubrics.","language":"TypeScript","stars":19,"topics":["adversarial","ai","clinical","healthcare","opensource","hono","langgraph","nodejs","postgresql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Preclinical Open-source platform for testing healthcare AI agents with adversarial multi-turn conversations and automated grading. Preclinical simulates realistic adversarial patient interactions against your healthcare AI agent, captures transcripts, and grades outcomes against safety rubrics. Self-hosted with Docker Compose. Quick Start Prerequisites - Docker Desktop (or Docker Engine + Docker Compose) - An OPENAI API KEY or ANTHROPIC API KEY (see .env.example ) - A BROWSER USE API KEY for browser-based testing with Browser Use Cloud Setup Open http://localhost:3000 to access the UI. Daily Workflow Runtime Modes Default (OpenAI) -- requires OPENAI API KEY in .env . Browser testing (chatgpt.com, claude.ai, etc.) uses Browser Use Cloud. Set BROWSER USE API KEY in .env and reuse Browser Use profiles for repeated runs on the same domain. CLI & SDK Python CLI Claude Code Plugin Provides 8 slash commands: /preclinical:setup , /preclinical:run , /preclinical:benchmark , /preclinical:diagnose , and more. If you clone the repo, the plugin loads automatically. Agent Skills (Cursor, Windsurf, Copilot, Cline, and more) Same capabilities as the plugin, for non-Claude Code AI assistants. Supported Providers openai (HTTP) vapi (REST) livekit (WebRTC) pipecat (Daily/LiveKit) elevenlabs (Voice) browser (Browser Use Cloud) Local Development (Without Docker) Requires a running PostgreSQL and valid DATABASE URL . Project Structure Configuration See .env.example for all environment variables. K","default_branch":null,"files":null,"tree":[],"storefront":"/r/Mentat-Lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Mentat-Lab/preclinical/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}