Doctor Contract Protocol • AI Agent SDK
DoctorContractProtocol: Protocol for doctor migration rules.
DoctorContractProtocol
Defined in the Doctor Protocol module.
AI Agent
Protocol for doctor migration rules.
Third-party plugins can implement this protocol to provide custom migration rules for agent configurations.
Methods
rule_id()
Unique identifier for this migration rule.
collect_findings()Analyze configuration and collect migration findings.
apply_fix()Apply migration fixes to configuration.
Source
View on GitHubpraisonaiagents/runtime/doctor_protocol.py at line 82