Create and configure agents
You can create an agent by describing it in chat, or by importing an agent definition file. You need permission to create agents. If you don't see the option to create an agent, contact your administrator. A new agent is private. Only you can use it until you publish and share it.
Topics
Create an agent
You can create an agent from chat or from an agent definition file.
Configure an agent
The agent editor organizes configuration into two tabs, Instructions and Capabilities.
How agents use resources
The spaces and connectors you add to an agent are its primary sources, and the agent uses them first. When a request needs it, the agent can also use other spaces and connectors you have access to. Adding spaces or connectors focuses the agent. It doesn't prevent the agent from using other resources you can access. An agent never goes beyond your access.
Skills work differently. If you add specific skills, the agent is limited to those skills.
Test and publish an agent
Agents are versioned. Changes are saved as a draft. Other people use the published version, and routines run the published version.
To test and publish an agent
-
Open the draft.
-
Test the agent in chat, and then refine it.
-
Choose Publish.
-
(Optional) Add release notes.
Publishing replaces the version that others use. To remove unpublished changes, discard the draft. To switch between the published and draft versions, use Manage versions.
Best practices for agent context
An agent uses three types of context, and each type is best suited to a different kind of content:
- Instructions
-
Goals, behavior, and when to use each source. Instructions apply to every conversation.
- Reference documents
-
Exact wording, templates, procedures, and rules. The agent uses them as written, and they are always available.
- Spaces
-
Business content that changes, such as documents, dashboards, and datasets. The agent searches spaces when needed, and respects each user's permissions.
We recommend the following practices:
-
Use instructions to set the agent's role and goals.
-
Use reference documents for content that must not change.
-
Use spaces for knowledge that changes over time.
-
Add only the capabilities the agent needs.