Agents.md file stored in a designated folder. When a workspace is set, the agent reads the configuration file and includes it in the system prompt, and can generate a dynamic greeting message at the start of each session.
Overview
When you set aworkspace path on an Agent:
- Configuration Loading: The agent reads the
Agents.mdfile from the workspace folder and includes it in the system prompt - Session Greeting: You can call
execute_workspace_greeting()to generate a personalized greeting based on the configuration
Example
The AGENTS.md File
Create anAGENTS.md file in your workspace folder to define your agent’s behavior. We provide a ready-to-use template with memory management, safety rules, group chat guidelines, and more.
AGENTS.md Template
Get the full AGENTS.md template you can copy and customize for your workspace.
<AgentConfiguration> tags.
Integration with Interfaces
When using Upsonic interfaces (Telegram, Slack, WhatsApp), the workspace greeting is automatically called when a user resets their session with the/reset command. The greeting response is sent to the user, providing a fresh start with a personalized introduction.
