Overview
Agents are custom instructions for LLM prompts that enhance your chatbot’s capabilities, building on OpenAI’s latest SWARM framework. By using Agents, you can create adaptable and context-rich conversations within Default Agent (Formerly Auto-GPT) or Flow Builder. Each Agent allows you to set precise instructions that guide the LLM to ensure accurate and on-brand responses.
Setting Up Agents
Navigate to IntegrationsGo to Settings > Integrations > LLM and select the language model of your choice.
View and Manage AgentsHere, you’ll find a list of your existing Agents. You can add a new Agent or edit an existing one. Each Agent has a customizable Prompt field where you can input specific instructions that will guide the LLM’s behavior.
Define Custom InstructionsInside each Agent setup, you’ll find a text field for Prompt (custom instructions). Use this field to define the guidelines the LLM should follow for this specific Agent, allowing for a high degree of customization.
Unlimited User and Bot MessagesYou can set up a sequence of user and bot messages, ensuring these accompany every API call. This feature lets you create a structured context that the Agent uses consistently, ensuring accuracy and alignment with user interactions.
How to Use an Agent by Default & in the Flow Builder
- Default Agent (Formerly Auto-GPT): Activate an Agent directly within Default Agent (Formerly Auto-GPT), giving it the ability to dynamically respond and interact with the prompts you set.
- Flow builder Action Block: In Flow builder, add an Agent to any Action Block and customize its interaction based on the chosen LLM.
Agent Key Benefits
- Enhanced Contextual Accuracy: Agents maintain specific prompts and structured messages that streamline the accuracy of responses.
- Seamless Integration with Functions: Use Agents alongside Functions for a robust and interactive conversation experience.
- Flexibility Across LLMs: Customize your Agents with any LLM of choice to ensure they meet the demands of your application.
Bonus: AI Assistant vs. AI Agent
AI Assistant
An AI Assistant primarily answers questions and uses your uploaded files to provide information.
AI Agent
An AI Agent is action-oriented, executing specific tasks or workflows based on custom prompts and instructions, making it ideal for more targeted, goal-driven interactions.
