Skip to content
GenerateDocs
What's new
Agents and workflowsAgents
On this page

Build an agent and schedule it to run

Create a chat agent in Generate, give it instructions, knowledge, connectors and skills, schedule jobs, call it over the API, and share or export it.

EditionsEnterprise: availableConsumer: availableStorage: availableHealthcare: availableAirgapped: available in partno web or connectors
Who can do thisAnyone whose team grants Agents, and Create agent to make one, which teams hold by default.
WhereAgents, then New agent.

Short answer: the overview on docs.iterate.ai

This page shows you how to build an agent in Generate, chat with it, run it on a schedule, call it from another system and share it.

An agent is a saved assistant with its own instructions, files, tools and settings. You and the people you share it with can chat with it, run it on a schedule, or call it from another system. Build one when you find yourself giving Generate the same instructions in chat after chat, such as how to write the weekly report or which knowledge to search for a support question.

Generate has two kinds of agent:

Kind Set up on Use it for
Chat agent One form An assistant with instructions, knowledge and tools that answers in a chat
Workflow agent The workflow builder canvas A task of several steps, with decisions, loops or approvals, steps run once per item of a list or at the same time, retries, files it reads, such as a PDF sent as base64, and files the run hands back

Open the agents you built, were given, or that anyone in the workspace owns.

  1. Open Agents

    Select Agents in the sidebar.

    The Agents page with its tabs, Sort by, and the Browse and New agent buttons above the agent cardsOpen full size
    Shown in the enterprise edition.
  2. Pick a tab

    Your agents, Shared with you, or All in workspace, which lists every agent in the workspace whoever owns it.

  3. Search and sort

    Type in Search agents… to find one by name, and use Sort by to order the cards. Each card says whether it is a chat agent or a workflow agent.

Start a chat agent, a workflow agent, or an import of one someone exported.

  1. Select New agent

    Select Agents in the sidebar, then New agent.

  2. Choose how to start

    In Create your agent, choose Quick start (Basic, chat agent) and select Create agent to open the agent form. Workflow builder (Advanced, workflow agent) opens the canvas instead; see Design a multi-step workflow agent. Import from JSON takes an agent file someone exported; upload it and select Import agent.

    The Create your agent dialog with its Quick start, Workflow builder and Import from JSON choicesOpen full size
    Shown in the enterprise edition.
  3. Fill in the form

    For Quick start, fill in the form as in Set up a chat agent and select Create agent at the top right.

Copy a ready-made agent or workflow and change it to suit you.

  1. Select Browse

    On the Agents page, select Browse.

  2. Find a template

    In Browse templates, search or pick a category. Templates include both chat agents and workflows.

    The Browse templates window with its search, category filters and template cardsOpen full size
    Shown in the enterprise edition.
  3. Open it

    Open a template to see its Instructions, Tools, Skills it adds, Starter prompts and Settings such as web search and live browser.

  4. Select Use template

    Generate makes your own copy.

On the healthcare edition, the same template view also opens from a link in the Payer changes this week, Payer scorecard and Denials by category widgets on Home, where your edition offers that template; Use template there makes the same copy. The Start a task widget on Home opens its templates in the agent builder. See Home.

Give the agent its instructions, knowledge and tools on one form.

  1. Name and describe it

    In the Agent builder form, enter a Name and a Description; both are required.

    The Agent builder form with Name, Description, Instructions, Starter prompts, Input placeholder and EffortOpen full size
    Shown in the enterprise edition.
  2. Write its instructions

    Under Instructions, say in plain English what the agent should do and how, then add Starter prompts, an Input placeholder and the Effort.

  3. Give it knowledge and tools

    Add Knowledge, Connectors and Skills, and turn on Web search, Live Browser or API Access as it needs. The agent form fields table says what each one does.

  4. Select Create agent

    Or Update agent when you edit it later. Cancel asks before it discards unsaved changes. To turn a chat agent into a workflow, select Convert to workflow.

If automatic web search is on in your Settings, then Preferences, your own chats with the agent always search the web; the agent’s Web search setting applies to everyone else.

Ask the agent questions on its own page.

  1. Open the agent

    Open it from the Agents page. Its page shows its description, a message box with the agent’s skills and connectors, and three tabs: Your chats, Starter prompts and Your jobs.

    An agent’s page, with its message box, the skills and connectors it uses, and its tabsOpen full size
    Shown in the enterprise edition.
  2. Connect what it needs

    If the agent uses a connector you have not connected, the page says This agent needs one of your accounts and offers a button to connect it.

  3. Send your message

    Use Choose project in the message box to run the chat inside a project. Chats you have with the agent stay under Your chats.

    The effort control in the message box starts at the agent’s Effort, marked as the agent’s setting. Pick Low, Medium or High to change it for this chat; later messages in the chat keep your pick.

