Back to BEagent
Contents

BEagent user guide

25-minute read

BEagent analyzes bioequivalence (BE) study data and helps you design a BE study. You choose a task and give it your files. BEagent runs the work with Claude, Anthropic’s AI model, and writes the reports.

1Before you begin

Anyone can watch the examples (see 2 Try an example). To run a task of your own, you need:

  • An email address or a Google account. Select Log in, then Continue with Google, or type your email, select Continue with email and enter the six-digit code BEagent emails you. The first time, this makes your account.
  • An Anthropic API key, which you make at platform.claude.com, unless the site offers free credit (see 9 Your key and files). In BEagent, select Menu (the three lines at the top right), then API key, paste the key and select Save. The dot beside API key in the menu turns green. Until then, on a site without free credit, a yellow note under the top bar reads You have not added an Anthropic API key yet, so BEagent cannot run tasks. Its last words, check out our examples, open the Examples page.
  • Design needs no file. Analyze needs a data file and an analysis setup, and the study’s conduct records if you have them (see 5 Prepare your files).

Menu also holds Examples, User guide, Tour, Feedback and, once you are logged in, Delete account; its first line, Signed in as …, then names your account. Feedback opens a box for anything you want to tell us, logged in or not. To close the menu, select an item or outside it, or press Esc.

Your first visit starts with a short intro in two scenes, before the front page. The first waits until you select With our BEagent, and the second until you select Continue. Esc ends the intro at any moment. Later visits skip the intro.

Every visit opens on the front page. To go on, select Enter BEagent, under Why BEagent, or press Esc. BEagent opens on Home, with Design chosen.

The address of a report that BEagent gives you in Claude Code skips the front page, the intro and the tour: BEagent opens with the report, and with Data open beside it. If you are not logged in, BEagent asks you to log in first.

On your first visit, a short tour follows the front page, of Data, Settings (the model and effort), API key, User guide, History and Examples. Select Next to go on; on the last card, Open examples or Done. Skip or Esc closes it at any card. To see the intro, the front page and the tour again, select Menu, then Tour.

2Try an example

Each example replays a real run that BEagent recorded before release.

2.1Watch a replay

  1. Select Menu (the three lines at the top right), then Examples. The Examples page lists every example, under Design and under Analyze.
  2. Select an example, such as 2x2 crossover, simulated data. The replay starts by itself.
  3. Use Pause, Play, the speed buttons and Skip to end to steer it, or drag the bar to move through the run.
  4. On the result card, select View report or Design summary to open the document.
  5. When the replay ends, select Next example, if there is one, to watch the next on the Examples page, All examples to choose another, or Play again.

The first example under Analyze, 2x2 crossover with a data review meeting, simulated data, has conduct records. BEagent reviews them before it reads any pharmacokinetic (PK) value and asks about the records its rule cannot settle (see 4.3 Answer the data review); the replay marks the recorded answers. The other three analysis examples have clean data.

2.2Choose a design in the design example

Design interview, highly variable drug (FDA and EMA) replays a design interview. Its answers follow an interview recorded on 3 October 2026; the product and its figures are fictional. You can choose the design yourself.

  1. Select Menu, then Examples, then the example under Design.
  2. The replay marks the recorded answer to each interview question, one question after the other.
  3. At the design card, the replay stops and counts down five seconds.
  4. Select another design before the count ends, such as 2x2 crossover. The replay plays the recorded run that picked it, from that card on.
  5. Do nothing, and the count ends on the interview’s own pick, Four-period full replicate (TRTR/RTRT).

Either way, a line under the card reads From here on: the recorded run where … was chosen. Each design has its own run: its sample sizes, its design summary and its analysis setup. To compare, select another design on the same card, and the replay plays that run from there.

Pause stops the count, and Play starts it again from five. Skip to end before a pick jumps to the end of the interview’s own pick.

3Design a study

BEagent compares candidate designs by sample size and power, and you pick one.

3.1Start a design run

  1. On Home, select Design, the left half of the switch at the top. Home opens with Design chosen.
  2. Optional: select Data and pick a design brief or design context under Design file.
  3. Optional: in Message, describe the study you want to design.
  4. Select Send. With no file, BEagent interviews you, starting with a study ID unless your message names one. With an incomplete brief, it asks what the brief lacks. With a complete brief or a design context, it skips the interview.

3.2Answer the interview

When your message already describes the study, BEagent records what it says and asks you once to confirm it: Here is what I understood from your message: … Then it asks only what is still open.

Each round covers one topic in up to four questions. Answer them and select Send answer, or press Enter once every question has an answer. An option that asks you to type a value opens a box for it at once. Answer a plain-text question in the chat’s message box.

A value you do not know yet can stay open: BEagent asks the other questions first and says who must supply it. Nothing is sized until it is answered. To give it later, open the conversation in History and type the value in its message box.

