> ## 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.

# Plugin Lifecycle Input • AI Agent SDK

> PluginLifecycleInput: Input for ON_INIT / ON_SHUTDOWN hooks (plugin lifecycle).

# PluginLifecycleInput

> Defined in the [**events**](../modules/events) module.

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

Input for ON\_INIT / ON\_SHUTDOWN hooks (plugin lifecycle).

Emitted by :meth:`PluginManager.register` (ON\_INIT, right after the
plugin runs its own `on_init`) and :meth:`PluginManager.unregister`
(ON\_SHUTDOWN, right after its `on_shutdown`). Lets an observability
plugin see the plugin set change at runtime instead of polling
`list_plugins()`.

## Properties

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

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

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

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Generic utility method.
</Accordion>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/hooks/events.py#L554">
  `praisonaiagents/hooks/events.py` at line 554
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Plugins Feature" icon="plug" href="/docs/docs/features/plugins" />
</CardGroup>
