An Agent is a specialized virtual assistant that you can interact with directly within le Chat or programmatically via APIs.
Agents are designed to help you with a variety of tasks, such as answering questions in a specific style or tone, working with documents and integrated knowledge sources, or generating code.
How to create an Agent in le Chat
You can build and customize Agents directly within the le Chat interface.
1. Access the Agents page
Navigate to the main Agents page in le Chat by clicking Agents
in the left-hand menu.
Click on Agents
on the left-hand menu
2. Create a new Agent
On the Agents page:
Click the
Create Agent
button to start building a new Agent from scratch (1).Alternatively, select one of the pre-created Agent templates as a starting point for customization (2).
Options to (1) Create Agent
or (2) use a pre-created template
3. Configure your Agent
You will be taken to the Agent configuration screen.
Provide the core details for your Agent as follows:
Name (Required): Give your Agent a unique and descriptive name.
Description (Optional): Add a brief description of what your Agent does or its intended purpose.
Avatar (Optional): Choose an avatar for your Agent. You can select from pre-created options or generate a custom one.
Instructions (Required): Provide clear and detailed instructions for the model (we advise you to consult our dedicated guide for more info: How to write good instructions for my Agent?).
Configuring Agent: (1) Name, (2) Description, (3) Avatar, (4) Instructions
4. Advanced settings (Optional)
Besides the strictly required parameters for your Agent, you can refine its behavior further by providing additional settings.
Guardrails and Tone/Personality
Add guardrails: Define specific limitations and/or safety protocols for your Agent's responses.
Adjust tone and personality: Provide additional prompts to fine-tune the Agent's conversational style, tone, and personality traits.
Setting (1) Guardrails and (2) Tone/Personality for the Agent.
Knowledge and Tools
Grant access to Knowledge and Tools: Enable specific tools for your Agent to use, such as
Web search
,Code Interpreter
,Image Generation
, orCanvas
(check this article for more info about le Chat capabilities).Connect it to your external data sources by selecting active
Connections
(like Google Drive, Gmail, etc.)Connect it to one of your
Libraries
.
Enabling Tools (1), Connections (2), and Libraries (3) for the Agent
π Consult these dedicated articles to learn more about Connections and Libraries ‡οΈ
π Consult these dedicated articles to learn more about Connections and Libraries ‡οΈ
5. Preview and iterate
As you configure your Agent, you can use the preview panel to test its responses and behavior in real-time.
Adjust its settings accordingly until you are satisfied with its performance.
Testing and previewing the Agent's responses during configuration
π You may have noticed that there's no explicit save button. Your Agent is created on the fly and its settings saved automatically as you configure it.
Once configured, you can start interacting with your newly created Agent.
π For more details, see the article: How do I chat with an Agent in le Chat?
How to Create an Agent via La Plateforme for API Use
While you cannot directly create an Agent solely via an API call at this moment, you can use the Agent Builder on la Plateforme to create Agents intended for API deployment.
π For detailed information on creating Agents for API use and interacting with them programmatically, please refer to the official API documentation.
π You can also deploy an Agent created within La Plateforme to le Chat. It will appear in a dedicated section of your Agents list in le Chat. However, for the most integrated and seamless experience when building Agents primarily for use within le Chat, we advise using the new Agent Builder directly withiin le Chat as described above.