To compare a design the rules exclude, such as a parallel design beside a crossover, ask for it. BEagent sizes it for comparison and says why it is not recommended; you cannot pick it. A parallel design is sized on the total CV of each endpoint, so BEagent asks for it when you have not given it. If it is not known, BEagent sizes the design with the within-subject CV instead and says so: that is the smallest number of subjects such a study could need.

3.3Pick a design

  1. At Which design should be recorded as the person’s selection, or none now?, select a design, then Send answer. The choice “No selection now”, where BEagent offers it, or an answer typed after Other ends the run as stopped, with no pick.
  2. On the Design result card, select Design summary.

3.4Use the design in Analyze

After a pick on an interview or brief run, select Use in Analyze – …. BEagent adds the run’s analysis setup to the Data panel, under Analysis setup in the Analyze tab: pick it there, with a data file, and select Send. Or select Download analysis setup – … and upload the file under Analysis setup later.

3.5Ask a what-if

Once you have answered every question, ask a what-if in the chat’s message box, such as What if the coefficient of variation (CV) were 35%? BEagent sizes both versions side by side and changes nothing.

Note: BEagent answers guidance questions from US Food and Drug Administration (FDA), European Medicines Agency (EMA) and ICH M13A guidance, and from no other source.

4Analyze a study

4.1Pick your files

Your Data panel starts with three files marked sample file, from a simulated 2x2 crossover with a data review meeting: data_review_data.csv under Data, data_review_settings.json under Analysis setup and conduct_records.csv under Conduct records. To try BEagent on them, pick all three in the steps below and select Send. For your own study, start from a blank template (see 5.2 Fill in a blank template) or the analysis setup form (see 5.9 Fill in the analysis setup form).

  1. On Home, select Analyze, the right half of the switch at the top. From a chat, select New task, or BEagent at the top left, to reach Home.
  2. If the Data panel is not open at the right, select Data, left of the message box.
  3. Select + beside Data and upload the data file (CSV). Select + beside Analysis setup and upload the analysis setup (JSON). You can also drop files on the panel or the message box.
  4. Optional: select + beside Conduct records and upload the study’s conduct records file (CSV). While the list is empty, it reads Optional. Records of adverse events, vomiting and dosing deviations; BEagent reviews them before it reads any PK value. A CSV you drop on Home goes to this list when its first line names record_id and event_type.
  5. BEagent picks the last file you add to each list. To pick another, such as a sample file, select the circle beside it. The file chips under the message box name the picked files; a chip’s cross unpicks its file.

4.2Run the analysis

  1. Optional: in Message, describe the analysis you need. BEagent reads it as the run starts.
  2. Select Send (the gold circle). The Data panel closes, and BEagent is working… appears.
  3. The run’s progress shows each step, such as Step … of …, and how long the run has taken. At the start it says An analysis usually takes about 4–6 minutes. It runs Claude on your Anthropic API key., or on free credit It runs Claude on free credit from STATrust.
  4. If BEagent asks a question, choose an answer, or select Other and type one, then select Send answer. You can change your choices until you send them; then the card stays in the chat with your answers marked and Answered at its foot.
  5. On the Analysis result card, select View report.

Your files stay picked after the run starts, ready for the next run.

4.3Answer the data review

With a conduct records file, BEagent holds a data review before it reads any PK value. It checks each record against the protocol’s rule, and asks you about each record the rule cannot settle.

  1. Each question names its record, such as Record R01: which handling applies?, with the record’s subject, period, event, time and description. Each option says what it does to the analysis. Choose one and select Send answer.
  2. To answer in your own words, select Something else? Write a note for the site under the options and type your note. A note stops the review and goes to the site as a query. The card says so: Typing your own answer stops the data review and sends your words to the site as a query.
  3. When the analysis setup declares no vomiting rule, BEagent applies the FDA guidance default for vomiting: a subject who vomits at or before twice the median Tmax is excluded. It asks you about each vomiting record that default would act on: choose Exclude per guidance, which states the threshold, Retain or Stop, query site. A record you retain stays in the analysis, and the report lists it as flagged. A vomiting record after the window needs no answer: the box says Kept under the guidance default. Without a median Tmax in the analysis setup (see 5.5 The conduct records file), BEagent asks about every vomiting record with a time.
  4. The Data review box, under the run’s progress, lists the records in a table with each one’s decision. Its head says where the review stands, counting every data review question still open, such as Data review: … of … records need your answer.
  5. Once BEagent locks the review, the box names the subjects it excluded from the primary analysis and folds the table away. To see the records again, select Show the … records.

When the PK data hold pre-dose concentrations (Cpredose rows, which the non-compartmental analysis writes), the data review has a second part, after the conduct records and before any analysis.

  • BEagent compares each subject-period’s pre-dose concentration with 5% of that period’s Cmax and asks you about every one above it. Each option states the concentration, the Cmax and the share.
  • Exclude per guidance takes the subject out of the primary analysis. Retain keeps it, and the report lists it as flagged. Stop, query site stops the run.
  • The check does not apply to an endogenous analyte (a baseline correction in the analysis setup), a steady-state study (one that declares nca.tau or the endpoint AUC0-tau), a two-stage study or data with no Cmax, and the report says why.

