Skip to main content
This guide demonstrates how to manage agent configurations using the Vijil Python SDK. You can create, update, and delete agents programmatically. Creating an agent configuration is the first step in evaluating an agent. After creating an agent configuration, you can evaluate it.

Using the Vijil Web Interface

Click Agents (robot icon) in the left sidebar to view all agents in your existing team.

Add (Create) an Agent

  1. In the left sidebar, click Agents (robot icon).
  2. Click Add Agent.
  3. Fill in the details in the dialog: a. Name - The name of the agent. b. Hub - The model hub your model is on. See Integrations for more information on each supported hub and its parameters. c. Model Name - The name of the model you want to use on the hub. You can get this from the relevant hub’s documentation. d. API Key - Select an existing API Key or enter a new one. e. System Prompt - If your agent’s endpoint accepts a system prompt in its chat completion request, enter it here for it to be including in all chat completion requests for the agent.

Using the Python Client

Add (Create) an Agent

You can add an agent that uses an existing API key, or you can create a new API key and use it to add an agent.

Basic Agent Creation with Existing API Key

Use the api_key_name parameter to specify the name of the API key you want to use.

Create Agent with New API Key

When creating an agent with a new API key, you should specify api_key_value and all the required parameters for the API key, in addition to agent parameters. The API key created this way will be automatically assigned a unique name based on the specified hub and the agent name.

Create Bedrock Agent with a new API key

Some model hubs require additional parameters for the agent that you specify in hub_config. See Integrations for more information on each supported hub and its parameters.

List Agents

Update an Agent

You can update an agent’s name, model, hub, system prompt, URL, and associated API key.

Delete an Agent

Last modified on December 2, 2025