# Limitr Analyst, the agent in Limitr Cloud

> What Limitr Analyst, the agent in Limitr Cloud, can do: write and simulate your policy, read your customers and usage and the files you attach, put a customer's contract in place, show views and build dashboards, propose changes to customers, segments, notifications, and what's published for you to apply, find its way around the app, and send a note to the Limitr team.

# Limitr Analyst

Limitr Analyst is the agent in Limitr Cloud. It works with you inside the app. Ask it in plain words: "add a 14-day trial to
Pro", "which customers are over their limit this month", "show me margin by model for the last two weeks". It reads
what's on your screen (the page, the workspace, test or live, and the segment filter), so you rarely have to explain
where you are.

Open it from the panel on the right of any page, or from anywhere with **Ctrl K** (**Cmd K** on a Mac). **Analyst** in
the left rail is the full-width version, with your past conversations. Conversations are yours: they're private to
you and kept per workspace, unless you share one (below).

## What it can do

- **Write your policy.** The Analyst changes the workspace's draft, the same draft you and your teammates edit, and says what
  it changed. Review it on the Policy page (the **Changes** tab shows exactly what moved).
- **Check its work.** Before it tells you a policy does something, it runs made-up customers through it with
  simulate and tells you what it checked. Nothing touches your real customers.
- **Read your data.** Customers, usage, events, and segments, to answer questions about them. It filters by the
  segment you have selected unless you ask about everyone.
- **Show you.** When a picture answers better, it shows a view in the conversation (usage over time, cost by model,
  margin per task). Open it full size, or save it as a dashboard (Scale and Enterprise). See [Dashboards](./dashboards).
