Multi-tenant

To support multi-tenancy, we created one digital employee per each tenant and can customize the prompt configuration, tool configuration, and MCP configuration at creation or runtime from each tenant. This approach allows us to make our digital employee generic.

Prompt Configuration

Prompt configuration means we can configure the placeholders in the agent prompt (instruction), because sometimes we need to add placeholders to our prompt.

Here is an example of a prompt (instruction) with placeholders:

**A3.2.6 Find matched experience**
- Check if detected_sister_companies list is not empty.
- If there is at least one match in detected_sister_companies:
 - **A3.2.6.1** Send confirmation email (HTML) via MCP Gmail:
   - Use `google_mail_send_email` tool
   - To: candidate email; CC: {sister_company_email_cc}// Some code

{sister_company_email_cc} is the placeholder that needs to be replaced at runtime.

Tool Configuration

Tool configuration is the configuration for the tool that will be consumed by the agent. Agent tools need an input to run the tool. For example, the audio_transcription tool needs a Prosa API key. In this case, we can configure which API key we will use for a specific tenant.

MCP Configuration

MCP configuration is similar to tool configuration, but this works for MCP. For example, MCP Google Mail needs a BOSA API key to be able to send emails to specific recipients. We can configure that key for a specific tenant.

Last updated