Skip to main content

Create task agents from Assistant

Create a task agent when you find yourself repeating the same request in Glean Assistant. Instead of re-typing the same prompt every week, describe the work once and let Glean turn it into an agent that runs on a schedule or reacts to content changes. Task agents are private to you and run with your permissions.

How task agents work​

Task agents use the same runtime, tools, and governance controls as Glean Assistant. You create and manage them in chat.

Task agents have the following characteristics:

  • They are private to you and do not support sharing. Other users cannot see or run them.
  • They default to the same tool and knowledge access as your Assistant session.
  • They support scheduled triggers (time-based) and content triggers (event-based).
  • You edit them in chat. Edit in builder on the agent details page returns you to the chat where you created the agent.

Prerequisites​

Have the Create Agents permission for your organization. If you do not see the option to create an agent from Assistant, contact your admin.

Create a task agent​

You can create a task agent from Assistant in three ways.

Ask directly in chat​

Type a request that describes recurring work. For example:

  • "Summarize my open Jira tickets every Monday at 9 AM and send the summary to Slack."
  • "Check for new pull requests in the main repo every hour and draft a review summary."
  • "Send me a weekly brief of all Salesforce opportunities that changed status."

Glean recognizes the intent to automate and starts the agent creation flow. Assistant drafts the instructions and trigger configuration, then asks follow-up questions to refine the details.

Accept a follow-up suggestion​

After you complete a chat that looks like recurring work, Assistant may suggest turning it into an agent. Click the suggestion to start the creation flow with the context from your conversation already filled in.

Use the Create agent option​

Click Create agent from the Assistant composer or from the Agents page to start the creation flow directly. Describe what the agent should do, and Assistant drafts the configuration for you.

Review and save the agent​

After Assistant drafts the agent, review the configuration before saving:

  1. Review the instructions that describe what the agent does.
  2. Confirm the trigger type and schedule. See Set a trigger for details.
  3. Check that the tools and knowledge sources match your intent.
  4. Answer any follow-up questions that Assistant asks to refine the agent.
  5. Click Save when the configuration is ready.

Glean keeps advanced settings hidden by default. You see only the fields that matter for your use case.

Set a trigger​

Task agents support two trigger types.

Schedule trigger​

Run the agent on a recurring time-based schedule (daily, weekly, or a custom cadence). When you describe a schedule in your request, Assistant fills in the trigger automatically.

After saving, the agent begins running on the schedule you defined. You can change the schedule later from the agent detail page.

For more on how scheduled triggers work and how admins control access, see Schedule triggers.

Content trigger​

Run the agent when content changes in a connected system. For example, trigger the agent when someone creates a new Jira ticket or updates a Salesforce record.

For supported sources and configuration details, see Content triggers.

note

Your admin must turn on Scheduled triggers for you before you can use time-based schedules. Content triggers depend on the connected apps available to your organization.

Edit a task agent​

Open the chat where you created the agent and describe the changes you want to make. Assistant can update the instructions, triggers, or tools.

To return to that chat from the agent details page:

  1. Select the agent configuration in chat to open its details page. You can also open the agent from Active agents on the Agents page.
  2. Open the three-dot menu and select Edit in builder. For task agents, this option returns you to the original chat.
  3. Describe the changes you want Assistant to make, then review the updated configuration.

Manage task agents​

All your active task agents appear in the Active agents section on the Agents page.

From here you can:

  • View the agent name, trigger type, and last run status.
  • Turn an agent on or off with the Active toggle.
  • Run an agent immediately with Run now.
  • Edit or remove the trigger from the three-dot menu.
  • Review past runs by opening Chats in the left navigation and filtering by Agents or Automations.

For more on managing active agents, see Activate and manage triggered agents.

Example use cases​

Use these sample prompts to describe recurring work in Assistant:

GoalWhat to say in Assistant
Weekly team brief"Every Monday at 9 AM, summarize the status of all open Jira tickets assigned to my team and post the summary in Slack."
PR review digest"Check for new pull requests in the main repo every day and draft a review summary."
Account prep before meetings"Before each meeting with Acme Corp, pull the latest Salesforce notes and draft a one-page prep brief."
Track project updates"Watch for changes to the Q4 launch project board and send me a summary when anything moves to Done."

Task agents compared to agents built in Agent Builder​

Compare how you create, manage, and use each type of agent:

Task agents from AssistantAgents from Agent Builder
Creation surfaceGlean Assistant chatAgent Builder
Visibility and sharingPrivate to you. No sharing.Private by default. You choose sharing settings.
Tool and knowledge accessMatches your Assistant session by defaultYou select tools and resources explicitly
Trigger typesSchedule and content triggersSchedule, content, chat message, and input form triggers
Managed viaAgent details page and the original Assistant chat. Edit in builder returns to that chat.Agent Builder, with access to builder settings
Best forQuick personal automations from natural languageShared workflows, complex logic, or team-wide agents

See also​