4.4If the files fail the checks

If The files did not pass the checks or Nothing was started appears, select Back to the message box. Fix what the ✗ lines or the message name, upload the fixed file and select Send.

A ✗ line may offer a button that fixes it, such as Exclude incomplete subjects (complete-case) when a subject has a missing value or row (see 5.7 Missing data). BEagent then adds a corrected copy of your analysis setup, picks it and checks again; your own file stays as it was. If the files now pass, select Send now; otherwise select Back to the message box. If the change cannot be made, The fix could not be applied says why. A ✗ line about the analysis setup also offers Edit analysis setup, which opens the analysis setup form (see 5.9 Fill in the analysis setup form).

When the data file and the analysis setup look like different designs, the first ✗ line says so, such as The data look like … study (…), but the analysis setup says the design is …. Check that both files are from the same study.

5Prepare your files

Each file is at most 1 MB.

5.1Start from an example’s files

5.2Fill in a blank template

The two files Analyze needs each have a blank template: the data template (pk_data_template.csv) and the analysis setup template (study_settings_template.json). A template is the start of your own file, not a file to pick.

  1. Download the template from its link above.
  2. Where the copy lists choices between slashes, keep the one that applies and delete the others and the slashes; if the last choice ends with a comma, keep the comma. So "design": "parallel" / and the four choices under it become "design": "parallel", (quotes kept), and "enabled": true / false becomes "enabled": false.
  3. Fill in the blanks: purpose with a few words on the study, and endpoints with the PK parameters as the data file names them, such as ["AUC", "Cmax"]. Under either of the last two missing-data rules, fill in rule_id and source_ref too (see 5.7 Missing data).
  4. Keep the model_id that goes with your design and method (the table below).
  5. In the data copy, replace the row of choices with your own rows, such as S001,TR,1,T,AUC,812.4. For a parallel study, delete the sequence and period columns.
  6. In the Data panel’s Analyze tab, select + beside Data or Analysis setup and add your copy. BEagent picks it.
DesignMethodModel
parallelstandard_abe, abe_narrow_emaparallel_equal_variance
2x2 crossoverstandard_abe, abe_narrow_emalegacy_2x2_lme
replicate_full_4periodstandard_abereplicate_subject_contrast, replicate_all_fixed or replicate_fda_mixed
replicate_full_4periodabe_narrow_emareplicate_subject_contrast or replicate_all_fixed
replicate_partial_3periodstandard_abereplicate_all_fixed or replicate_fda_mixed
replicate_partial_3periodabe_narrow_emareplicate_all_fixed
replicate_full_3periodstandard_abe, abe_narrow_emareplicate_all_fixed
replicate_full_4period, replicate_partial_3period, replicate_full_3periodrsabe_fdafda_rsabe_contrast
replicate_full_4period, replicate_partial_3period, replicate_full_3periodabel_emaema_method_a
replicate_full_4periodntid_fdafda_ntid_contrast

A study in more than one site or group (a study_structure with a site_count or group_count above one, and a site_id or group_id column in the data) takes, under standard_abe or abe_narrow_ema, multigroup_parallel_fixed, multigroup_2x2_fixed or, on a replicate design, replicate_all_fixed. Under rsabe_fda, abel_ema and ntid_fda, the table’s model carries the groups as it is. A two-stage study ("enabled": true) takes two_stage_2x2_fixed and more keys than the template holds: start from the analysis setup of its design run (see 3.4 Use the design in Analyze).

5.3The data file

  • Holds PK parameters from non-compartmental analysis, or the concentrations themselves (see 5.8 Concentration-time data). Adverse events go in the conduct records file (see 5.5 The conduct records file), and demographics in neither.
  • Is UTF-8 text with one row per subject, period and PK parameter, in the columns subject_id,treatment,endpoint,value (parallel, no period) or subject_id,sequence,period,treatment,endpoint,value, with T or R as the treatment.
  • Uses the design’s sequences: TR/RT (2x2 crossover), TRTR/RTRT, TRT/RTR or TRR/RTR/RRT (replicates), with periods numbered from 1. Each row’s treatment is its sequence’s letter for that period.
  • Has positive values. Leave a missing value blank or write NA, never 0. By default, a missing value or row fails the checks at Send; the analysis setup can declare a rule for it (see 5.7 Missing data).
  • May also hold rows of Tmax (hours) and Cpredose (the concentration before the dose), which the data review reads (see 4.3 Answer the data review). BEagent never analyzes either for bioequivalence, and the analysis setup need not name them.
  • For a two-stage study, also has a stage column, 1 or 2 on every row (the interim data hold stage 1, the final data both stages), and no second-stage subject reuses a first-stage subject_id.

