Building an Agent
Learn the fundamentals of building Agents in Unify.
Agent configuration
Every Agent has three components:
- Record Type: Specify whether this agent will run on Company records or Person records.
- Questions: Define research questions for the agent to answer.
- (Optional) Guidance: Provide additional context or advice to the agent to improve the results.
Once you’ve configured your Agent, test it by running it on example Companies or People.
An empty Agent modal.
Record type
Agents can run on Companies or People. Data from Unify for the underlying records will be made available to the Agent as it performs research to answer your questions.
For example, an agent intended to perform account qualification will run on company records. On the other hand, an agent that researches individual people for lead qualification will run on person records.
Questions
Define a set of questions that the Agent will answer for you. Every question has an expected response type. The available response types are:
- True / False
- Number
- Select
View the response types documentation for more details and examples. Try to keep your questions straightforward and concise. Use a guidance prompt to guide define any special terms or concepts that the Agent should know.
Guidance prompt
Optionally, you may provide a prompt to help guide your Agent’s thought process. If there is any context the Agent needs to answer your question, this is the place to include it.
In most cases, providing guidance for the Agent is unnecessary. The Agent already knows that it will be answering questions about a company or person, so you do not need to include that information in the prompt.
Examples of things to include in a guidance prompt:
- What your company does
- Where to find specific information about the Person or Company to research
- Definitions for specialized terms and concepts
Unify provides deep customization of and visibility into Agents’ thought processes. You can take advantage of this to tweak questions or guidance and dial in the accuracy.
Testing your Agent
Unify gives you best-in-class visibility into an AI’s chain-of-thought. Leverage this to test your Agent, diagnose any issues, and iterate on your questions and guidance prompts.
Upon providing a valid Agent configuration, an extension will appear and prompt you to test your Agent. Use the search bar to find a specific Company or Person to test your Agent on, or use the shuffle button to randomly select a Company or Person. The Agent will run, explain its reasoning, and provide responses to your questions.
Generate multiple examples simultaneously to speed up your workflow. Navigate through these examples using the arrows at the top of the screen.
Run the Agent on multiple records concurrently and navigate using the arrows.