This topic is a guide on how to create and deploy an agent in Studio Modeler without any prior knowledge. To create and deploy an agent you need to:
- Sign in to Studio Modeler to open the All Projects view.
- Select Create Project to create a new empty project, or Upload Project to import an existing .zip project.
- Enter a Project name and an optional Project description, then save the project (new projects start at version 0).
- Save any project changes and open Quick Run, select the arrow, and choose Release project.
- Review the project information in the release dialog and confirm the release (the project version increments to a deployable version).
- Open Project Releases, select the three dots (⋯) next to the released project, and choose Deploy.
- Complete the deployment configuration steps (Application Name, Validation, Permissions, Connectors) and select Deploy to deploy the project.
- Open the deployed project and go to the Agents tab.
- Select the three dots (⋯) on the Agents tab and choose Create.
- Choose the Agent type, enter the Agent name, and confirm creation.
- Select the newly created Agent to open the Agent Details view.
- Select an LLM model under Agent Model.
- Enter an Agent Description explaining the Agent’s purpose.
- Add required inputs and task instructions under Instructions.
- (Optional) Define the expected output format under Outcomes.
- Click Validate Agent (a check mark icon) to verify the configuration.
- Select Save Agent to complete Agent creation.
- Enter test input values or upload a JSON file from the Agent view.
- Click Test Agent to run a test deployment. Quick Run for the Project
might take several minutes to launch.Note: More information about the Quick Run functionality can be found here.
- Once the Quick Run is deployed, click on the Test Agent again to run it.
- Review the test log provided.
- Once everything is working correctly, you need Agent ID to be able to use the Agent. For that, go to the Studio Admin → Devops → Application Instances.
- Find the project that you deployed via a Quick Run, and click on the three dots menu → Development Configuration. List of Agents you deployed will be displayed like this: AGENTS="[{"name":"test-agent-1-1ztjb","id":"0f765ff4-3bab-4d18-9d2f-1995cd4ae846"}]".
- Find the agent you want to use and copy its ID without quote marks. This will allow for agent implementation.