# Plugins
| Plugins | Agent Callbacks | |
|---|---|---|
| Scope | Global: Apply to all agents/tools/LLMs in the
Runner. |
Local: Apply only to the specific agent instance they are configured on. |
| Primary Use Case | Horizontal Features: Logging, policy, monitoring, global caching. | Specific Agent Logic: Modifying the behavior or state of a single agent. |
| Configuration | Configure once on the Runner. |
Configure individually on each BaseAgent instance. |
| Execution Order | Plugin callbacks run before Agent Callbacks. | Agent callbacks run after Plugin callbacks. |