Skip to main content Switch to mobile version pydantic-ai-nestdaddy 0.1.0 NestDaddy capability for Pydantic AI: give your agent today's internet with live web search, real-time news and page reading.
pip install pydantic-ai-nestdaddy Copy PIP instructions
Give your Pydantic AI agent today's internet. This package adds a capability with three tools backed by NestDaddy, a search service with its own crawler and index:
search_web: web results with title, url, snippet and domain.
search_news: real-time news, filtered by age and country, newest and best match first.
read_page: the clean full text of a page or article.
It also gives the model a short instruction on when to use each tool.
pip install pydantic-ai-nestdaddy Get an API key at nestdaddy.com/dashboard (a free plan is available) and set it:
export NESTDADDY_API_KEY=nd_... Use it
from pydantic_ai import Agent from pydantic_ai_nestdaddy import NestDaddyCapability agent = Agent('openai:gpt-5', capabilities=[NestDaddyCapability()]) result = agent.run_sync('What happened in AI this week? Cite your sources.') print(result.output) Options (all optional): api_key, num_results (default 10), news_days (default 30), country (a default two-letter code such as GB), max_chars for read_page (default 8000), timeout.
If you prefer a plain toolset:
Every field is serializable, so the capability works in agent specs:
model: openai:gpt-5 capabilities: - NestDaddy: country: GB agent = Agent.from_file('agent.yaml', custom_capability_types=[NestDaddyCapability]) Behaviour
Bad arguments (a one-character query, a malformed country code or URL) are checked locally and sent back to the model as a retry, without an API call.
A 400 or 422 from the API is also a model retry. Quota, key and network problems raise NestDaddyError with a clear message.
Tool results are compact JSON objects, never raw API payloads.
pip install -e ".[test]" pytest The tests run offline through httpx.MockTransport.
API reference: https://nestdaddy.com/apis
NestDaddy MCP server: https://nestdaddy.com/mcp
Pydantic AI integration guide: https://nestdaddy.com/integrations/pydantic-ai
Released: Dec 2, 2026
MIT View SPDX License List
agents capability nestdaddy news pydantic-ai search web search
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Programming Language Python :: 3
Topic Internet :: WWW/HTTP :: Indexing/Search
Scientific/Engineering :: Artificial Intelligence
Release files for pydantic-ai-nestdaddy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 16.1 kB
Release files / pydantic_ai_nestdaddy-0.1.0.tar.gz
Security for pydantic-ai-nestdaddy 0.1.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 2, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 6571ef3











