Salt AI Docs

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

Open Agents

In the main sidebar, click Agents.

The Custom agents section appears.

Create an agent

Click New Agent.

The agent editor opens with New agent as the name.

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.

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.

Open Ask Salt

Click Test in chat.

The Ask Salt side pane opens with Web research assistant selected.

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.

On this page