Data security

What leaves your computer, and what doesn't.

Rgent needs some of your session to answer well. Here's exactly what it sends, where it goes and what we keep. The legal version is in our Privacy Policy.

When you send a message

Rgent sends one request to our server, which passes it to Anthropic's Claude API and streams the reply back. The request contains:

WhatDetails
Your messageWhat you typed, plus the last few messages of the chat so follow-ups make sense.
Your workspaceNames, types and sizes of objects. For data frames: column names and types, the first two rows of up to 40 columns, and a one-line summary of each of those columns (the range of numbers and dates, how many values are missing, and, for columns with at most twelve different values, those values and how often each appears).
The open fileThe code in the file you're editing: the whole file if it's short, or the part around your cursor plus an outline if it's long. Also any text you've selected.
Recent outputThe last output or error from code Rgent ran, so it can follow up or fix it.
PlotsOnly when you click Explain plot: the plot as an image, the code that made it and, for ggplot2, the values it draws.
LookupsWhen Claude needs to check something to answer, it can ask Rgent to look: run a short read-only R expression on your objects (for example, count a column's values), read lines of the open file, read a text file in your project folder, or open an R help page. Rgent runs these on your computer, refuses anything that could change or delete something, and sends only the result (at most a few thousand characters each, two rounds per question). The chat shows what was checked.

Rgent never uploads your data files or whole data sets. Apart from those summaries, values beyond the first two rows only leave your computer if they appear in output you've asked Rgent about or in the result of a lookup the chat shows.

What we keep

  • Your account: your access code, your Stripe customer ID, your plan and its status.
  • Usage counts: for each request, the time, the type, token counts, cost and whether it succeeded. These power your usage page and billing.
  • Not your conversations: we don't store your messages, code or Claude's replies after the reply is sent.
  • Not your email or card: Stripe holds your email and payment details. We look up your email only to send your access code.

Who else handles it

  • Anthropic generates replies. Under its commercial terms, it doesn't train models on API data. It may keep requests for a limited time for safety and abuse monitoring.
  • Stripe handles payments and your email address.
  • Render hosts our server and database in the United States.
  • Vercel hosts this website and counts page views without cookies.

On your computer

  • Saved chats are JSON files in your R user data folder (tools::R_user_dir("rstudioai", "data")). They never leave your computer.
  • Your access code is saved in your R config folder so Rgent can sign in by itself. /logout deletes it.
  • Code from replies runs in your own R session. Turn on Ask first to approve each run. Even with Auto-run on, Rgent asks before running a reply's code that installs or removes packages, deletes or moves files, clears your environment, runs shell commands or ends the session, and it never runs such code when it repairs your session by itself.

Please don't send

Health information covered by HIPAA (PHI), or data your organization or a data-use agreement doesn't allow you to share with a third-party AI service. We don't sign business associate agreements. When in doubt, work on a de-identified sample.

Security practices

  • All traffic to our server and this site is encrypted with HTTPS.
  • Access codes are checked on every request, with rate limits on account lookups.
  • Card numbers never touch our servers.
  • Found a vulnerability? Email security@rgentai.com. Please give us a chance to fix it before you disclose it.

Last updated November 7, 2026.