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:
| Where | How |
|---|---|
| Your own tools and platforms | The API, the kroos-internal MCP server for employees' AI tools, and plugins |
| Kroos chat | Under 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#
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).
| Field | Values |
|---|---|
visibility | public, internal, confidential, restricted |
department | Owning department |
min_level | Minimum seniority level to read it |
acl_groups | Groups that may read it (mirrors your identity provider) |
owner_email | The 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:
{
"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_levelis 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#
| Option | How |
|---|---|
| API | POST /api/tenant/employees with email, name, department, title, level, groups |
| SCIM 2.0 | Point 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)#
| Request | Purpose |
|---|---|
GET /scim/v2/Users?filter=userName eq "a@example.com" | Look up |
POST /scim/v2/Users | Create |
PUT /scim/v2/Users/:id | Update 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:
| Request | Purpose |
|---|---|
POST /internal/v1/ask | { "message": "...", "conversationId": "optional" } → answer with sources |
POST /internal/v1/ask/stream | Same, streamed |
GET /internal/v1/me | The signed-in employee |
GET /internal/v1/curriculum | A 30/60/90-day onboarding plan from documents they can access |
POST /internal/v1/feedback | turnId, signal, optional correction |
POST /internal/v1/voice/session | Voice 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.
{
"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.