5.4The analysis setup

  • Holds one study_context object, alone or under one case name.
  • Sets workflow_profile to pk_extension_v1, plus design (parallel, 2x2 crossover, replicate_full_4period, replicate_full_3period or replicate_partial_3period), method and model_id, as in the examples.
  • Names each endpoint as the data file’s endpoint column spells it, letter for letter. An endpoint the data carry and the analysis setup does not name is not analyzed. When the run starts, BEagent lists such endpoints under Not analyzed, below your message, unless the analysis setup declares a mapping of the data. Tmax and Cpredose cannot be endpoints.
  • Optional: sets study_id, your study’s own ID, which the result card and the report show, such as "study_id": "BE-2026-014". The template holds this line under _example_study_id: copy it into study_context.
  • Sets analysis_set_rule, the rule for missing data: require_complete (the default), complete_case_prespecified or available_case_prespecified. Either of the last two also needs analysis_set_details (see 5.7 Missing data).
  • Is strict JSON (no NaN, Infinity or repeated key) and names no files outside your upload.

5.5The conduct records file

The conduct records list what happened while the study ran that can affect a subject’s data, such as vomiting soon after a dose. The file is optional. It:

  • Is UTF-8 text with one row per record, in the columns record_id, subject_id, period, event_type, time_h, contemporaneous, description, source_ref, and no others.
  • Gives each record its own record_id, and a source_ref that says where the record comes from.
  • Uses the subject IDs of the data file’s subject_id column, and the design’s periods.
  • Sets event_type to vomiting, diarrhoea, dosing_deviation, concomitant_medication, sampling_deviation, withdrawal, adverse_event or other; time_h to the hours after that period’s dose, or blank; and contemporaneous to yes or no.

BEagent checks the file’s columns and values when you add it to Data, and its subjects and periods against the data file when you select Send. For a two-stage study it refuses the file: Conduct records are not read for a two-stage study yet.

BEagent reads vomiting records against the protocol’s vomiting rule when the analysis setup declares one under analysis_rules, and against the FDA guidance default when it does not (see 4.3 Answer the data review). The default’s window is twice the product’s median Tmax, which you give in the analysis setup in hours, such as "pk": {"tmax_h": {"median": 1.5}}; BEagent never takes it from the PK data. With a conduct records file, a median Tmax that is not a positive number of hours fails the checks at Send.

5.6The design file

A design file is a design brief (schema skillforge.design_brief, the interview’s answers) or a design context (with an endpoints list).

5.7Missing data

A subject who withdraws, or a sample that was not taken or not analyzed, leaves a gap in the data file: a blank or NA value, or no row for that period. The analysis setup says what BEagent does with such a subject, in analysis_set_rule:

require_complete (the default)
Every subject has a value in every period. Any gap fails the checks at Send, and the ✗ line names the incomplete subjects: the first ten, then how many more.
complete_case_prespecified
A subject with a gap is left out of that endpoint’s analysis, with all its periods.
available_case_prespecified
Every value is kept, and each estimate uses what it can; on the all-fixed replicate models, a subject with records of only one product is left out of the T−R comparison. It does not apply to abe_narrow_ema on a 2x2 crossover, to the model replicate_subject_contrast or to a two-stage study: there the ✗ line says so and, when a subject is incomplete, offers complete-case.

Either of the last two rules also needs analysis_set_details, as in this example. The analysis setup template’s study_context already holds it, with rule_id and source_ref blank: fill them in, choose true for authorized and keep the cause codes that apply. The template’s _example_complete_case shows both keys filled in. Do not copy them into study_context a second time: a key written twice is refused.

KeyWhat it says, with the example’s value
analysis_set_ruleThe rule: complete_case_prespecified.
analysis_set_detailsAn object with the four keys below.
rule_idYour plan’s name for the rule: SAP-9.2.
source_refWhere the rule is written, such as Statistical analysis plan v1.0, section 9.2.
authorizedThat the rule was set before the data were seen: true.
allowed_cause_codesWhy a record may be missing: ["withdrawal", "missed_sample"].

List in allowed_cause_codes each reason a record of your study may be missing:

Cause codeWhen
withdrawalA subject withdrew or was withdrawn.
dropoutA subject dropped out.
lost_to_follow_upA subject could not be reached.
missed_sampleA sample was not taken.
sample_not_analyzedA sample was taken and not analyzed.
sample_lostA sample was lost.

Each cause covers a blank or NA value, a missing row and, under complete-case, the subject’s other records. Narrower codes cover only what they name: missing_value (a blank or NA value), missing_record (a missing row), incomplete_subject_complete_case (the other records complete-case leaves out) and zero_after_baseline_correction (a value the baseline correction takes to zero). Write each code letter for letter: BEagent ignores a code it does not know, and offers a fix for a near spelling, such as Withdrawn.

