AI Workspace feature

The AI Workspace for Natural-Language Business Management

Tell TenantSaaS what you need. AI Workspace turns plain-language instructions into supported actions across projects, tasks, HR, products, users, and workspace settings — always within your permissions and your current workspace.

Permission-aware actions
15 configurable AI providers
Real-time streamed replies
AI Workspace preview
TenantSaaS AI Workspace with reusable AI tools for business questions and content generation.

TenantSaaS AI Workspace

The implemented AI Workspace chat with provider selector, prompt input, suggested actions, and category tabs.

AI Workspace Overview

One AI Assistant for Your Whole Workspace

AI Workspace is a centralized, secure chat interface inside the TenantSaaS tenant panel. Instead of navigating module by module, teams describe supported tasks in natural language and let the assistant do the clicking.

Built for busy operators

Founders, managers, and team members who create the same kinds of records every day: projects, employees, products, users, and settings.

Connected to real modules

The assistant uses dedicated tools that write to the same workspace records your Project, HR, Product, and User modules manage.

Tenant-aware from the start

Conversations and actions are scoped to your active workspace, so the assistant always works with the right company data.

Permission-aware every step

Each action is validated against your roles and policies. The AI cannot do anything your account is not allowed to do.

What You Can Manage

Supported Workspace Actions, Straight from Chat

Every category below maps to real AI tools implemented in TenantSaaS. Use AI Workspace to perform supported actions across your TenantSaaS workspace — each connected module remains its own separate feature.

Projects

Spin up projects and keep delivery moving without opening a single form.

  • Create a project with priority, dates, and budget
  • Search existing projects for details
  • Get project analytics, counts, and trends

Tasks

Create, update, and review tasks across your workspace projects.

  • Create a task with assignee and due date
  • Update an existing task's status or priority
  • List and search task records

HR

Register the everyday HR records your people operations depend on.

  • Create employees, departments, and designations
  • Create leave types and leave requests
  • Mark employee attendance

Products

Add commerce records while you stay in the conversation.

  • Create product categories
  • Create products with SKU, price, and stock
  • Create simple orders

Users

Grow your team with permission-checked user management actions.

  • Create workspace users
  • Invite existing users with a workspace role
  • Create roles with confirmed permissions

System

Adjust tenant settings conversationally, with confirmation for sensitive keys.

  • Update branding, locale, and timezone
  • Change project and task defaults
  • Manage notification and storage settings

Profile

Keep your own account details current without leaving the chat.

  • Update your name, email, phone, or bio
  • Change your password with confirmation

Content & Media

Draft workspace content and request generated media from the same conversation.

  • Create blog posts
  • Generate images (saved under AI Generated Assets)
  • Convert text into audio

Generated images are stored by the separate AI Generated Assets feature and require its permission. Project Management, HR, Products, and User Management remain their own TenantSaaS modules — AI Workspace is a productivity layer on top of them.

Natural-Language Management

Say It Like You Would to a Colleague

These prompts reflect the tools and suggested actions implemented in AI Workspace. The assistant asks for anything required that you leave out.

Projects

“Create a project called Website Redesign with high priority, due at the end of next month.”

Tasks

“Create a task for the onboarding project and assign it to me with a due date this Friday.”

HR

“Create an employee profile for a new backend developer in the Engineering department.”

HR

“Create a leave request for an employee from Monday to Wednesday.”

Products

“Create a product with its SKU, price, and stock quantity.”

Users

“Invite an existing user to this workspace and assign the member role.”

System

“Update the workspace company name and primary color.”

Profile

“Update my profile name and phone number.”

General

“Generate an image for a product announcement banner.”

How It Works

From Instruction to Completed Action

This is the actual flow implemented in the AI Workspace chat, from provider selection to a streamed, stored result.

1

Pick your AI provider

The chat starts on your workspace default provider, and a header selector lets you switch to any provider your workspace has configured.

2

Describe the task in plain language

