Skip to main content

AI Assistant

Linkiir AI is an assistant built into Linkiir Grid that helps engineers build, diagnose, and fix integrations. It reads real state — projects, workflows, node configuration, logs — through Linkiir's own APIs, acting as the signed-in user with exactly that user's permissions and project access. It cannot see a project you cannot see, and it cannot change anything you could not change yourself.

The assistant is optional, and off until it is deliberately switched on.

What can I actually ask it?

Start with the Prompt Library — working prompts for diagnosing a failing node, explaining a workflow, planning a change, and building an interface.

The feature

FeatureWhat it isWhere
AI LicenseThe ai feature flag on the Linkiir license. Without it, nothing AI appears anywhere in the productSettings → License
AI SettingsProviders and models, company policy, Skills, and usage reporting. Four sub-tabs: Setup, Policy, Skills, UsageSettings → AI
AI user rolesTwo permissions: Use AI to start runs, and AI settings to configure AI for the instanceSettings → Roles
AI Assistant chatThe assistant panel itself, opened from the workspace headerWorkspace header
Project AI KnowledgeReference documents and Skills that apply to one project onlyProject settings → AI Knowledge

Set it up

In this order:

  1. License and enable AI — confirm the license carries the AI feature, then turn AI on.
  2. Roles and permissions — grant Use AI to the people who need the assistant, and AI settings to administrators.
  3. Model providers — add at least one provider and enable a model. Until you do, the chat has nothing to run on.
  4. Organization Skills — optional. Written procedures the assistant follows across every project.
  5. Policy and limits — token budgets, retention, and what the assistant is allowed to do.

How it works, briefly

  • Linkiir AI runs as two processes: Grid, the backend and UI you sign in to, and a supervised local AI Service that listens on loopback only. Grid starts it, watches it, and restarts it if it stops.
  • The assistant acts as the signed-in user. Every read and every change goes back through Grid's own APIs.

Built for a regulated environment

A general-purpose AI coding assistant is usually pointed at a checkout on a developer's machine, and it inherits whatever that machine can reach (Cursor, GitHub Copilot and Claude Code are the familiar examples of the category). Linkiir AI is not built that way, because the systems it touches carry clinical data. It reaches Linkiir only through a fixed set of tools, it acts as the signed-in user, and it cannot change anything without an explicit approval from you.

ConcernA general-purpose AI coding assistantLinkiir AI
How it reaches your workTypically direct filesystem and shell access to a checkoutThrough a fixed Tool Gateway: a defined set of tools, each wrapping an existing Linkiir API. There is no filesystem access and no shell
What it may changeUsually anything in the working treeNothing at all in three of the four modes. In Build, only through a tool that exists for that purpose, and only after you approve it
Whose permissions it usesThe developer's machine accountThe signed-in Linkiir user's role and project collaboration, checked on every single call
CommittingOften can commitCannot. It can stage a change; the commit happens only when you approve the commit card. There is no commit tool
Clinical dataWhatever is on disk is readableMessage payloads and password fields are masked before the model sees them, and this cannot be switched off
Internet accessUsually reaches the internet freelyNone, unless an administrator turns web search on for a specific model
AuditVariesEvery attempted change is recorded with its outcome, and usage is reported per user

The guardrails

GuardrailWhat it means
Read-only by defaultThree of the four modes — Default, Diagnose and Plan — cannot change anything. Only Build can, and selecting Build is a request, not an entitlement
Every change stops for approvalIn Build the assistant pauses before each change and shows exactly what it is about to do. Rejecting it sends your feedback back and the work continues, revised. No setting turns approval off
A commit always asksAuto-approve can skip the per-change prompts for a conversation, but it never auto-approves a commit — and the assistant has no way to commit by itself
The Tool Gateway, not the filesystemThe assistant works through a defined set of tools, each wrapping an API Linkiir already exposes. In a read-only mode every one of those tools is a read, by construction. There is no arbitrary file write and no command execution
It acts as you, never as more than youA run borrows the signed-in user's authority through a short-lived token, and every call is authorized as that user. User A cannot obtain a capability their role does not hold, and cannot reach a project they are not a collaborator on — asking the assistant is not a way around either check
Conversations are private per userYour conversations, and the files you attach to them, are yours. Nobody else can list, read or search them, including an administrator
Documents are data, never instructionsContent the assistant reads — a vendor PDF, a log payload, a tool result — is treated as reference material. Text inside a document telling it to ignore its rules has no effect. Only a reviewed Skill may direct how it works
Generated code is validated before it runsLua the assistant writes is checked for syntax errors, banned constructs and raw file-access primitives, and every linkiir.* call is verified against Linkiir's Scripting API registry. A call to a function that does not exist is an error, so a hallucinated API call cannot be saved. The check runs server-side on the save path and again before execution, so the assistant cannot skip it
Bounded by policyPer-user token budgets, retention windows for conversations and audit records, and caps on documents, attachments and how much reference material one request may carry
Off unless switched onThe whole feature requires the AI license feature, an administrator enabling it, and the Use AI permission on a role. Without all three there is no assistant and nothing runs

What this gives you

  • You can let an engineer use the assistant on a live integration project without widening their access.
  • The blast radius of a wrong answer is a proposal you decline, not a changed file.
  • You can answer "what did the AI change, and who approved it".
  • Your existing roles and project collaboration still govern everything — there is no separate AI permission model to keep in step.
  • PHI handling does not depend on anyone remembering to switch on a setting.
Where the detail lives

Modes and Project Scope for what each mode may do, Approving Changes in Build Mode for the approval cards and Auto-approve, AI Roles and Permissions for who gets access, AI Policy and Limits for masking, budgets and retention, and Security for how Linkiir is secured overall.

Start here

If you want toRead
Turn the assistant on for the first timeLicense and enable AI
Give a team access to itRoles and permissions
Connect it to a modelModel providers
Know what to type into the chatPrompt Library
Learn the chat panel — modes, models, project scopeUsing the assistant
Let the assistant answer from your own specs and guidesProject documents
Cap spend and set retentionPolicy and limits
See who is using it and how muchPolicy and limits
Fix something that isn't workingTroubleshooting

Next