At Send, BEagent prepares each endpoint as the run will. Under either of the last two rules it checks every gap against your cause codes: a note below your message names who is left out, or a ✗ line names the subjects your codes do not cover. Where no rule admits an incomplete subject, the ✗ line offers Exclude incomplete subjects (complete-case) (see 4.4 If the files fail the checks); the copy it adds records the rule and the day in source_ref.

5.8Concentration-time data

The data file may hold the measured concentrations instead of PK parameters. BEagent then runs a non-compartmental analysis (NCA) first and analyzes the PK parameters it derives. Such a file:

  • Is UTF-8 text with one row per sample, in the columns subject_id,sequence,period,treatment,time,concentration (a parallel study leaves out sequence and period), and optionally analyte and unit, with one analyte and one unit in the file. The blank concentration-time template has these columns.
  • Gives time as the actual sampling time, in hours after that period’s dose. A pre-dose sample has the time 0 or a negative time.
  • Writes a concentration below the lower limit of quantification as BLQ, <LLOQ or 0, and a missed sample as a blank or NA.

For each subject and period the NCA derives Cmax, Tmax (where Cmax first occurs), AUC0-t by the linear-up/log-down trapezoidal rule, the terminal rate constant lambda_z (from the last three or more points after Tmax, the falling fit with the best adjusted R-squared), AUC0-inf, the share of AUC0-inf that is extrapolated, and the pre-dose concentration. The analysis setup names AUC0-t, AUC0-inf or Cmax as endpoints, and for a steady-state study AUC0-tau, with tau set in the nca block. A BLQ before the first quantifiable concentration counts as 0 and a later one as missing, unless the analysis setup says otherwise in an optional nca block:

KeyValue
auc_methodlinear_up_log_down (the default) or linear
blq_before_firstzero (the default) or missing: a BLQ before the first quantifiable concentration
blq_after_firstmissing (the default) or zero: a BLQ after it
lloqa number: a lower concentration counts as BLQ
concentration_unitthe unit, as the unit column writes it
tauthe dosing interval in hours, for a steady-state study

For example, "nca": {"lloq": 0.5, "concentration_unit": "ng/mL"}. BEagent runs the NCA when you select Send, so a file it cannot analyze fails the checks there. The report adds a section, Non-compartmental analysis, with each profile’s parameters and how many points lambda_z rests on, and it flags a profile whose Cmax is its first sample after the dose, whose AUC0-inf is more than 20% extrapolated, or whose terminal phase has too few points for lambda_z.

5.9Fill in the analysis setup form

The form writes the analysis setup for you, with no JSON to edit.

  1. In the Data panel’s Analyze tab, select Fill in the analysis setup form (the pencil beside Analysis setup).
  2. Optional: under File name, at the top, type the name the file is saved under. Until you type one, BEagent proposes a name from the design and the study ID. It adds .json if you leave it out.
  3. Choose the design, then the regulator and method. Where the design and method allow more than one model, choose the model too. Tick the endpoints, and type any others as the data file names them.
  4. Optional: type your study ID.
  5. Under Missing data, choose what happens when a subject’s records are incomplete. If you choose to exclude incomplete subjects or to use every available record, tick the causes the protocol allows and say where the protocol or plan sets the rule.
  6. Optional: type the expected median Tmax, in hours. If the protocol sets a vomiting rule for an immediate-release product, tick it and fill in its events, how many times the median Tmax it covers, what it excludes and where the protocol sets it; the rule needs the median Tmax.
  7. Optional, for concentration-time data: tick Set how BEagent derives the PK parameters (NCA), choose how BEagent computes the AUC and treats values below the limit of quantification, and give the LLOQ and the unit if needed, and the dosing interval for a steady-state study.
  8. Select Save and pick. BEagent checks the file as any upload, adds it under Analysis setup and picks it.

To change an analysis setup you have, select Edit in the form on its row. Saving makes a new copy, its name ending in “(edited)” unless you type another under File name; the file you opened stays as it was. The form cannot open a file whose design, method or model it does not offer, such as a multi-group model: edit the file itself.

6Read your results

6.1The result card

A finished run shows a result card, which offers each document once the run has written it.

Analysis result gives the assessment, such as Bioequivalence supported, then a forest plot and a line for each endpoint: its ratio T/R (the geometric mean ratio, GMR), its confidence interval (CI) and its acceptance limits, in percent with two decimals, as the report gives them. The CI is named at its level: 90%, or wider in a two-stage analysis. The card’s top line names your study, when the analysis setup gives a study_id, and the run.

A run with a data review offers Data review in the report, which opens the report at that section. Under an analysis’s documents, Re-run with the same files picks the run’s files again and takes you to the message box. Duplicate and edit also opens the analysis setup, so that you can change it for the next run.

A run that stopped partway says where it stopped and why. Select Start again with the same files to pick its files again at the message box, or Continue the conversation to answer BEagent in the chat.

Design result names the chosen design and who picked it, with each design’s enrolment and power.

6.2The documents

