Runtime and Extension
How a harness agent is persisted, made durable, configured, extended, and served. This covers saving and
resuming runs (StepPersistence), AWS Lambda durable functions (AWSLambdaDurability), Absurd durable
tasks (AbsurdDurability), pgtask durable tasks (PGTaskDurability), Render Workflows, harness capabilities under core durable execution, Logfire-managed
instructions (ManagedPrompt), agent-written capabilities (CapabilityCreation), loading harness
capabilities from YAML/JSON specs, serving an agent to editors over ACP, and running one as a GitHub
Agentic Workflow.
Choose
| I want to ... | Use |
|---|---|
| Resume, continue, or fork a run from saved history; audit tool side effects after a crash | StepPersistence |
| Survive worker crashes with automatic replay (Temporal, DBOS, Prefect) | core durability capability; most harness capabilities work inside it |
| Checkpoint every model/tool step on AWS Lambda durable functions | AWSLambdaDurability |
| Checkpoint every model/tool step in Postgres with Absurd | AbsurdDurability |
| Checkpoint every model/tool step in Postgres with pgtask | PGTaskDurability |
| Use or evaluate Render Workflows for background agents with separate model/tool retries, timeouts, and compute | RenderWorkflows; retrying the entry task run restarts the agent |
| Edit, version, and roll out the system prompt from Logfire without redeploying | ManagedPrompt |
| Let the agent write new capabilities that load on the next run | CapabilityCreation |
| Define the agent in YAML/JSON with harness capabilities | Agent.from_file(..., custom_capability_types=[...]) |
| Use the agent inside Zed or another ACP editor | pydantic_ai_harness.experimental.acp |
| Run the agent headless on GitHub issues/PRs/schedules | the gh-aw pydantic-ai engine |
StepPersistence
Records an append-only event log, full-history snapshots at settled tool-cycle boundaries, and a ledger
of tool calls (started/completed/failed). It stores message history only: it does not restore
capability state, graph-node state, or in-flight streams, and it does not replay anything by itself.
You continue a run by passing a snapshot's messages to Agent.run(message_history=...).
import asyncio
from pydantic_ai import Agent
from pydantic_ai_harness import StepPersistence
from pydantic_ai_harness.step_persistence import InMemoryStepStore, continue_run
store = InMemoryStepStore()
agent = Agent(
'test', capabilities=[StepPersistence(store=store, agent_name='librarian')]
)
async def main():
await agent.run('Find the bug', conversation_id='conv-1')
run_id = (await store.list_runs(conversation_id='conv-1'))[-1].run_id
history = await continue_run(store, run_id=run_id)
await agent.run('Now fix it', message_history=history, conversation_id='conv-1')
runs = await store.list_runs(conversation_id='conv-1')
print(len(runs), runs[-1].agent_name)
#> 2 librarian
asyncio.run(main())
Key parameters: store (default InMemoryStepStore()), agent_name (prefix for the derived run id),
run_id (explicit, single-use), parent_run_id (auto-filled when a tool of one persisted agent runs
another in-process), metadata: dict[str, str], and capture_frontier=False (also checkpoint the prompt
and the model's proposed tool calls before execution, so a first-request failure or a kill mid-tool-cycle
keeps them).
Stores, all in pydantic_ai_harness.step_persistence, all async, all accepting
max_snapshots_per_run=None (unbounded by default):
InMemoryStepStore(): process-local; tests.FileStepStore(directory):<directory>/<run_id>/with JSON/JSONL files.SqliteStepStore(database='runs.db'), orconnection=asqlite3.Connectionopened withcheck_same_thread=False.MongoStepStore(client=AsyncMongoClient | db_url=..., database=...): needsuv add "pydantic-ai-harness[mongodb]". Exactly one ofclient/db_url, anddatabaseis required. Withdb_urlthe store owns the client, so callawait store.aclose(). It creates indexes on its first write, so the user needs index-creation privileges.PostgresStepStore(pool, *, table='step_persistence'):poolis your ownasyncpgpool (the driver-neutralPostgresPoolprotocol); no harness extra, and you own the pool lifecycle.tableis a prefix of at most 40 characters. It creates its tables on first use, so the role needsCREATEon the schema.
File, SQLite, Mongo, and Postgres stores move BinaryContent and any text part of 64 KiB or more to a
MediaStore (disk, same DB, same Mongo client, or same pool by default). Pass media_store=None to keep them
inline, or media_store=S3MediaStore(...) from pydantic_ai_harness.media.
Reading back:
continue_run(store, run_id=...)/fork_run(...)returnlist[ModelMessage]from the latestcompletesnapshot, and raiseLookupErrorif there is none.fork_runreturns the same data; start it under a new conversation.include_interrupted=Truealso considers snapshots taken mid-tool-cycle. Checkawait store.list_unresolved_tool_effects(run_id=...)first: astartedeffect with no terminal record may or may not have happened.store.list_runs(parent_run_id=..., conversation_id=...)is sorted oldest first.list_events,latest_snapshot, andrecovery.inspect_recovery(store=..., run_id=...)inspect a run.- In a tool that writes external state, call
await annotate_tool_effect(store, ctx, idempotency_key=..., effect_summary=...)so an orchestrator can tell whether a replay is safe.
What exists after a crash: each finished tool cycle saves a complete snapshot that already includes
the tool returns, so a crash after it resumes from there. If a tool raises and fails the run,
on_run_error also saves an interrupted snapshot with the open tool calls. A process kill mid-cycle
runs no hook, so only the last complete snapshot exists, plus an interrupted one if
capture_frontier=True. The default read skips interrupted snapshots.
async def resume(run_id: str):
unresolved = await store.list_unresolved_tool_effects(run_id=run_id)
for effect in unresolved: # status 'started': may or may not have happened
print(effect.tool_name, effect.tool_call_id, effect.idempotency_key)
# Take the interrupted point only when no call is in doubt: resuming from it
# re-runs its open calls or closes them out with synthesized returns.
history = await continue_run(store, run_id=run_id, include_interrupted=not unresolved)
return await agent.run('Continue.', message_history=history)
Gotchas:
- Shapes a test sees: when a streamed model request fails, the saved history (default read included)
ends with an empty or partial-text
ModelResponse. WithPlanning, a scripted model receives a plan-reminderUserPromptPartled by aCachePointat the end of the last request (not stored). Assert on the parts you need, not exact message shapes. run_idis perAgent.run. Reusing one instance with the same explicitrun_idraisesValueError. Group turns withconversation_id=onAgent.run.- A derived
run_idlonger than 200 characters raisesValueError, so keepagent_nameshort.FileStepStoreonly accepts ids matching[A-Za-z0-9_.-]{1,200}. - Events are never pruned. Snapshots are pruned only with
max_snapshots_per_run, and pruning never deletes media blobs. - Put
StepPersistencebefore capabilities whoseafter_runrewrites history. After-hooks run in reverse order. - The default
idis'step_persistence', and store writes are durable operations, so it works alongside a durability capability. Passid=only for a second instance. - Spec form:
{'StepPersistence': {'backend': 'memory' | 'file' | 'sqlite', 'directory': ..., 'database': ..., 'max_snapshots_per_run': ...}}. Any otherbackendraisesValueError. Mongo is Python-only.
Harness capabilities under core durable execution
Most harness capabilities run under core TemporalDurability, DBOSDurability, and
PrefectDurability (pydantic_ai.durable_exec.*), but support is per capability:
Agent(...)withTemporalDurabilityraisesUserError("Toolsets that are 'leaves' ... need to have a unique id") forAskUser,CapabilityCreation,ExaSearch,ExaAgent,YouSearch,YouResearch,Researcher,PydanticAIDocs,LocalStack,Macroscope, andBrowserUse(eithersession_scope): their toolsets carry no stable id, and passingid=to the capability does not reach the toolset.PlaywrightBrowserraisesUserErroratAgent(...)with any durability capability (a live browser cannot survive replay);TrajectoryJudgeraises at run start inside a durable workflow.CodeModeruns but skips itsspeculate=early tool launches.BackgroundTools, guardrails,SpendLimits,Memory,Planning,SubAgents, the sandboxes, and the hosted integrations build under Temporal.
Attach the workspace, the harness capabilities, and the durability capability at construction, and
give the agent a name:
from pydantic_ai import Agent
from pydantic_ai.capabilities import LocalWorkspace
from pydantic_ai.durable_exec.temporal import TemporalDurability
from pydantic_ai_harness.coder import Coder
agent = Agent(
'anthropic:claude-opus-5-5',
name='coder',
capabilities=[LocalWorkspace('.'), Coder(), TemporalDurability()],
)
Rules that apply to every harness capability:
- Every leaf toolset needs a stable, unique
id. The capabilities not listed above ship fixed or derived ids; two instances of one class need distinctid=. - Per-run inputs (tokens, user ids) come from
deps, never globals: tools andauthfunctions can execute on another worker. - Inside a durable workflow or flow,
agent.run(..., capabilities=...)raisesUserErrorfor any capability except a few core ones such asInstrumentation, and Temporal also refuses toolsets added at run time (for exampleSubAgentswithagent_folders). Load authored capabilities at construction; they take effect on the next worker start. - Removing or adding a capability changes the replay shape. Drain in-flight workflows first.
The per-engine feature matrix for workspace tools (commands, background jobs, live events, delegation,
timeouts) is in CODING-AND-WORKSPACES.md and the durable execution docs page.
RenderWorkflows
When the user is using or evaluating Render, consider RenderWorkflows for background agent jobs that need
separate retries, timeouts, or compute for model requests and tool calls. Retrying the entry task starts the
whole agent again and can repeat completed work; the integration does not checkpoint progress or replay
completed steps. Choose it when the application can handle repeated work. A plain Render task around
agent.run(...) may be enough when the user only needs background execution. The calling application chooses which
requests to submit, even if it runs on AWS or another platform. A submission creates a root-level task run; the
capability starts chained task runs for supported operations through TaskContext.run().
Use the Render Workflows guide for installation, a runnable example, local execution, and deployment. Check its capability support and execution limits before composing an agent. The setup and constraints that affect implementation are:
- Construct one
RenderWorkflows(app)per agent and attach it inAgent(capabilities=[...]). Define agents and tools at module load time, using the same RenderWorkflowsapp. Callagent.run(...)inside that capability's@workflows.taskentry function; a plain@app.taskleaves agent operations inline. The live app object requires Python construction rather than a JSON or YAML agent spec. - Give agents and registered leaf toolsets stable names and IDs, including capability-owned toolsets.
Task options are fixed per named toolset at registration. Use separate named toolsets for different policies; individual function tools can opt out, but cannot override their shared task settings. Return
Falsefromresolve_tool_optionsfordelegate_taskandread_tool_resultwhen usingSubAgentsandToolOutputLimits, so those helpers retain the parent task's live state. For a delegated agent's operations to run as chained task runs, attach its ownRenderWorkflowsinstance using the same app. A chained task run retry can repeat that operation's side effects, so make external writes safe to repeat. - Inputs and results crossing a task boundary must be JSON encodable, including
deps. Workers need access to their own model credentials and external resources. Keep large artifacts in shared storage and pass references that another worker can read; process-local files and live clients are not shared. Model streaming and forwarded capability events are buffered at task boundaries. Tools that need an immediate capability-event decision must run inline. - Generated operations are Render task definitions. Callers with Render API access to submit task runs can invoke them directly, bypassing checks that exist only in the entry task. Keep Render credentials on the server and authorize application users before submitting validated inputs. Treat Workflow API callers as trusted, and account for Render's task-data retention when deciding what to send in task payloads.
AWSLambdaDurability
Checkpoints every model request, function tool call, MCP call, and dynamic-toolset resolution as an AWS Lambda durable step. A resumed invocation replays completed steps from the log.
uv add "pydantic-ai-harness[aws-lambda]" "pydantic-ai-slim[bedrock]" # Python 3.11+
from typing import Any
from aws_durable_execution_sdk_python import DurableContext, durable_execution
from pydantic_ai import Agent
from pydantic_ai_harness.aws_lambda import AWSLambdaDurability, durable_agent_handler
agent = Agent(
'bedrock:us.amazon.nova-pro-v1:0',
name='support',
capabilities=[AWSLambdaDurability()],
)
@durable_execution
@durable_agent_handler
async def handler(event: dict[str, Any], context: DurableContext) -> str:
result = await agent.run(str(event['prompt']))
return result.output
Parameters: AWSLambdaDurability(*, models=None, event_stream_handler=None, name=None, step_config=None).
models maps ids to extra models for agent.run(model='<id>'). step_config sets the base
retry_strategy/step_semantics/serdes for all steps. Per-tool metadata={'aws_lambda': {...}}
overrides it key by key, and metadata={'aws_lambda': False} opts a function tool out (MCP tools cannot
opt out).
Gotchas:
- A run is durable only inside
durable_agent_handlerorrun_durable(lambda: agent.run(...), context=context).agent.run_sync(...)or your ownasyncio.runruns normally but checkpoints nothing, and raises no error to say so. @durable_executionmust be the outermost decorator. The reverse order raisesUserError.run_durablecannot be called from inside a running event loop.- The agent needs a
name(orname=), and every toolset needs a uniqueid. Both are checked atAgent(...). - Steps are at-least-once, and the SDK retries six times by default. For a tool that must not repeat,
set both
StepSemantics.AT_MOST_ONCE_PER_RETRYandretry_strategy=RetryPresets.none(). Step retries stack with Pydantic AI and provider-client retries, so disable one side. - Tool calls run sequentially inside a durable handler. Nested durable runs are rejected.
- Changing the tools, MCP servers, model, or
event_stream_handlerbreaks in-flight executions. Deploy a new published version. ctx.enqueue()is unavailable inside a durable step. Do not detach work withasyncio.create_task().- Budget: 3,000 operations and 100 MB of checkpointed state. Return references, not blobs.
AbsurdDurability
Checkpoints every model request, function tool call, and MCP call as a step of an Absurd task, stored in Postgres. When a worker dies, the task re-runs from the top and completed steps return their stored results.
uv add "pydantic-ai-harness[absurd]" "pydantic-ai-slim[openai]"
from absurd_sdk import AsyncAbsurd, AsyncTaskContext, JsonValue
from pydantic_ai import Agent
from pydantic_ai_harness.absurd import AbsurdDurability
absurd = AsyncAbsurd('postgresql://localhost/absurd', queue_name='agents')
agent = Agent('openai:gpt-6.1-sol', name='analyst', capabilities=[AbsurdDurability()])
@absurd.register_task(name='analyse')
async def analyse(params: JsonValue, ctx: AsyncTaskContext) -> JsonValue:
assert isinstance(params, dict)
result = await agent.run(params['prompt'])
return {'output': result.output}
Parameters: AbsurdDurability(*, models=None, event_stream_handler=None, name=None, parallel_execution_mode='sequential'). models maps ids to extra models for agent.run(model='<id>').
parallel_execution_mode also accepts 'parallel_ordered_events', but not 'parallel'.
Gotchas:
- A run is durable only inside an async Absurd task handler; a synchronous
TaskContextraisesUserError. - The agent needs a
name(orname=), and every function, MCP, or dynamic toolset needs a uniqueid. Both are part of every step name, so renaming either makes in-flight tasks re-run those steps. - Tool return values are stored as JSON.
ModelRetry,ToolFailed,CallDeferred, andApprovalRequiredare not checkpointed, andDynamicToolsets are not wrapped, so that work re-runs. - Function, MCP, or dynamic toolsets passed with
run(toolsets=...)inside a task raiseUserError;ExternalToolsetis fine. - Keep tool side effects idempotent: a crash after a tool runs but before its step is saved re-runs it.
PGTaskDurability
Checkpoints every model request, tool call, and MCP call as a step of a pgtask task, stored in Postgres. When a worker dies, the task re-runs from the top and completed steps return their stored results.
uv add "pydantic-ai-harness[pgtask]" "pydantic-ai-slim[openai]"
from pgtask import Task, TaskRegistry
from pydantic_ai import Agent
from pydantic_ai_harness.pgtask import PGTaskDurability
tasks = TaskRegistry(queue_name='agents')
agent = Agent('openai:gpt-6.1-sol', name='analyst', capabilities=[PGTaskDurability()])
@tasks.task('analyse')
async def analyse(task: Task, payload: dict[str, str]) -> dict[str, str]:
result = await agent.run(payload['prompt'])
return {'output': result.output}
Parameters: PGTaskDurability(*, models=None, event_stream_handler=None, name=None, parallel_execution_mode='sequential'), the same as AbsurdDurability.
Gotchas:
- Run
await Client.connect(url)thenawait client.migrate()once per database before the first task. - The agent needs a
name(orname=), and every function, MCP, or dynamic toolset needs a uniqueid. Both are part of every step name, so renaming either makes in-flight tasks re-run those steps. - Tool results are stored as JSON,
ModelRetryandToolFailedincluded;DynamicToolsetcalls are checkpointed too. A checkpoint that no longer decodes raisesCheckpointDecodeErrorinstead of re-running the tool. - Function, MCP, or dynamic toolsets passed with
run(toolsets=...)inside a task raiseUserError;ExternalToolsetis fine. - Keep tool side effects idempotent: a crash after a tool runs but before its step is saved re-runs it.
ManagedPrompt
Resolves a Logfire-managed prompt once per run and uses it as the agent's instructions, with the label and version attached as baggage to every span of the run.
uv add "pydantic-ai-harness[logfire]"
from pydantic_ai import Agent
from pydantic_ai.messages import ModelMessage, ModelResponse, TextPart
from pydantic_ai.models.function import AgentInfo, FunctionModel
from pydantic_ai_harness import ManagedPrompt
def echo_instructions(messages: list[ModelMessage], info: AgentInfo) -> ModelResponse:
return ModelResponse(parts=[TextPart(info.instructions or '')])
agent = Agent(
FunctionModel(echo_instructions),
capabilities=[
ManagedPrompt('support_agent', default='You are support.', label='production')
],
)
print(agent.run_sync('hi').output)
#> You are support.
Parameters: name (positional; declared as the variable prompt__<name>, with hyphens turned into
underscores), or a prebuilt logfire.variables.Variable; default (required with a name); label;
targeting_key and attributes (static or ctx -> value); render_template=False (Handlebars against
deps; needs pydantic-ai-slim[spec]); logfire_instance. Call logfire.configure() in your app to
get remote values. Until then, and whenever no remote value is published, default is used.
Gotchas: pin label='production' to keep the provider prompt cache warm, because rollouts across
labels split it. A label change mid-run applies from the next run. The capability orders itself
outermost, wrapping Instrumentation. ManagedPrompt.resolved exposes the current run's
ResolvedVariable, and is None outside a run.
CapabilityCreation
Gives the model author_capability(name, code), list_authored_capabilities(), and
disable_authored_capability(name). Authored code is written to <directory>/<name>.py, imported,
and validated (exactly one AbstractCapability subclass that constructs with no arguments). It becomes
active on the next run, and only if you pass it in:
from pathlib import Path
from pydantic_ai import Agent
from pydantic_ai.capabilities import LocalWorkspace
from pydantic_ai_harness import CapabilityCreation
creation = CapabilityCreation(directory=Path('.authored'))
agent = Agent('anthropic:claude-opus-5-5', capabilities=[LocalWorkspace('.'), creation])
async def main():
history = None
for prompt in ['Add a capability that logs tool calls.', 'Now refactor utils.py.']:
result = await agent.run(
prompt, message_history=history, capabilities=creation.store.load_active()
)
history = result.all_messages()
Gotchas: a run raises UserError unless its workspace is a writable LocalWorkspace, because
authored code executes in your process and would bypass a sandbox. Only use it where you would run the
model's code yourself. load_active() skips entries that fail to load. Under durable execution
capabilities= on a run is refused, and CapabilityCreation itself does not build under
TemporalDurability (see the durable execution section). guidance='' drops the
built-in system-prompt guidance. CapabilityCreation is not spec-serializable.
Harness capabilities in agent specs
Core resolves spec capability names from a closed built-in registry. A harness class loads only when
you pass it in custom_capability_types. There is no auto-registration, and no harness-wide list to
pass. The spec name is the class name unless the class overrides get_serialization_name(). A name
not in the list raises ValueError naming the valid choices.
from pydantic_ai import Agent
from pydantic_ai_harness import Planning, StepPersistence
spec = {
'model': 'test',
'capabilities': [
'Planning',
{'StepPersistence': {'backend': 'memory', 'agent_name': 'triage'}},
],
}
agent = Agent.from_spec(spec, custom_capability_types=[Planning, StepPersistence])
Agent.from_file('agent.yaml', custom_capability_types=[...]) works the same way (install
pydantic-ai-slim[spec] for YAML). Capability entries take the forms Name, {Name: positional_arg},
or {Name: {kwargs}}, and each class's from_spec builds the instance. Opted out (they hold callables
or live agents, and raise ValueError if listed): AWSLambdaDurability, AbsurdDurability,
PGTaskDurability, CapabilityCreation, DynamicWorkflow, InputGuardrail, OutputGuardrail, SubAgents,
SystemReminders, ToolGuardrail, TrajectoryJudge. AskUser has a spec name but needs an
answerer callable, so in practice it is passed in code too. Pass those instances with the
capabilities= keyword of Agent.from_spec/Agent.from_file, which adds them to the spec's list.
Keep secrets out of spec files and let capabilities read their env vars.
ToolCallJudge and ApprovalReviewer are spec-loadable when the model is a string and tools is
'all', a name list, or a metadata match. A live model, predicate selector, and the on_verdict or
on_review callback are code-only.
A spec whose model is a provider string ('openai:gpt-6.1-sol') needs that provider's API key when the
agent is built. In tests, pass defer_model_check=True and run under agent.override(model='test').
ACP server (experimental)
Serves any Agent over the Agent Client Protocol on stdio, so Zed and other ACP clients can drive it
with streamed text, diffs, tool approval, and sessions. It lives under
pydantic_ai_harness.experimental and may change or be removed in any release, without deprecation.
Importing it emits HarnessExperimentalWarning.
uv add "pydantic-ai-harness[acp,anthropic]"
from pydantic_ai import Agent
from pydantic_ai.workspaces import LocalWorkspaceBackend
from pydantic_ai_harness.experimental.acp import (
AcpSession,
AcpSessionConfig,
InMemorySessionStore,
run_acp_stdio_sync,
)
from pydantic_ai_harness.filesystem import FileSystem
from pydantic_ai_harness.shell import Shell
agent = Agent('anthropic:claude-opus-5-5')
def session_config(session: AcpSession) -> AcpSessionConfig[None]:
return AcpSessionConfig(
deps=None,
capabilities=[FileSystem[None](), Shell[None]()],
workspace=LocalWorkspaceBackend(session.cwd),
)
if __name__ == '__main__':
run_acp_stdio_sync(
agent, session_config=session_config, session_store=InMemorySessionStore()
)
AcpSessionConfig requires only deps (None for no deps); capabilities, toolsets, and
workspace default to None, so an agent without file or shell tools needs no workspace.
Gotchas: root tools at session.cwd through session_config, not a static FileSystem. Tools marked
requires_approval=True become client approval prompts. acp_filesystem(session) and
acp_terminal(session) return editor-backed tools, or None when the client does not offer them, so use
acp_filesystem(session) or FileSystem[None](). If a client sends MCP servers and there is no
session_config to connect them, the session is rejected. Prompt content is text-only unless you pass
prompt_capabilities. models=[...] exposes a model picker. Use async run_acp_stdio inside a running
loop. Silence the warning with warnings.filterwarnings('ignore', category=HarnessExperimentalWarning)
(importing pydantic_ai_harness.experimental itself does not warn).
GitHub Agentic Workflows
The gh-aw pydantic-ai engine runs a Pydantic AI agent in GitHub Actions on issues, PRs, or a schedule.
In the workflow .md, import pydantic/pydantic-ai/src/pydantic_ai_harness/gh-aw/pydantic.md@main,
set engine: {id: pydantic-ai, model: openai/gpt-6.1-sol} (provider/model is required), and point
engine.env.PAI_AGENT at module:variable (for example my_agent:agent), at
pydantic_ai_harness.researcher:researcher_agent, or at a .yml/.json spec. Omit PAI_AGENT to run
Coder. Then run gh aw compile and commit the .lock.yml with it. Gotchas: leave the model off the
Agent, because the engine's -m overrides it. Writes go through safe outputs (for example the
safeoutputs_add_comment tool). Install extra dependencies with a workflow steps: pip install --user.
The provider key is a repository secret, never engine.env. A spec agent cannot use harness
capabilities, because the CLI passes no custom_capability_types. Use a Python module for those.
See also
- https://pydantic.dev/docs/ai/harness/step-persistence/
- https://pydantic.dev/docs/ai/harness/durable-execution/
- https://pydantic.dev/docs/ai/harness/aws-lambda/
- https://pydantic.dev/docs/ai/harness/absurd/
- https://pydantic.dev/docs/ai/harness/pgtask/
- https://pydantic.dev/docs/ai/harness/managed-prompt/
- https://pydantic.dev/docs/ai/harness/capability-creation/
- https://pydantic.dev/docs/ai/harness/acp/
- https://pydantic.dev/docs/ai/harness/gh-aw/
- https://pydantic.dev/docs/ai/agent-spec/
- https://pydantic.dev/docs/ai/durable_execution/overview/