Type an instruction or start from a suggested prompt. You can attach files and press Enter to send.

3

The assistant picks the right tool

The AI agent matches your request to a supported workspace tool, such as creating a project, an employee, or a product.

4

Missing details are collected first

The assistant asks for required fields before calling any create or update tool, so records are complete.

5

Permissions and workspace context are validated

Every action checks your user permissions and the active workspace before touching data. Sensitive changes like roles, passwords, and payment keys are summarized for confirmation first.

6

The result streams into the conversation

Responses stream in real time, are stored in your conversation history, and confirm exactly what was created or updated.

Multi-Provider AI

Bring the AI Provider Your Business Prefers

Each workspace configures its own provider API keys, stored encrypted in tenant settings, and chooses a default provider. Users can switch among configured providers from the chat header.

Anthropic Azure OpenAI AWS Bedrock Cohere DeepSeek ElevenLabs Gemini Groq Jina Mistral Ollama OpenAI OpenRouter Voyage AI xAI

Workspace-level credentials

Administrators add provider API keys in tenant settings. Keys are encrypted at rest and never shared across workspaces.

Default with per-chat switching

Each workspace sets a default provider, and the chat header selector lets users switch providers for a conversation.

Honest error handling

When a provider is rate limited, out of credits, overloaded, or misconfigured, the assistant explains the exact issue and links administrators to the provider settings.

Providers become available once your workspace configures their API keys, and capabilities differ between providers — for example, audio-focused providers handle text-to-speech rather than chat.

Suggested Prompts

Smart Categories Make the Assistant Discoverable

The empty chat greets you with popular actions and category tabs — Popular, Projects, HR, Products, Users, System, Profile, and General — each carrying ready-to-send prompts for supported actions.

Popular actions up front

Create project, create employee, create product, and branding shortcuts sit one click from the input so new users start fast.

Prompts per business area

Each category tab lists the concrete actions its tools support, from marking attendance to changing localization settings.

Prompts that gather details

Every suggested prompt tells the assistant to ask you for the required fields, so a single click starts a guided record creation.

Permission-Aware AI

The Assistant Works Within Your Rules

AI Workspace does not bypass your access model. Permission validation runs on every tool call, so the AI can only do what the signed-in user is allowed to do.

Per-action permission checks

Every AI tool validates the authenticated user and the relevant permission or policy before performing an action. Denied requests return a clear explanation instead of a change.

Tenant boundaries

Actions and conversation history are scoped to the active workspace. The assistant works with your current tenant's records only.

Audited AI activity

Authorized and denied AI actions are recorded in the activity log with the acting user, workspace, and action, so administrators can review what the assistant did.

Confirmation for sensitive changes

For roles, permissions, password changes, payment keys, and security settings, the assistant summarizes the exact change and asks for confirmation before applying it.

Controlled access to the workspace

Access to AI Workspace itself is permission-controlled, and employee accounts require an explicit permission before they can open it.

Encrypted provider credentials

AI provider API keys are stored encrypted in tenant settings and configured per workspace by administrators.

Actual TenantSaaS dashboard
TenantSaaS role permissions screen showing controlled access for team members.

Tenant role permissions

The same workspace roles and permissions that govern module access also govern AI Workspace actions.

Tenant and Workspace Context

Always Acting in Your Current Workspace

AI Workspace runs inside the tenant panel, so the active workspace defines what the assistant sees and where its actions land.

Workspace-scoped actions

Tools create and update records for the active workspace only, and the assistant is instructed to keep every action inside it.

Workspace-scoped conversations

Chat history is stored per user within the current workspace, so switching companies switches context too.

Workspace-configured AI

The provider, its API key, and the default selection all come from the active workspace's own tenant settings.

Files and Attachments

Give the Assistant Something to Read

Attach documents or images to a message and the assistant passes them to your selected AI provider for analysis alongside your instruction.

Up to 5 files per message