View report
An analysis’s statistical report: a summary table and eight sections, nine when BEagent ran the NCA. Download .md and Download .html save it. A run that stopped before its BE test has no report.
Design summary
For the person who will run the study: synopsis, candidates, sample size, data to collect and software. Before a pick, or after a stopped run, it compares the candidates.

Your runs’ other design documents (protocol synopsis, SAP outline, sample size justification, randomization) are in the Data panel under Result (see 7.3 Open a run’s files).

7Keep your files in Data

The Data panel at the right keeps the files you upload and lists your runs, for your account. Log in to see it.

7.1Open and close the panel

  • Select Data, left of the message box, to open or close the panel. Where there is no message box (a replay, the Examples page, a conversation you cannot continue), Data sits at the right of the title. The panel closes itself when you select Send.
  • To close the panel from anywhere, select Close the Data panel (the cross at its top right), or press Esc.
  • To widen the panel, drag its left edge; double-click the edge for its first width. This browser keeps the width you leave it at.
  • Select the Design or Analyze tab; it follows the switch at the top. Design holds Design file; Analyze holds Projects, Data, Analysis setup and Conduct records; each tab ends with its own Result.

7.2Add, pick and delete files

  1. Select + beside Data, Analysis setup or Conduct records (in the Analyze tab) or Design file (in the Design tab), or drop files on the panel. BEagent picks the last file you add. To see what a list is for, point at its name.
  2. Select the circle beside a file to pick or unpick it, one per list. Picked files show under the message box. Select a file’s name to preview it.
  3. To remove a file, select its delete button, then Delete. Runs, conversations and projects that used it keep their own copy.

BEagent refuses a file that could never start a run, with the reason under its list. Once you add a file, a note under its list says what it holds and shows its first rows; select its cross to close it. Adding a file the list already holds moves it to the top, under its old name. Each list holds up to 100 files.

7.3Open a run’s files

  1. Under Result, select a run to list its files.
  2. Select a file to preview it. A report opens formatted: report.md as BEagent draws it, report.html as the page itself. Select Download to save the file.
  3. Select Back to the conversation to reopen the conversation that made the run.
  4. In a design run, select Use in Analyze – …. Added to Analyze · Analysis setup appears, and the run’s analysis setup is listed under Analysis setup, ready for you to pick.

To delete a run by itself, select its delete button, the bin at the right of its row; Delete this result? asks first. Select Delete. The run, its report and files are deleted for good, so download any report you need first. Its conversation stays in History; if it is the conversation you have open, it closes. For an analysis run made from Claude Code, the data files uploaded for it are deleted too, unless something else still uses them. The run a conversation here is still working on has no delete button. A run that Claude Code is still working on can be deleted, but not while one of its steps is running; Claude Code then no longer finds it.

7.4Projects

A project keeps one analysis’s files and results together, under Projects at the top of the Analyze tab. The first time an analysis starts from a data file and an analysis setup, BEagent makes a project for that data file by itself and puts the files and the analysis’s results in it. Later analyses of the same data file join it. Select a project’s name to open or close it.

  1. To make a project of your own, select + beside Projects, type a name and select Create (or Cancel).
  2. To put a file or a result into a project, drag its row from Data, Analysis setup, Conduct records or Result onto the project. Or select Add to project (the folder with a plus) on the row, then the project, or New project to make one with the item in it. A project never holds the same file or result twice: Already in …. says so.
  3. In an open project, select a file to preview it, or a result to list its files, as in their own lists. Select Remove from project (the cross) to take an item out.
  4. To rename a project, select its pencil, change the name and select Save. To delete it, select its bin. Delete this project? asks first; select Delete.

Nothing leaves its list when it goes into a project, or when the project is deleted. A project keeps its own copy of each file, so a file you delete from its list stays in the project. You can keep up to 50 projects; with 50, You have the most projects BEagent keeps (50): delete one so that new analyses get a project. shows, and new analyses get no project until you delete one.

8Manage tasks and history

8.1Run and stop a task

  • Each account runs one task at a time. Stop (the square in the chat) interrupts BEagent; send a message to carry on, or select New task.
  • The run goes on when you leave the chat: Running task or Waiting for your answer in the sidebar leads back. New task, or BEagent at the top left, during a run offers Keep running, Go Home and Stop and start new.

8.2Search and continue

  • Search matches each conversation’s name, first message, file names, task and result. It skips later messages and BEagent’s replies.
  • Open a conversation in History to read it. Where its message box reads Continue this conversation…, type there and select Send to discuss the results or re-run the same files. You can change the model and effort; the files and the task stay as they were.
  • After Session ended, select Resume if offered, otherwise New task.

8.3Model and effort

Model and effort (the gear right of the message box) applies to new tasks and continuations. The defaults are Opus 5.5 and High.

8.4Delete a conversation

In History, point at a conversation. Its delete button, the bin, appears at the right of its name. On a touch screen the bin always shows. Select the bin, and Delete this conversation? asks first. Select Delete.

