Make AI Agents

AI agent context overview

1min

AI agent's context is the information you provide in addition to the AI service's model. This additional context is key to defining the agent's purpose, actions and constraints. The AI agent's context consists of two layers of information sent to the AI service provider: The agent-level context and additional context provided in the Run an agent module:

  1. Agent-level context: This is the main definition of how the agent works, what is its purpose and what are its constraints. The agent-level context contains:
    • The information from the AI agent's description in the agent settings.
    • Names and descriptions of the agent-level  provided to the AI agent in the Agent settings.
    • Descriptions of the agent-level  inputs and outputs.
  2. Additional context: This is additional information sent to the agent by the specific Run an agent module. The additional context contains:
    • Additional system instructions from the module settings.
    • Names and descriptions of the  provided to the AI agent in the module settings.
    • Descriptions of the agent's system  inputs and outputs.
    • Messages you send to the AI agent.

The agent-level and additional context layers form a definition hierarchy. The agent-level context is in the agent's settings and is always a part of the agent's information. You can customize the default, agent-level context by providing more information in the additional context.

For example, an agent that manages a shop inventory might have always available a  to list the shop inventory. You would provide the agent with access to this  as an agent-level . In  where you need to just check the inventory the agent could have access only to this .

In a  dedicated to ordering new items the agent could get access to another  for creating orders.