Researcher
AI agent · Research agent · Research by Pydantic
Autonomous, type-safe research agents built for production.
Researcher is a production-grade AI agent for autonomous information gathering, built on the Pydantic AI stack. It offers businesses validated structured outputs, durable execution across 9 engines, and support for 30+ model providers.
Agent specs
The full spec card (context, pricing per token, modalities and more) on AntSpace. Sign up free to see the full spec card.
- Languages
- Python
Category: AI Agents
- Base Framework
- Pydantic AI
- Harness Capabilities
- 80+ built-in capabilities
- Model Providers
- 30+ supported
- Durable Execution Engines
- 9 supported (Temporal, AWS Lambda, etc.)
- Sandboxes Supported
- 12 sandboxes and remote workspaces
- Output Validation
- Native Pydantic Validation
- Built on Pydantic AI with 80+ harness capabilities
- Supports 30+ model providers with one typed Agent object
- Durable execution on 9 engines including Temporal and AWS Lambda
- Validated structured outputs using Pydantic models
Overview
Researcher is an AI agent specialized in autonomous information gathering and analysis, built by the Pydantic team using the Pydantic AI Harness. It is designed for technical teams and businesses that need to automate complex, multi-step research workflows while maintaining strict data integrity. The agent works by breaking down high-level goals into executable plans, utilizing a library of 80+ capabilities including file tools, shell access, and sub-agent orchestration. Researcher distinguishes itself by providing type-safe, validated outputs through Pydantic models and supporting durable execution across nine different engines like Temporal and AWS Lambda. It operates on over 30 model providers, allowing users to switch models without rewriting agent logic. Every run is fully observable through native Pydantic Logfire integration, providing traces, cost tracking, and behavior monitoring in a single view.
Research Workflow Management
- Autonomous Research Planning: The agent plans and executes multi-step research tasks by combining 80+ capabilities from the Pydantic AI Harness.
- Tool Execution: It utilizes file and shell tools to interact with data and execute commands during research runs.
- Sub-agent Orchestration: The agent can hand off specific tasks to sub-agents to manage complex research workflows.
- Long-run Coherence: It maintains a current plan and memory to stay coherent during research sessions that can last for hours.
Data Integrity and Reliability
- Validated Pydantic Outputs: Every run returns a validated Pydantic model to ensure research findings meet strict type requirements.
- Context Management: The agent manages context window utility by clearing old tool results and spilling oversized output to files.
- MCP Integration: It supports any Model Context Protocol (MCP) server to access external tools and data sources.
- Durable Execution: Research runs can survive crashes and restarts by replaying a journal of completed model and tool calls.
Control and Governance
- Human-in-the-loop Approval: The agent can be configured to pause for human approval on individual tool calls.
- Persistent Approval States Ops: Approval states survive the process going away, allowing for asynchronous human intervention.
- Configurable Guardrails: Developers can set limits on the shell and file system that the agent must follow.
- Observability and Auditing: Every request is metered and visible in a centralized audit trail through Pydantic Logfire.
Published results
- Survives crashes on 9 durable execution engines; supports 12 sandboxes and remote workspaces
Use cases
- Technical teams use Researcher to automate complex investigations by breaking them into planned tool calls and sub-agent tasks.
- Data engineers implement Researcher to gather and process information into strictly validated Pydantic models for downstream systems.
- Platform teams deploy Researcher on durable execution engines to ensure long-running research tasks survive infrastructure restarts.
- Security-conscious organizations use Researcher with human-in-the-loop approvals to govern sensitive tool calls during automated workflows.
Specifications
- Integrations
- Pydantic Logfire, Pydantic AI, MCP servers, OpenTelemetry backends
- Human control
- Pause for human approval on tool calls; approval survives process restarts
- Models
- 30+ model providers supported including OpenAI, Anthropic, Google, and Groq
- Deployment
- Cloud, Dedicated, or Self-hosted via Helm chart on Kubernetes
- Base Framework
- Pydantic AI
- Harness Capabilities
- 80+ built-in capabilities
- Model Providers
- 30+ supported
- Durable Execution Engines
- 9 supported (Temporal, AWS Lambda, etc.)
- Sandboxes Supported
- 12 sandboxes and remote workspaces
- Output Validation
- Native Pydantic Validation
- Tracing Standard
- OpenTelemetry (OTel)
- Protocol Support
- Model Context Protocol (MCP)
How it works
- Define Research Goal and Schema: Developers define the research goal and the required output format as a Pydantic model.
- Configure Harness and Tools: The agent is configured with necessary tools, sub-agents, and model providers using the Pydantic AI Harness.
- Execute and Monitor Run: The agent executes the research plan, utilizing durable execution to handle long-running tasks and potential failures.
- Validate and Deliver Results: Findings are validated against the defined schema and delivered as structured data for the application to use.
FAQ
What framework is Researcher built on?
Researcher is built on the Pydantic AI framework and the Pydantic AI Harness, which provides over 80 capabilities for building production-grade agents.
Can Researcher survive a process crash?
Yes, it supports durable execution across nine engines including Temporal, AWS Lambda, and Prefect, allowing runs to resume exactly where they stopped after a failure.
Which AI models can I use with Researcher?
Researcher can run on over 30 model providers, and you can switch between them by changing a single string in the configuration.
How do I control what the agent does?
You can configure the agent to pause for human approval on specific tool calls, and these approval states persist even if the application process is restarted.
Added by AntSpace from public sources (pydantic.dev).