How can AI agents validate external resources?

Validate by type: confirm packages exist in their registry, repositories exist on their host, URLs resolve, and services respond to their protocol correctly. Then judge trustworthiness separately.

Why this matters

Agents recommend or install resources that may not exist, may be typo-squats, or may not behave as expected.

How to do it

  1. Check npm/PyPI packages and GitHub repos exist.
  2. Check URLs resolve.
  3. For MCP servers, run a protocol check.
  4. Review maintainers and permissions before installing.

Example

verify_existence with {"target":"psf/requests","type":"github_repo"} and {"target":"requests","type":"pypi_package"} with Authorization: Bearer <agent_token>.

ZUT tools that help

  • Existence Verifier — Check GitHub repositories, npm and PyPI packages (with their creation date), Hugging Face models and datasets, Docker Hub images, and website links on approved hosts — up to 10 items per call, with an Agent token.
  • MCP Testbed — Run six standard protocol checks against a public HTTPS MCP server (sign-in required).

Related questions

Does existing mean safe?
No. Existence checks catch invented names; they say nothing about safety or quality.

Read next

All AI agent questions