Each attachment can be up to 10 MB. Attached images get compact previews right in the conversation.

Common business formats

JPG, JPEG, PNG, WebP, GIF, PDF, TXT, Markdown, CSV, JSON, DOC, and DOCX files are accepted.

Images and documents understood

Images are sent as visual input and documents as text sources, matching what your selected provider supports.

Kept with the conversation

Attachments are stored with your message history, so you can reopen and download them later.

Conversation Experience

A Chat Built for Getting Work Done

Everything below is implemented in the AI Workspace conversation view, so teams can keep working without hopping between screens.

Responses stream into the chat in real time as the provider generates them
Conversations are stored per user within the current workspace, and recent history loads when you return
Assistant replies render rich markdown with syntax-highlighted code blocks
Copy any message or response with one click
Reuse a previous prompt to send it again or edit it first
Attach up to five files to a message for the assistant to analyze
Clear error notifications explain provider issues such as rate limits or missing API keys

Real Workspace Examples

What a Working Session Looks Like

Each example follows the implemented flow: the prompt you send, what the assistant validates, and the action that results.

Project example

“Create a new website redesign project with high priority.”

What the AI checks
Confirms you can create projects in the active workspace and prevents duplicate project names.
The result
A project is created in your current workspace, with the assistant asking for any missing details such as dates or budget first.

HR example

“Create an employee profile for a new backend developer.”

What the AI checks
Verifies HR create permissions and asks for required fields like name, email, department, and designation.
The result
An employee record is added to your workspace HR module with the details you provide.

Product example

“Add a new subscription product with its pricing details.”

What the AI checks
Verifies commerce permissions and gathers the product name, category, SKU, price, and stock.
The result
A product record is created in your workspace product catalog.

User example

“Invite jane@yourcompany.com to this workspace as a member.”

What the AI checks
Verifies user-management permissions. Invitations go to existing user accounts; otherwise the assistant offers to create the user first.
The result
A workspace invitation is sent with the role you chose.

Branding example

“Update our workspace company name and primary color.”

What the AI checks
Verifies settings permissions. Sensitive settings such as payment keys or security flags are summarized and confirmed before changing.
The result
Tenant branding settings are updated for your workspace.

Product Preview

See AI Workspace in Its Element

The dark workspace aesthetic of the real interface: provider selection, a command-style prompt input, and suggested actions organized by business area.

AI Workspace product preview
TenantSaaS AI Workspace product preview showing the AI assistant managing projects, products, users, and tenant settings.

TenantSaaS AI Workspace preview

AI Workspace inside the tenant panel, alongside the separate Project, Product, User, and Settings modules it can act on.

Provider selector

Switch among your workspace's configured AI providers from the chat header.

Prompt input

A command-style input with attachments, Enter to send, and Shift+Enter for new lines.

Suggested actions

Popular one-click prompts such as create project, create employee, create product, and branding.

Category tabs

Projects, HR, Products, Users, System, Profile, and General prompt groups mirror the supported tools.

Benefits

Why Teams Reach for the AI Workspace First

Practical gains grounded in what the feature actually does — no inflated automation promises.

Less navigation, more action

Create records across projects, HR, products, and users from one conversation instead of opening each module and form.

Faster record creation

Describe the record once. The assistant collects required fields and performs the supported action for you.

Guided by suggested prompts

Category tabs and popular actions teach new team members what the assistant can do from day one.

Provider flexibility

Configure the AI provider that fits your workspace, switch per conversation, and keep API keys encrypted in tenant settings.

Permission-aware by design

The assistant works within your existing roles and policies, so AI convenience never becomes an access loophole.

A reviewable trail

Conversations are saved and AI actions are written to the activity log, keeping AI-driven changes accountable.

A Productivity Layer

AI Workspace vs Traditional Navigation

Module interfaces remain the home for detailed work. AI Workspace is the faster path for the repetitive create-and-update tasks in between.