- **Look ahead** (Scale and Enterprise). Forecast usage and margin, show who will hit a limit this period, and
  price your customers' real bills under a draft before you publish it. See
  [Forecasts and what-ifs](./dashboards#forecasts-and-what-ifs).
- **Propose changes for you to apply** (below): to customers, segments, notifications, and what's published.
- **Read your files.** Attach a PDF, Word document, spreadsheet, CSV, or text file to a message (below).
- **Put a contract in place** (Scale and Enterprise): attach a customer's contract, and it writes the terms
  into rules in your policy and proposes the contract that gives them to the customer (below).
- **Take you there.** Ask to go somewhere ("open Acme", "show me my billing") and the app takes you there, with the
  conversation still open beside the page. Otherwise it offers a button.
- **Answer how-to questions** from these docs, with a link to the page.
- **Look things up on the web**, like a competitor's pricing page or a provider's token prices, and say where the
  answer came from.

## Changes you apply

Apart from your draft, the Analyst never changes anything itself. When you ask for a change ("move Acme to Enterprise and
give them 500,000 chat tokens until December"), it proposes it on a card in the conversation, with each change's
before and after. **Nothing changes until you press Apply.** Choose **Discard** to drop it.

The Analyst can propose:

- **Customers:** adding one; their label, type, metadata, and refs; their plan; giving, taking, or restoring an
  entitlement; a limit of their own; caps; a topup, free of charge; and their own prices (Scale and Enterprise).
- **Segments and notifications:** making, changing, and deleting them.
- **Publishing:** publishing the draft in the mode you're in, with what changes from the live version, or copying
  test mode's policy into the live draft, or live's into the test draft to try a change first. Publishing is always a
  card of its own.

When you apply a card:

- **It applies as you**, with your permissions, checked again when you press Apply. A card in live mode says so, and
  its button reads **Apply to live**.
- **It applies only what it showed.** If something a change depends on moved since the Analyst proposed it (a teammate
  changed the customer's plan, or saved the draft), nothing on the card is applied, and the card shows which change
  is out of date. Ask the Analyst to look again.
- **It's recorded:** history and the event log show "Analyst for" your name.
- A card can be applied for a day, and the Analyst hears whether you applied or discarded it.

The Analyst can't delete customers, charge anyone, change how a customer is billed, or touch API keys, the team, Stripe, or
integrations, and it never sees secrets. When you ask for one of those, it tells you where in the app to do it.

## Attaching files

Choose the **paperclip** in the message box, or drop files on it: PDF, Word (.docx), Excel (.xlsx), CSV, Markdown, or
text, up to 10MB and 100 pages each, and five with one message. The Analyst reads them in full with that message (a
PDF as it is, tables and scans included; Word and Excel as text). In later messages it reads a file again when it
needs to.

A file is kept with the conversation it was sent in and deleted with it, unless a contract keeps it (below). Only you
can read the files you attach, until a contract keeps one. Attaching files is on the paid plans.

## Contracts

On Scale and Enterprise, the Analyst puts a customer's contract in place. Attach the contract and say who it's
with ("put Acme's 2027 order form in place", "the same terms for Acme's users"). It:

1. **Reads it** and tells you what it says: the term, the value, and each commercial term (included usage, rates and
   discounts, caps, features, ramps, billing). It asks about anything unclear before going on.
2. **Writes the rules** into your draft: a limit for included usage, a price for a negotiated rate, a cap for a
   not-to-exceed amount, a give for a feature, a phase for each step of a ramp. It says which terms Limitr doesn't
   enforce yet (minimum commitments, true-ups, payment terms).
3. **Checks them:** the draft is simulated, and on Scale and Enterprise it prices the customer's real bills under it, so you
   see what the contract does to their bill and to your margin.
4. **Proposes one card:** publishing the draft, then the contract (who it's with, its phases and end, the terms as
   agreed, how each maps onto Limitr, and the file). Nothing changes until you apply it.

Once applied, the contract is on the [Contracts](./contracts) page and on its customers' pages. Saving a contract
needs the **Change customers** permission, and publishing the rules needs the publish permission for that mode.

## Sharing a conversation

To show a teammate what the Analyst found or proposed, open the conversation and choose the **people** icon at the top
(**Share with your team**). Everyone in the workspace then finds it in the conversation menu under **Shared with the
team**, with your name. They can read all of it; they can't send messages to it, and only you can apply the changes it
proposed (their cards say so). To ask the Analyst more, they choose **Continue in my own conversation**: that starts a
copy of their own from where yours is, and yours stays as it was. Choose the icon again to stop sharing; copies already
made stay with their owners.

For what should carry over between conversations for everyone (goals, decisions, how you price), use the policy's
[notes](./policies): the Analyst reads them at the start of every conversation.

## By plan

| | Free | Pay as you go | Scale | Enterprise |
|---|---|---|---|---|
| Writes and simulates the draft, answers questions, navigates | Yes | Yes | Yes | Yes |
| Reads customers, usage, and events; proposes changes | | Yes | Yes | Yes |
| Reads attached files | | Yes | Yes | Yes |
| Puts contracts in place | | | Yes | Yes |
| Web search | | Yes | Yes | Yes |
| Views in the conversation | | Yes | Yes | Yes |
| Saves dashboards | | | Yes | Yes |
| Forecasts and what-ifs | | | Yes, 90 days of history | Enhanced: the largest model, a year of history |
| Notes to the Limitr team | | Yes | Yes | Yes |
| Model | The standard model | The standard model | The largest model for deep work, for an amount each month, then the standard model | The largest model for deep work (policy design, analysis, forecasts), the standard model for the rest |

## Usage

The Analyst's usage is what its models cost. The line under the composer shows where you are:

- **Free:** a small amount to try it, once ("$0.62 left to try the Analyst"). When it's used up, the Analyst shows the plans;
  everything you made stays.
- **Pay as you go:** an amount included each month ("$3.42 of $5 included this month"), then usage is billed at
  cost plus a small markup. See [Plans and billing](./plans-and-billing).
- **Scale:** more included each month, the same way, plus an amount of the largest model for deep work; past that,
  deep work runs on the standard model until the 1st.
- **Enterprise:** usage is included in your contract (Settings > Plan shows it), up to a monthly most for the workspace
  and for each person that your contract sets. Past it, the Analyst pauses until the next month; ask us to raise it.

When a conversation gets very long, the Analyst summarizes the older part and keeps going (the turn shows "Summarizing the
earlier conversation"). You still see every message. For a new topic, a new conversation is quicker and costs less:
The Analyst can read your policy and data again in a moment.

## Notes to the Limitr team

When you need something Limitr can't do yet, or something that should work doesn't, the Analyst offers (once) to tell us. If
you say yes, it writes a short note: what you wanted or what happened, what you tried, and anything that helps us
reproduce it. **Nothing is sent until you press Send to the Limitr team.** You can add a note of your own first, or
choose **Don't send**.

The note goes to support@limitr.dev with your name, your email (so we can reply to you directly), the workspace and
its plan, and a reference to the conversation. We read every one. You can send a few a day; for anything more, email
support@limitr.dev.
