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

# Load AI Agent

<Frame>
  <img class="image-center" src="https://mintcdn.com/cognigy-15abf2ba/OU10XTKbB-9IwiZJ/_assets/ai/develop/node-reference/ai/load-ai-agent.png?fit=max&auto=format&n=OU10XTKbB-9IwiZJ&q=85&s=767612c367002768bf27e193e4c5bc38" alt="Load AI Agent Node configuration panel" style={{ width: 'auto' }} width="358" height="98" data-path="_assets/ai/develop/node-reference/ai/load-ai-agent.png" />
</Frame>

## Description

The Load AI Agent Node lets you load the AI Agent's configuration and persona data into the Input or Context object.
The primary use case is to enhance personalization in prompt generation with the [LLM Prompt Node](/ai/agents/develop/node-reference/service/llm-prompt).
To do so, place the Load AI Agent Node above the LLM Prompt Node in the Flow editor. You can also place this Node above any other Nodes to access AI Agent information.

## Parameters

| Parameter                | Type          | Description                                                                                                                                                                                     |
| ------------------------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| AI Agent                 | Selector      | Select the AI Agent.                                                                                                                                                                            |
| How to handle the result | Selector      | Determine how to handle the prompt result:<ul><li>**Store in Input** — stores the result in the Input object.</li><li>**Store in Context** — stores the result in the Context object.</li></ul> |
| Input Key                | CognigyScript | The parameter appears when **Store in Input** is selected. The result is stored in the `aiAgentConfiguration` Input object by default. You can specify another key.                             |
| Context Key              | CognigyScript | The parameter appears when **Store in Context** is selected. The result is stored in the `aiAgentConfiguration` key in the Context object by default. You can specify another key.              |