The conversation’s runs in Data → Result, with their reports and files, are deleted with it, for good, and leave any project, so download any report you need first. While a conversation runs or waits for your answer, it has no delete button: stop it first. The files you added to the Data panel stay. To delete one run and keep its conversation, delete the run in Data → Result instead (see 7.3 Open a run’s files).

9Your key and files

  • When the site offers free credit, a task you start without a key runs on STATrust’s key until the credit is used up, and what Claude reads of your files goes to Anthropic under STATrust’s API account. Then BEagent asks for your own key (see 10.2 API key). The API key dialog shows how much of the credit you have used, as a percentage. Once you have used some, a line under the top bar says it too; its cross hides it until the number changes.
  • BEagent runs Claude with your own key once you add one. The server keeps it for your account, across restarts and from any browser, and the key dialog shows only its first and last characters.
  • To remove the key, select Menu, then API key, then Forget key, and confirm. Log out, right of Menu, leaves the key in place.
  • Your files, conversations and reports stay with your account on the BEagent server, out of other BEagent users’ sight. Claude reads your files and sends their content to Anthropic’s API under your key, or STATrust’s on free credit. You can delete a file in the Data panel. You can delete a conversation in History, and its runs and reports go with it (see 8.4 Delete a conversation), or one run by itself in Data → Result, and its conversation stays (see 7.3 Open a run’s files).
  • To delete your account and everything BEagent keeps for it (your API key, your files, your projects, your runs and reports, and your conversations), select Menu, then Delete account. Type your email address, or for an account made with a name, the name, then select Delete account. A running task is stopped, except a task on free credit: stop that one first. This cannot be undone. The free credit the account used stays counted against its address, so a new account with that address does not get it back. Files you downloaded stay on your computer, and Anthropic’s own policy covers what its API has received.
  • The privacy policy says what BEagent keeps, who else handles it and how to remove it.

10Fix a problem

10.1Logging in

Your login has ended: log in again.
Select Log in.
That code is not right.
Check the email and type the code again.
That code can no longer be used. Send a new code. or Too many wrong codes: try again in … min.
Select Send a new code and type the new code. After too many wrong codes, wait the minutes the message names first.
Too many codes asked for: try again in … min. or We could not send the email. Try again in a minute.
Wait, then select Continue with email again. If no email comes, look in your spam folder.

10.2API key

Add your Anthropic API key (the menu at the top right), The key was refused: … or Your saved API key was not accepted: …
Select Menu, then API key. Paste a valid key and select Save. If it reads The key could not be checked: …, BEagent could not reach Anthropic and did not save the key: select Save again in a few minutes.
End the session first.
A key cannot be saved or forgotten while a task runs. Wait for the task to end, or stop it, then try again.
Your free credit is used up. Add your own Anthropic API key (API key button) to continue., Free credit is paused until next month. Add your own Anthropic API key (API key button) to continue. or Free credit is not available right now. Add your own Anthropic API key (API key button) to continue.
Select Menu, then API key, paste a valid key and select Save. Then carry on in the conversation (see 8.2 Search and continue). While free credit is paused or not available, you can also try again later.
Your free credit is in use in another session. Wait for it to finish, or add your own Anthropic API key (API key button).
Wait for the other session’s task to end, or add your own key.

10.3Files

… is larger than 1 MB. or … is not a … file.
Upload a file of at most 1 MB, of the type the list or the task asks for. Design takes only a JSON design file: to add a CSV, select Analyze first, then drop the file or use +.
That is a blank template, unchanged: fill it in, then add your copy.
Fill in the template (see 5.2 Fill in a blank template), then add your copy.

10.4Sending

Your message cannot be sent: …
Remove what it names. A message cannot start with /, ! or #, and cannot hold an @ followed by text, so write an email address without its @.
BEagent is still connecting: try again in a moment.
Wait a few seconds, then select Send again.
Analyze needs two files: the data (CSV) and the analysis setup (JSON).
Pick one file under Data and one under Analysis setup.
Run the interim analysis first: the final analysis continues an interim run that closed completed with continue_to_second_stage.
Analyze the interim stage with its analysis setup first. Once that run’s result says to continue to the second stage, open the design conversation in History, select the final analysis setup’s Use in Analyze – … or its download, and pick that interim run in the list it opens. Then pick the final analysis setup with the final data and select Send.

10.5Running tasks

A task is still running — stop it or wait for it to finish. or The previous run is still stopping — try again in a moment.
Select Back to the running task, or wait.
Connection lost — reload the page
Select Reload. Keep BEagent open in one tab: a second tab disconnects the first.
This conversation can be read but not continued: …
Select New task.

10.6Account

Your account could not be deleted right now; nothing was deleted. Try again in a minute.
Wait a minute, then select Menu, then Delete account again.
Your account is deleted, but some of its files could not be removed yet. They will be removed automatically.
Nothing to do: BEagent removes them when its server next starts.
Stop the running task first, then delete your account.
Stop the task that runs on free credit, then select Menu, then Delete account again.

