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
- In the left sidebar, click Agents (robot icon).
- Click Add Agent.
- 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 theapi_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 specifyapi_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 inhub_config. See Integrations for more information on each supported hub and its parameters.