LLM Detective
Agent that tries to probe other models' capabilities with conversation
About This Project
LLM Detective is an experimental Python project that implements an AI agent designed to evaluate other large language models through structured, conversational investigations. The agent conducts nine categories of tests covering areas such as knowledge cutoff, vision and audio capability, political bias, content censorship, guardrail triggering, conspiracy theory handling, sycophantic positive reinforcement, and agentic tool use. Before testing, it performs pre-investigation research by fetching model cards and running web searches, then records responses with ratings on a 0-10 scale and writes full results to JSON reports that include the researched model context.
The project is built around a set of core components, including a ModelResearcher, an abstract LLMProvider interface, a HumanSimulator that adds realistic typing delays and casual phrasing, and a DetectiveTasks library of prompts. It supports Ollama for local models as well as OpenAI, Anthropic, and any OpenAI-compatible API such as OpenRouter. Users can run specific tasks, disable human simulation or research, and extend the system by implementing new provider classes or test prompts.
The tool may be of interest to developers and researchers comparing models before selecting one for production, teams assessing safety filtering or claimed multimodal abilities, and researchers studying LLM behavior and limitations. The project is labeled experimental and is released under the MIT License.