Kroos Developers
Kroos Developers › Internal assistant

Internal assistant

Run Kroos for your employees — documents, permissions, employees and SSO/SCIM, connectors, integration into your own tools, and where employees use it.

The internal assistant answers employees only from documents each person is allowed to see. It's configured in the console (or the API) and used in two places:

WhereHow
Your own tools and platformsThe API, the kroos-internal MCP server for employees' AI tools, and plugins
Kroos chatUnder Projects, when your policy allows access from Kroos chat

Kroos doesn't offer a separate employee website: integration and configuration happen through the API and console, and Kroos chat → Projects is the only Kroos-hosted place employees chat with it.

1. Add documents#

bash
curl -s -X POST https://kroos.ai/api/tenant/internal/docs -H "authorization: Bearer kroos_sk_..." -H "content-type: application/json" -d '{
  "title": "Travel policy",
  "body": "Economy for flights under 6 hours…",
  "visibility": "internal",
  "department": "Finance",
  "min_level": 0,
  "acl_groups": ["all-staff"],
  "owner_email": "finance-lead@example.com"
}'

Upload Word, Excel, PowerPoint or text PDFs as { "file": { "name": "...", "mime": "...", "base64": "..." } } instead of body. Scanned PDFs need OCR (available on Kroos's cloud).

FieldValues
visibilitypublic, internal, confidential, restricted
departmentOwning department
min_levelMinimum seniority level to read it
acl_groupsGroups that may read it (mirrors your identity provider)
owner_emailThe document's owner always has access and is named in answers

New documents from automated sources (connectors, the Explorer) start as pending_review; approve with POST /api/tenant/internal/docs/:id/trust ({"trust":"trusted"}).

2. Set the internal policy#

The internal section of your access policy:

json
{
  "internal": {
    "visibilityByRole": {
      "employee": ["public", "internal"],
      "manager": ["public", "internal", "confidential"],
      "executive": ["public", "internal", "confidential", "restricted"],
      "hr": ["public", "internal", "confidential"]
    },
    "vertical": { "enforceMinLevel": true, "managerLevel": 3 },
    "lateral": { "*": ["general", "company"] },
    "departmentLocked": ["restricted"],
    "onTheGo": false
  }
}
  • Vertical: min_level is enforced; managers (level ≥ managerLevel) see team-level documents of their department.
  • Lateral: which departments can read which other departments' documents.
  • Department-locked classes stay inside their department even with lateral sharing.
  • onTheGo: allow employees to use the assistant from Kroos chat → Projects. Off by default.
  • Confidential and restricted sources are re-checked against the current employee right before answering.

Test with POST /api/tenant/internal/simulate ("what can this person see?").

3. Add employees#

OptionHow
APIPOST /api/tenant/employees with email, name, department, title, level, groups
SCIM 2.0Point your identity provider at https://kroos.ai/scim/v2/Users with your secret key as the bearer token
SSO (OIDC/SAML)Connect in the console; until it's connected, use one-time links
One-time sign-in link (pilots)POST /api/tenant/employees/:id/login-link, valid 10 minutes

Roles come from groups and level. The sign-in link opens Kroos chat, where your organization appears under Projects.

Provisioning employees (SCIM)#

RequestPurpose
GET /scim/v2/Users?filter=userName eq "a@example.com"Look up
POST /scim/v2/UsersCreate
PUT /scim/v2/Users/:idUpdate or deactivate (active: false)

4. Connect document sources#

GET /api/tenant/internal/connectors lists Google Drive, SharePoint/OneDrive, Confluence, Notion, Jira and Zendesk with what each needs (read-only scopes; source permissions are mirrored as groups). Request one with POST /api/tenant/internal/connectors/:kind. Direct upload works today.

API#

Employee-facing endpoints on https://api.kroos.ai, called with the employee's session:

RequestPurpose
POST /internal/v1/ask{ "message": "...", "conversationId": "optional" } → answer with sources
POST /internal/v1/ask/streamSame, streamed
GET /internal/v1/meThe signed-in employee
GET /internal/v1/curriculumA 30/60/90-day onboarding plan from documents they can access
POST /internal/v1/feedbackturnId, signal, optional correction
POST /internal/v1/voice/sessionVoice for employees

Employees' own AI tools (MCP)#

tools/kroos-internal/mcp.mjs is a local MCP server for Claude, Cursor, VS Code and other MCP clients. It forwards questions with the employee's own session, so answers are permission-trimmed exactly like everywhere else.

jsonMCP client config
{
  "mcpServers": {
    "kroos-internal": {
      "command": "node",
      "args": ["/path/to/tools/kroos-internal/mcp.mjs"],
      "env": { "KROOS_NODE_URL": "https://kroos-node.internal.example", "KROOS_EMPLOYEE_TOKEN": "<employee session>" }
    }
  }
}

Tools: ask_internal, my_onboarding_plan, whoami.

Running it inside your network#

For data that must never leave your network, run the internal assistant on Kroos Node. Learning your internal systems is covered in Read-only access.

Last updated 2026-12-03