11Terms

Show the terms
Bioequivalence (BE)
A test (T) and a reference (R) product are bioequivalent when, for each PK parameter, the 90% confidence interval (CI) of the T/R ratio of geometric means lies within the acceptance limits: 80.00–125.00% in the standard case. Some methods narrow or widen the limits.
Confidence interval (CI)
The range of T/R ratios the data support at a stated level. Average bioequivalence rests on the 90% CI; a two-stage analysis tests at adjusted levels, so its CI may be wider. The scaled methods add a criterion of their own.
GMR
Geometric mean ratio: the test product’s geometric mean over the reference’s. A planning GMR, often 0.95 (0.90 for a scaled method), is the ratio you assume when you size a study.
Pharmacokinetics (PK) and non-compartmental analysis (NCA)
Pharmacokinetics describes how a drug’s concentration in the body changes over time after a dose. Non-compartmental analysis derives PK parameters, such as Cmax, Tmax and AUC, from the measured concentrations without a compartmental model; BEagent runs it on concentration-time data (see 5.8 Concentration-time data).
Endpoint, AUC and Cmax
An endpoint is a PK parameter the study compares, such as the area under the concentration-time curve (AUC) or the maximum concentration (Cmax).
Tmax
The time after the dose, in hours, at which Cmax first occurs. BEagent never analyzes it for bioequivalence.
CV and power
The coefficient of variation (CV), a percent, drives the sample size: the within-subject CV for a crossover or replicate, the total CV for a parallel study. Power, on the Design result card, is a lower bound on the chance that the study passes, for each endpoint and for all endpoints together.
Parallel, crossover and replicate
In a parallel study each subject receives one product; in a 2x2 crossover, both, over two periods. A replicate gives a subject one product, or both, more than once.
Full and partial replicate
A full replicate repeats both products: in TRTR/RTRT each subject receives each product twice, over four periods; in TRT/RTR, over three periods, each sequence repeats one of them. A partial replicate, TRR/RTR/RRT, repeats only the reference.
Two-stage study
A 2x2 crossover planned in two stages by a published method (Potvin et al., 2008, Method B, C or D) or another calibrated configuration BEagent offers. The interim analysis of the first stage either reaches a conclusion or sizes a second stage, and the final analysis pools both stages.
Design brief and design context
The two kinds of design file (see 5.6 The design file). A design brief holds the design interview’s answers, and BEagent asks for what an incomplete one lacks; a design context declares the study’s objective, the endpoints, the target power, the variability and the constraints, and a run on it starts at once.
Analysis setup
The JSON file Analyze reads beside the data: the design, the method, the model, the endpoints and the missing-data rule (see 5.4 The analysis setup). Write it from the template or with the form, or take it from a design run with Use in Analyze – ….
Conduct records and data review
Conduct records list what happened while the study ran that can affect a subject’s data (see 5.5 The conduct records file). The data review settles them, and any high pre-dose concentration, before BEagent reads a PK value (see 4.3 Answer the data review).
standard_abe
Average bioequivalence with the standard limits: the 90% CI of each endpoint’s T/R ratio lies within 80.00–125.00%. It follows FDA, EMA and ICH M13A, on every design.
abe_narrow_ema
EMA’s average bioequivalence with the limits narrowed to 90.00–111.11%, for a narrow therapeutic index drug. The narrowed limits hold the AUC endpoints and any endpoint the analysis setup lists under narrowed_endpoints; the others keep 80.00–125.00%.
rsabe_fda
FDA’s reference-scaled average bioequivalence, on a replicate design. When the reference’s within-subject standard deviation (sWR) is 0.294 or more, a criterion scaled to sWR applies and the point estimate must lie within 80.00–125.00%; below 0.294, the 90% CI must lie within 80.00–125.00%.
abel_ema
EMA’s average bioequivalence with expanding limits, on a replicate design. On Cmax endpoints, and any the analysis setup lists under scaled_endpoints, the limits widen with the reference’s within-subject CV (CVwR) above 30%, to at most 69.84–143.19%, reached at a CVwR of 50%; AUC is never widened, and the point estimate must lie within 80.00–125.00%. On TRT/RTR, the limits widen only when at least 12 subjects have both reference records.
ntid_fda
FDA’s method for a narrow therapeutic index drug, on the four-period full replicate (TRTR/RTRT) only. It needs three conditions at once: a criterion scaled to the reference’s variability, the 90% CI within 80.00–125.00%, and the upper limit of the 90% CI of the variability ratio sWT/sWR at most 2.5.

12Get help

  • Ask BEagent about your results in the chat’s message box, or later in History, from a conversation whose message box reads Continue this conversation….
  • For anything else, or to tell us what you think, select Menu, then Feedback, or write to support@statrust.ai.