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.
| Package | Osysharp.Privacy.Llm, version 1.1.0 |
| You add it with | Nothing. 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 uses | Identity — parts of the platform's own library |
| Its own test app | A 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 write | It says |
|---|---|
app.ModelCallsPrivacy = new ModelCallsPrivacySetup { KeepMonths } | How long this app keeps who a model call was made for. |
What to read next#
- Osysharp.Privacy — what the app holds about a person, and what their request does to it — what the app holds about a person, and what their request does to it
- Osysharp.Llm — every call to a model: which one, what it may cost, what it did cost — every call to a model: which one, what it may cost, what it did cost
- The map of the kits — which sits on which, and what each one is for — the map of the kits — which sits on which, and what each one is 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