Agents
An agent in Orion101 is a powerful program that combines AI capabilities, a set of instructions, and access to your services and data to perform tasks, answer questions, and interact with its environment. Administrators are responsible for creating and configuring agents that end-users can interact with. Below, we outline the key concepts and fields necessary for building an agent in Orion101.
Name and Description
These fields are used to help end-users identify and understand the purpose of your agents. Choosing a clear and descriptive name is essential for setting expectations and ensuring smooth interaction with the agent.
Instructions
Instructions are the foundation for guiding your agent’s behavior. They define the agent’s objectives, personality, and any specific knowledge or considerations it should have about its users or use cases. By providing well-thought-out instructions, you can ensure the agent performs as expected.
Example: For an HR Assistant designed to handle employee queries about policies and procedures, the instructions might look like this: "You are an HR assistant for Orion101. Employees of Orion101 will chat with you to get answers to HR-related questions. If an employee seems unsatisfied with your answers, politely guide them to email hr@orion101.com for further assistance."
Model
Orion101 allows you to specify the AI model each agent will use. If no model is selected, a system default will be applied. Selecting the appropriate model ensures the agent has the capabilities required for its intended tasks. For more details, refer to the documentation on Models.
Tools
Tools determine how agents interact with their environment and what actions they can perform. Orion101 provides a flexible set of tools that enhance agent capabilities. For example, tools might include:
Drafting emails
Sending messages to platforms like Slack
Retrieving the contents of web pages
Agents can be configured with two types of tools:
Agent Tools: These are always enabled and available for the agent to use at any time.
User Tools: These are optional and allow users to add or remove specific functionalities during their interactions with the agent.
This system ensures that agents remain adaptable while giving users control over their experience.
Knowledge
Knowledge allows you to provide agents with unique information relevant to their use case. Orion101 supports uploading files or integrating external data sources such as Notion, OneDrive, or websites. When equipped with knowledge, agents can query their databases to generate more accurate and contextually relevant responses.
Knowledge Description: A description helps the agent understand when to access its knowledge base. For example, an HR Assistant equipped with company policies might have this description: "Detailed documentation about the human resources policies and procedures for Orion101."
This enables the agent to determine when consulting its knowledge base is appropriate to fulfill user requests effectively.
Preview Chat and Threads
During the agent creation process, you can chat with the agent to test how it behaves based on your configuration. This feature allows you to iteratively refine its responses and evaluate its functionality. You can also review past chat threads to track the agent’s performance over time and compare behavior across different configurations.
Publishing
When an agent is ready for use, you can publish it to make it accessible to end-users. During publishing, you will specify an alias for the agent. This alias generates a unique URL where users can interact with the agent. Aliases must be alphanumeric and can include hyphens.
Example:
If the alias "hr-assistant" is selected, the agent will be accessible at:
https://orion101.acmecorp.com/hr-assistant.
The end-user chat interface is available at the root domain where Orion101 is running. For example, if the admin interface is accessed at https://orion101.acmecorp.com/admin
, the user-facing interface will be available at https://orion101.acmecorp.com/.
Alias Flexibility: It is possible to assign the same alias to multiple agents. This allows you to seamlessly switch agents without disrupting the user experience. For instance, if a current agent with the alias "hr-assistant" is in use, you can refine a new version of the agent under the same alias. Once the new agent is ready, unpublish the original one, and users will automatically be redirected to the new version without losing chat history.
Orion101’s agent system provides a flexible, powerful platform for creating AI solutions that adapt to a wide range of use cases, ensuring seamless user interaction and robust performance.
Last updated