Traditional workflow

  1. 1 Open the relevant module
  2. 2 Find the right resource or list
  3. 3 Open the create or edit form
  4. 4 Fill in each field manually
  5. 5 Save and verify the record
  6. 6 Repeat across other modules

AI Workspace workflow

  1. 1 Describe the supported task in plain language
  2. 2 The assistant picks the matching workspace tool
  3. 3 Your permissions and workspace context are validated
  4. 4 Missing fields are collected conversationally
  5. 5 The action completes and the result streams back

Both paths write to the same workspace records — pick whichever fits the moment.

Documentation

Public Documentation and Implementation References

No dedicated public AI Workspace documentation route exists yet, so this page links only to existing public developer and open-source pages.

FAQ

TenantSaaS AI Workspace FAQ

Answers are based on the AI Workspace implementation that exists in this codebase.

What is TenantSaaS AI Workspace?

AI Workspace is a chat-based assistant inside the TenantSaaS tenant panel. You describe a task in plain language, and the assistant performs supported actions across your workspace, such as creating projects, tasks, HR records, products, users, roles, and tenant settings.

Which business areas can AI Workspace manage?

The current implementation includes tools for projects, tasks, HR records (employees, departments, designations, leave types, leave requests, attendance), product categories, products, simple orders, workspace users, invitations, roles, tenant settings, your own profile, blog posts, image generation, and text-to-audio.

Which AI providers are supported?

The provider selector includes Anthropic, Azure OpenAI, AWS Bedrock, Cohere, DeepSeek, ElevenLabs, Gemini, Groq, Jina, Mistral, Ollama, OpenAI, OpenRouter, Voyage AI, and xAI. A provider becomes usable once your workspace configures its API key, and capabilities vary by provider.

Can each workspace configure its own AI provider?

Yes. Each workspace stores its own encrypted provider API keys and default provider in tenant settings, and users can switch among configured providers from the chat header.

Does AI Workspace respect user permissions?

Yes. Every tool checks the authenticated user's permissions or policies within the active workspace before acting. When a check fails, the assistant explains that permission is missing instead of making the change.

Are AI actions logged?

Yes. Authorized and denied AI actions are recorded in the activity log together with the acting user, workspace, and requested action.

Can users attach files to a message?

Yes. Each message supports up to five attachments of up to 10 MB each, covering common image and document formats such as JPG, PNG, WebP, GIF, PDF, TXT, Markdown, CSV, JSON, DOC, and DOCX. Attachments are passed to the selected AI provider for analysis.

Are conversations saved?

Yes. Messages are stored per user within the current workspace, and your recent conversation history is loaded when you return to AI Workspace.

Do responses stream in real time?

Yes. Assistant responses stream into the conversation as they are generated, with markdown formatting and syntax-highlighted code blocks.

What happens when a provider is unavailable or misconfigured?

The assistant shows a clear notification explaining the issue, such as rate limiting, insufficient credits, provider overload, or a missing API key, with a shortcut for administrators to review the provider configuration in tenant settings.

Does the assistant confirm sensitive changes before applying them?

Yes. For roles, permissions, password changes, payment keys, and security settings, the assistant summarizes the exact change and asks for confirmation before applying it.

Is AI Generated Assets part of AI Workspace?

No. AI Generated Assets is a separate TenantSaaS feature. AI Workspace can request image generation, and that capability is governed by the AI Generated Assets permission, but the asset library remains its own module.

Is AI Workspace available in light and dark mode?

Yes. AI Workspace follows the tenant panel theme and works in both light and dark mode.

How do users start using AI Workspace?

Create a TenantSaaS workspace, configure at least one AI provider API key in tenant settings, then open AI Workspace from the System navigation group and start with a suggested prompt or your own instruction.

Bring AI into Your Daily Workspace

Use your configured AI provider to work with supported TenantSaaS modules — projects, HR, products, users, and settings — from one centralized, permission-aware workspace.