What is an Agent
You have to think of an agent just like an employee. Just like an employee, an agent has a name and a role, which is the job it will do for you. An agent is composed of three core components:
- Behavior: This is how the agent behaves. In technical terms, it is the system prompt of the agent. It provides guidance on how the agent should behave, the tone it should have, some context about the company, and potential guidelines on how it should react in certain situations.
- Knowledge: This is what the agent knows about. It is the context the agent will be aware of when answering questions or performing actions. An employee that knows everything about your company will not need explanations for certain concepts if it has them in its knowledge. Agents work the same way.
- Skills: This is what the agent can do. From looking into documents (Info skills), writing or analyzing specific things (GPT Task), to calling external apps (Plugins) to perform actions. Just like an employee, it is what makes the agent capable.
How to Build an Agent
The first step is to think of an agent just like an employee you just hired. Create a job description by considering the following:
- Job Title: What is the job title of this employee?
- Job Description: What is the job description?
- Organization: For which organization will they work ?
- Organization Details: What does your organization do?
Next, consider the knowledge the employee (agent) should have:
- Knowledge Areas: What should they be knowledgeable about?
- Proprietary Information: What specific proprietary information will they know?
Then, define the skills they need:
- Relevance: Does this skill make sense for that role? Would you see an employee with the same role holding this skill alongside the others?
- Skill Details: What is the skill about?
- Action Performance: How will the agent perform the action?
For example, if you want your employee to give you pictures, specify where it should find them and what it should do to get them. If you want your employee to write a report, specify what information it will need to write it and the expected structure of the report.
Start Building Your Agent