> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Config Diff • AI Agent SDK

> ConfigDiff: A per-rule before/after change produced by a repair.

# ConfigDiff

> Defined in the [**Doctor Protocol**](../modules/doctor_protocol) module.

<Badge color="blue">AI Agent</Badge>

A per-rule before/after change produced by a repair.

## Properties

<ResponseField name="rule_id" type="str">
  No description available.
</ResponseField>

<ResponseField name="before" type="Dict[str, Any]">
  No description available.
</ResponseField>

<ResponseField name="after" type="Dict[str, Any]">
  No description available.
</ResponseField>

## Methods

<CardGroup cols={2}>
  <Card title="unified_diff()" icon="function" href="../functions/ConfigDiff-unified_diff">
    Render a unified before/after diff for previewing the change.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_protocol.py#L25">
  `praisonaiagents/runtime/doctor_protocol.py` at line 25
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/docs/configuration/agent-config" />
</CardGroup>
