What are agents?

Agents are AI team members that can work alone, or as part of a team of other agents and real people. Agents have clearly defined roles and responsibilities, and they can choose how best to get their work done using the domain-specific knowledge you teach them, and the tools you equip them with.

Create a new agent

You can use one of our existing agent templates, or create an agent from scratch.

  1. Login to your Relevance AI account (app.relevanceai.com).
  2. Go to the Agents page (in the sidebar).
  3. Click ”+ New” in the top right-hand corner of the page.
  4. Click ”+ Create Agent” under “Blank agent” to create a new agent from scratch.
  5. Give your agent a name, description and optional profile image.

Configure your agent

You can customise every part of your agent, from giving it unique roles and responsibilities, tools, abilities, knowledge, large-language models and much more. In this guide, we’ll walk you through the different options available to you.

Agent profile settings

In the agent profile page, you can give your agent a name, profile image, description and set up custom triggers which let the agent know when to start working.

The name and description are especially important when it comes to building multi-agent teams, because your other agents will read these to decide which agent is the right one for delegating specific tasks to.

In the above example, we have cretaed an agent called “Email Follow-Up FAQ Agent”, whose responsible for handling customer queries over email, and escalating to Slack (a person) when it doesn’t know the answer to a question.

For our more complex agents, we personify them with a name because they complete their work as well as a human can. Our flagship agent BDR Bosh is a good example of this.

We have also connect our agent to Outlook, via the Outlook integration trigger, which means it will receive all incoming emails that are sent to that specific Outlook account. You can learn how to do this too in our Outlook integration guide.

Agent Tools

You can equip your agents with tools, which allows them to interact with external systems, like sending messages over LinkedIn, Web Scraping, Querying a Database, Extracting data from a PDF and so much more.

You can see all of the tools that are publicly available on this page, but there are also some extra capabilities inside tool-steps, which you can access when you create a new tool from scratch.

If you are technical, you can use the JavaScript, Python, or API Block steps to interact with any software you can write code to interact with.

In this case, we have given our agent access to three custom tools we built, leveraging some in-built tool steps like sending an email via outlook, or inserting data to knowledge. We have interactive demos for building this entire agent end-to-end on our FAQ email follow up agent template page.

Once you have equipped your agent with tools, it can decide which one is most appropriate for helping it reach the goals and objectives you provide via “Core instructions” (after sub-agent section). You can help it choose more effectively by making sure that tool names, descriptions, and internal tool knowledge and inputs have descriptive names and descriptions.

Sub-agents

Much like you can equip agents with tools, you can also equip them with subagent team members. You can do this in the “Subagents” section in your agent settings:

Just like you can write core instructions for how you’d like your agents to use tools, you can also instruct your agent on how to work with it’s connected team members.

Instruct your agent

There are two main ways you can guide your agent in completing it’s work: Core instructions, the Flow builder (or both).

Core Instructions & Flow Builder

Core instructions allow you to guide your agent and provide instructions for how you want it to work. You can be very specific and reference the exact tools you want it to use and when, or you can describe the workflow at a higher level and let the agent use it’s own reasoning to decide what tools/agents to use and when.

The flow builder allows you to construct prompt workflows that look more like a flow-diagram. This is helpful especially for workflows that can branch off depending on a specific scenario (more on this coming soon).

Markdown support

We offer markdown support for any area that accepts LLM prompts, like the core instructions, the flow builder and the LLM tool steps.

LLMs are well-trained on markdown and can draw meaning from your headings and bullet points to improve how they interpret your prompt. Using Markdown to create your prompts allows you to create a prompt that is easier for humans to read, and also easier for an LLM to understand.

Here is a table of markdown formatting options you can use when writing your prompts. If you’re using windows, replace Cmd with Ctrl and Opt with Alt.

ElementShortcutMarkdown Syntax
BoldCmd+B**bold text**
ItalicsCmd+I*italicized text*
Heading 1-6Cmd+1, … Cmd+6# Large heading, ###### Small heaidng
Bullet ListsCmd+Shift+8- List items start with a dash, or a * or +. Nest sub-items with 2 spaces or tabs.
Numbered ListsCmd+Shift+71. List items start with a number
Horizontal RuleCmd+Shift+----
CodeCmd+E`code`
Code BlockCmd+Shift+E``` code block ```

You can also select variables and reference tools and sub agents:

  • Select a variable: Type in {{ to bring up the variable picker name. Variables appear in your document surrounded in curly braces, like this: {{selected_variable}}.
  • Reference a tool: Type in / to bring up the reference picker. Here you will be able to select tools or agents etc that you want to reference in your prompt.