Skip to main content

Copilot

Copilot is your built-in AI assistant inside the Executive Owner Panel. You can ask questions in plain English—just like chatting with an analyst—to review employee attendance, productivity scores, daily app and website activity, and security alerts without digging through multiple pages.

Copilot is strictly view-only: it looks up live answers from your organization's records and can never edit staff profiles, shifts, or settings. By connecting your own AI account (such as OpenAI, Anthropic, Google Gemini, OpenRouter, or xAI Grok), you stay in complete control of which AI service reviews your questions and usage.


1. Accessing Copilot (Ctrl + J Dock & /copilot Workspace)​

You can open Copilot anywhere in the Executive Owner Panel:

  • Keyboard Shortcut (Ctrl + J / ⌘ J): Opens or closes the docked right-hand Copilot panel on any Owner Panel page.
  • Header Toggle: Click Copilot (Ctrl J / ⌘ J) in the top-right header bar.
  • Sidebar Item (/copilot): Click Copilot in the navigation sidebar—or click Open the full workspace inside the dock—to enter the multi-pane workspace. Inside /copilot, click Minimize (or press Ctrl + J) to drop back to your previous page with your conversation intact. (Legacy /chat links redirect automatically to /copilot.)

Teamvista Owner Panel Copilot Onboarding View Figure: Navigating to Copilot in the Executive Owner Panel sidebar opens the multi-pane workspace and prompts you to Add an API key on first setup.

Responsive Layout & Automatic Page Context
  • Adaptive Surface: On large desktops (>= 1280px), Copilot docks side-by-side next to page content; on smaller desktops/tablets (1024px–1279px), it opens as a right-edge overlay (Esc closes); on phones, it presents as a bottom sheet above navigation.
  • Page Context Chip (Looking at): When you inspect an employee or alerts feed and open the dock, Copilot attaches a removable Looking at <Context> chip (or lets you click Use this page as context) so you do not need to re-type employee IDs or names.

2. Full Workspace Capabilities (/copilot)​

The dedicated /copilot screen is organized into three panes:

Teamvista Copilot Full Chat Workspace Figure: Active Copilot workspace showing starter suggestions, model selector, Incognito toggle, left Chats rail, and right-hand Details rail.

  • Left — Chats Rail:
    • Click new chat or search existing threads.
    • Conversations group automatically into Pinned, Today, Last 7 days, and Earlier.
    • Pin/Unpin key threads, inline-rename conversation titles, or permanently delete old chats.
  • Center — Conversation & Composer:
    • Real-time streaming responses alongside an inline tool execution trace showing which read-only data queries Copilot ran.
    • Incognito Mode: Toggle Incognito to start a clean thread that is not saved and neither reads from nor writes to memory.
    • Model Picker: Switch between any connected AI provider and live-fetched model directly above/beside the send button, or stop generation mid-stream.
    • Message Actions: Copy answers, click Ask again to regenerate the last response, use Remember this to save a specific fact or workflow preference (Preference, Fact, or How I work), or approve/dismiss Remember this? suggestions (Save / No).
  • Right — Collapsible Details Rail (xl desktop screens):
    • Memory used in this answer: Shows each recalled memory chip (Preference, Fact, How I work) used for the latest reply.
    • Sources read: Lists the exact read-only MCP tool calls and execution durations (Xs / ok / failed).
    • Usage on your key: Displays current-chat Provider, Input tokens, cached input tokens (when returned by the provider), and Output tokens, plus a shortcut link to Provider keys and memory (/settings/copilot).

3. Read-Only Telemetry Scope​

Copilot connects strictly through read-only MCP telemetry interfaces scoped to your organization_id. It cannot modify employees, edit shifts, resolve alerts, delete screenshots, or read cross-tenant data:

  • Employees & 7-Day Scores: Roster details and trailing 7-day stored productivity scores (unscored days remain unmeasured).
  • Daily Productivity Breakdowns: Scored workdays (<= 90 days) with late clock-in, break, idle time, and policy alert point deductions.
  • Clocked-In Attendance & Sessions: Verified clocked-in attendance intervals (attendance_intervals) alongside work session timelines.
  • Application & Website Usage: Aggregated foreground application usage, domains, and URLs across custom date windows.
  • Security Alerts & Screenshot Metadata: Policy violation events, severity tiers, and structured capture timestamps/metadata (never raw screenshot image URLs).

4. Provider Keys, Memory & Usage (/settings/copilot)​

Reach Copilot settings (/settings/copilot) from the gear button in /copilot, the Provider keys and memory link inside the Details rail, or the Add key link when no provider is configured yet.

Teamvista Copilot Settings Page Figure: Copilot Settings console displaying Model provider connections alongside Memory behaviour, What Copilot remembers, and Usage this month.

Model Provider (BYOK)​

Every owner brings their own API key. Keys are verified live against the provider before storage, encrypted at rest on the server (AES-256-GCM), and never returned to the browser after saving (only the key label and masked hint ••••1234 remain visible):

  • Anthropic (Claude models)
  • OpenAI (GPT models + memory embeddings)
  • Google Gemini (Gemini models + memory embeddings)
  • OpenRouter (multi-model gateway + memory embeddings)
  • xAI Grok (Grok models)
  • OpenAI-compatible endpoint (custom HTTPS URL + API key for Groq, Mistral, DeepSeek, Together, Azure, etc.; private and local network URLs are blocked for security)

Add Provider API Key Modal Figure: Adding an encrypted provider API key with an optional personal label before saving.

Per saved key you can set a Default model, Make default, Replace, or remove the key. Note that providers without a pre-assigned default (such as Google Gemini) prompt you to select a Default model (Choose a model…) before Copilot can answer.

Data Transmission Notice

When you ask a question, Copilot sends your prompt along with the relevant organization telemetry returned by its read-only tools (employee names, attendance, activity, application names, window titles, and URLs) directly to the AI provider you selected.

Memory Search & Memory Behaviour​

  • Embeddings Requirement: Semantic memory search requires an embeddings-capable key (OpenAI, Google Gemini, or OpenRouter). Anthropic and xAI Grok do not offer embeddings—chat works normally with those providers, but memory saving and recall stay paused until one of the three embeddings providers is added. Switching your Embeddings provider later makes memories indexed under the previous provider unsearchable until re-saved.
  • Behaviour Toggles: Independently enable or disable Use saved memories, Learn from past chats, and Ask before saving.
  • What Copilot Remembers: Private to you (invisible to other admins). Add memories manually (Add memory, max 500 characters, tagged Preference, Fact, or How I work), confirm or dismiss Waiting for your OK suggestions, Pin critical context so it stays loaded on every prompt, edit, delete, or Clear all memory.

Usage This Month​

Displays a read-only UTC calendar-month summary table of Input and Output tokens consumed per Provider · model on your keys (noting that your provider's billing statement remains the final source of truth).