Help · Concept
How your tools are kept
When you connect a service, Provenance holds the service's sign-in and your assistants call the service through Provenance. This page says what Provenance stores, how, and where its control ends.
When to use it
Read this before you connect a service, to know what Provenance keeps and what it can turn off for you.
How it works
The sign-in
- The service gives Provenance an access token and usually a refresh token after you approve at the service. Provenance encrypts them (AES-256-GCM) with a key only the API holds, tied to that one connection, and opens them only to call the service.
- No assistant ever receives them. An assistant calls Provenance with its own connection to Provenance; Provenance calls the service.
- Access tokens are refreshed before they expire. If the service refuses a refresh, the connection shows Reconnect needed and nothing is sent until you reconnect.
- Disconnecting deletes the tokens and asks the service to cancel them where the service has a way to (Notion, Stripe, Linear, Slack and the sample service do; GitHub cancels every token of the app's grant).
- Provenance connects only to services in its catalog, at the addresses written in Provenance itself. It never connects to an address an assistant or a service supplies.
Each call
For every call Provenance keeps the time, the assistant and session, the service and tool, a short description of what it acted on, whether it was allowed, asked or refused and why, the service's status code and how long it took. Calls are written in batches, each batch with a hash of the previous one, so a changed entry shows when you check the timeline.
What the assistant sent and what the service answered are not kept, unless you turn on Keep details for 30 days for that service. Details are encrypted like the tokens and deleted 30 days after the call.
What Provenance checks before a call leaves
- The assistant is on and not paused, its session isn't stopped, and no takeover warning is open for it.
- You gave it this tool, for this session.
- Your rule for the tool, or its kind's default, allows it, or you approved this exact call, or one of your automatic approvals covers it.
Then the call goes to the service, and the service's answer comes back unchanged.
Where control ends
- Provenance controls calls that go through it. A password or key you gave an assistant directly stays outside Provenance.
- Provenance doesn't scan or rewrite what a service returns. An assistant can still be misled by what it reads; the rules and approvals decide what it can do next.
- Deleting your Provenance account disconnects every service and deletes every connection, rule, grant and timeline entry.