Create your first custom agent
Create, publish, and test a custom agent with Web Search in Ask Salt.
Create a minimal custom agent, publish it, and test its Web Search tool in Ask Salt.
Outcomes
By the end of this tutorial, you will have:
- Created and named a custom agent
- Configured its Behavior
- Published it with Web Search enabled
- Tested it in Ask Salt
Prerequisites
You need a Salt account.
Create and test your agent
Rename the agent
Rename New agent to Web research assistant.
The new name appears at the top of the editor, and the page shows Unsaved changes.
Write the Behavior instructions
In Behavior, enter:
You are a research assistant. When I ask for current information, search the public web before answering. Summarize the findings and include links to the sources you used.The instructions appear in the Behavior field.
Confirm Web Search
In Tools & Sources, confirm that Web Search appears with the Built-in badge. New custom agents start with this tool enabled.
Save and publish the agent
Click Save in the page header.
Save writes and publishes a new version in one action. A Saved v1. confirmation appears, and Test in chat becomes available.
Test Web Search
Send this message:
Search the web for the current weather in San Francisco. Summarize the forecast and include the source links.If the agent selects Web Search, its tool call appears in the conversation before the answer. If it answers without a tool call, follow up with Use Web Search before answering.