Skip to main content
Version: 1.1.4

Creating an Agent in Agent Library

How to Create an Agent in Agent Library

In Kadal, agents serve as AI-powered chatbots that can interact with users and perform specific tasks. Admins can create and configure these agents, which are then published in the Agent Library for users to engage with. By setting up an agent, you can define its behaviour, knowledge base, and response characteristics, allowing it to respond effectively to user queries.

Steps:

  1. Log in to Kadal as an Admin.
  2. Navigate to the Agent Library.
    • On the Agent Library page, you’ll see a list of all the agents created and available in the system.
  3. Click the Create Agent button to start creating a new agent.
  4. In the Create Agent form, fill in the following details:
    • Agent Name: Choose a name for the agent.
    • Agent Icon: Upload an icon to represent the agent visually.
    • Description: Provide a brief description of what the agent does.
    • Master Prompt: This is the primary prompt to guide the agent on how it should respond to users.
    • Category: Select a category for the agent (e.g., General, Health, Finance).
  5. To add content to the agent, click + Add under the Add Source section. The added content will serve as the agent’s knowledge base, guiding its responses to queries.
    • Select the files and click Add.
  6. In the Advanced Settings, configure the following options:
    • Model: Choose the AI model you want to use for the agent (e.g., GPT-3, GPT-4, etc.).
    • Response Type: Control the randomness of the agent’s responses. A lower value results in more accurate and predictable answers, while a higher value introduces more variation.
    • Max Tokens: Set the maximum number of tokens for the agent’s output (1 token ≈ 4 characters).
  7. Once all the details are filled in, click Save to create the agent.