Osy#betaRun it on Osyrin: osyrin.com

Reference / Agent

Osysharp.Privacy.Llm — the model calls made for a person, under that person's request

`Osysharp.Privacy.Llm` makes the model meter part of a person's privacy request. The meter keeps no text, so what is personal is small: that a person used an AI feature, when, and at what cost.

previewagentsguidekit

Source on GitHub: Osysharp.Privacy.Llm — github.com/osysharp/privacy/llm ↗

You are here: Building with agents › The kits › Privacy.Llm

Summary#

Osysharp.Privacy.Llm makes the model meter part of a person's privacy request. The meter keeps no text, so what is personal is small: that a person used an AI feature, when, and at what cost.

An erasure takes the person's name off the rows and leaves the cost counted, charged to the same app and model.

PackageOsysharp.Privacy.Llm, version 1.1.0
You add it withNothing. It arrives by itself in an app that uses [[agent-kit-privacy|Privacy]] and [[agent-kit-llm|Llm]]; osy lock says so. without Osysharp.Privacy.Llm; in the manifest keeps it out.
It sits on[[agent-kit-llm|Llm]], [[agent-kit-privacy|Privacy]]
It also usesIdentity — parts of the platform's own library
Its own test appA phrasebook: travellers with an account ask for a phrase in another language, and a model writes it — kits/privacy-llm/tests

Description#

What do you get without writing anything?#

  • The person's rows in their copy of their data.
  • Thirteen months on their name by default, then nobody's.

When do you need it?#

Privacy and Llm together. It arrives by itself; you write nothing.

What does it expose?#

The tables below are generated from the kit itself, not written by hand: osy kits Osysharp.Privacy.Llm --surface lists each of them with the code of the kit's own test app that uses it, and the tests that show it working.

Settings — one line in the app, each field with a default.

You writeIt says
app.ModelCallsPrivacy = new ModelCallsPrivacySetup { KeepMonths }How long this app keeps who a model call was made for.

Go deeper#

  • [[agent-privacy#categories]] — what is held, and for how long
  • [[agent-llm-spend#forget-a-person]] — taking a person off the meter

Related

The map of the kits — which sits on which, and what each one is for

The agents family is 29 kits. Two are under everything: `Osysharp.Llm` for every model call and `Osysharp.Agents` for…

Privacy for the agent family — agents, the model meter, assignments and work repositories under a person's request

An app that uses `Osysharp.Privacy` beside the agent kits gets a holder for each without writing one:…

Model spend — budgets, the meter and the price book (Llm kit)

The Llm kit keeps three things about what model calls cost. The METER: one `ModelCall` row for every attempt, with the…