You can create an agent using natural language. This will provide you with a first draft of the agent which you can then further edit using the Agent Builder.

Start creating your agent

  1. Navigate to the Agent Library.
  2. Select the Create agent button.
  3. Select Use AI to generate draft.
  4. Enter your instructions:
    • Describe the steps this agent should follow to complete this task as well as how the final output should be generated.
    • If you would like the agent to use the knowledge from a specific document that is indexed by Glean, you can either the document’s URL or tag it using ’@’.
    • You can specify input fields by enclosing them in double brackets (e.g. “Summarize the [[Zendesk ticket]]”).
  5. Click on Generate agent.

Example instructions

Create a task based agent that asks the user to enter a Jira ticket and then suggests how to resolve the ticket using the contents of relevant playbooks:

Suggest how to resolve the eng oncall issue in [[Jira ticket]]
* Search for playbooks that are related to the content of the ticket
* Think about which playbook is most relevant to the ticket
* Read the full content of that playbook and summarize how to resolve the ticket

Create a conversational agent that answers questions using past user research studies:

Create a chatbot that answers questions about user research studies 
using these documents:
<URL of user research report 1>
<URL of user research report 2>
<URL of user research report 3>