A job runs the agent for you at set times, with nobody at the screen.

  1. Select Schedule job

    On the agent’s page, open Your jobs and select Schedule job.

  2. Say what to do

    Enter a Name, an optional Description and, under What should the agent do?, the task.

  3. Set when it runs

    Choose One-time with a date and time, or Recurring with a Frequency, the Days, At hour and At minute, and a Timezone.

  4. Set advanced options

    Select Show advanced options for a Cron expression, Max runs, Max retries, Retry delay (s), an End date, and a Done when condition each run is checked against.

  5. Pick a project, memory and web search

    Optionally pick a Project for the runs, and set Remember from these runs and Use my memory in these runs under Memory, and Web search.

  6. Select Schedule job

    Before the first run, Generate may show Before it runs: questions the agent would otherwise guess at on every run. Answer them and select Save answers, or Not now.

Each job’s row shows when it runs next, its last run and its status. Its menu offers Edit, Pause, Resume, Trigger now and Delete. Select View run history to see every run, and View result to open the chat a run produced. A run waiting for an approval says so; open it to approve or reject.

A job pauses itself when it can no longer run as set up, and its row says why: an administrator paused it, you lost access to the agent, the agent was suspended, or its owner was deactivated. Fix the cause and select Resume. A completed job cannot be edited or triggered, and a one-time job cannot be triggered by hand.

Let another system send the agent a message over HTTPS.

  1. Turn on API Access

    In the agent form, turn on API Access. The section shows the agent’s Public URL (POST) and cURL examples: a JSON call, a call with files, a call inside a project and a follow-up in the same chat.

  2. Copy the token

    Generate creates an API key the first time. Copy the token while it is shown, because you will not see it again.

  3. Download the guide

    Select the download button under the examples to give the developer who calls the agent a Markdown guide.

Until the agent is saved, the examples use a placeholder ID. Manage keys later in Settings, then API Keys.

Act on an agent from its options menu.

  1. Open the agent’s options

    Select the three dots on its card. The agent options table says what each does.

    An agent card’s options menu with Edit, Add to project, Share, Make copy, Export and DeleteOpen full size
    Shown in the enterprise edition.
  2. Select Share

    Whose account each connector acts as shows, per connector, whether the agent uses its owner’s account or each person’s own (Personal connection).

    The Share dialog for an agent, with Whose account each connector acts as, the people picker and Copy linkOpen full size
    Shown in the enterprise edition.
  3. Pick people and a role

    A viewer can run the agent and see its setup; an editor can also change it and share it. See Sharing and access requests for roles and requests.

The Agent builder form has these fields, top to bottom:

Field What to enter
Name What the agent is called. Required.
Description What the agent does, in up to 1,000 characters. Required.
Instructions In plain English, what the agent should do and how. The more detail, the better it follows them.
Starter prompts Suggested first questions, shown when someone opens the agent. Select + to add another.
Input placeholder The hint shown in the agent’s message box, How can I help you today? unless you change it
Effort Low, Medium or High; higher thinks longer before answering
Knowledge Files and databases the agent searches. See Knowledge base and files.
Connectors The apps it may use. Select Manage connectors to add accounts. Only one account per connector can be selected.
Skills Reusable instructions it follows. See Skills. A skill someone shared with you cannot be added while the agent is shared.
Web search Allows the agent to search the web
Live Browser Allows the agent to drive a live web browser
API Access Allows other systems to call the agent over HTTPS
Option What it does
Edit Opens the agent to change its setup
Add to favorites Pins the agent to your favorites on the Home screen
Add to project Makes it available in a project; needs edit access to the agent
Share Gives people or teams Viewer or Editor access
Make copy Duplicates it as a new agent you own
Export Downloads its configuration as JSON for Import from JSON elsewhere. You choose which of your skills travel with it; a skill shared with you cannot be exported.
Delete Deletes an agent you own
Exit from agent Removes an agent someone shared with you
What you see What to do
Create agent stays greyed out Fill in Name and Description.
This agent needs one of your accounts Connect the connector it names; the agent runs on its owner’s connections and you have not connected that app.
A skill on the agent shows as switched off Its owner removed the access of the person who added it, or the skill was disabled or deleted. Hover over it for the reason, then remove it or ask for access.
Suspended by an administrator Nobody can chat with it, call it or run its jobs until an administrator lifts the suspension. You can still open and edit it.
Edit is not available for your user or team You have view access. Ask the owner for edit access.
Edition What changes
Enterprise, consumer, storage Everything on this page.
Healthcare The agent form can also attach healthcare datasets.
Airgapped No Web search, Live Browser or Connectors in the agent form.

Last updated on