Files
Douwe MaanandGitHub 43633b0b24 docs: point at the new per-capability pages in core's Capabilities section (#391)
Pydantic AI's docs restructure gives Capabilities a top-level section
(/ai/capabilities/) with a page per built-in capability. Update all
/ai/core-concepts/capabilities/ links accordingly, and make the core
built-ins explicit in the 'What goes where?' breakdown — naming and
linking web search, web fetch, image generation, compaction, tool
search, on-demand loading, thinking, and MCP, plus the full built-in
list on the Capabilities overview.

Merge together with the pydantic-ai docs restructure release: the new
/ai/capabilities/ URLs only exist once that release is synced to
pydantic.dev.
2026-07-20 20:44:34 -05:00

1.6 KiB

Harness Agent Docs

Use these guides when building or reviewing pydantic-ai-harness changes.

Required Reads

For any code change:

  1. AGENTS.md
  2. This file
  3. The guide below that matches the task
  4. The public Pydantic AI docs for the integration points you touch

Task Routing

  • New or changed capability API: capability-authoring.md
  • New or changed tests: testing-capabilities.md
  • Unsure whether behavior belongs in harness or Pydantic AI core: core-boundary.md
  • Review, pre-PR check, or final self-check: review-checklist.md

Exemplar

Use pydantic_ai_harness.code_mode as the current exemplar for capability shape:

  • public re-export from pydantic_ai_harness/__init__.py
  • package-level re-export from pydantic_ai_harness/code_mode/__init__.py
  • public capability class in _capability.py
  • implementation toolset in _toolset.py
  • capability README next to implementation
  • mirrored tests under tests/code_mode/

Do not copy CodeMode mechanically. Use it to understand package shape, testing depth, docs placement, and how a harness capability composes with Pydantic AI toolsets.

Pydantic AI References