Use case / Internal copilots

Know what your team's assistant touched.

Internal assistants reach into documents, tickets and databases. Trace which tool each request used and what access it had, so a problem is a step you can read.

Tools
Per request
Access
Checked
Teams
Compared

Instrument it

Record what the assistant reached for.

Wrap the tool choice and each access check, and a refused read is a step with a reason.

$ npm install tracify-sdk

import { span, traceAgent } from "tracify-sdk";

export const assist = traceAgent(async (userId: string, question: string) => {
  const tools = await span("choose-tools", () => pickTools(question), { type: "llm", input: question });
  const docs = await span("read-docs", () => readAllowed(userId, tools), { type: "tool" });
  return span("answer", () => callModel(question, docs), { type: "llm" });
}, { environment: "production" });

What Tracify watches.

01

Tools used

Recorded on every run, so it can be searched, compared and alerted on.

02

Access checks

Recorded on every run, so it can be searched, compared and alerted on.

03

Arguments

Recorded on every run, so it can be searched, compared and alerted on.

04

Requests per team

Recorded on every run, so it can be searched, compared and alerted on.

Access record

What the assistant touched.

  1. Each request is a trace, linked to the team that made it.

  2. Tool choices are visible before any call happens.

  3. Access checks are recorded with their result.

  4. A refused read is flagged, with the reason.

  5. The reply shows what the assistant could and could not use.

Internal copilots1 / 5 steps
  1. 01

    Question asked

    “Summarise the Q3 hiring plan.”

    ok
  2. 02

    Tools chosen

    Search documents, read page.

    ok
  3. 03

    Access checked

    The user is not in the people team.

    ok
  4. 04

    Document blocked

    Read refused, reason recorded.

    blocked
  5. 05

    Answer sent

    The reply says what it could not read.

    ok

The failure to catch

An assistant that read a document the employee should never have seen.

Trace which company tools an internal assistant used for each request, with the arguments and the result, so access problems are easy to spot.