Appearance
AI Agents in Cadence
AI agents do the work at every step of a study and stay inside one regulated path: agents read and propose; an accountable person approves; the change executes as that person, with the agent, model and task configuration recorded. The decision is ADR-2630 (kernel decision K037, spec §11); the work is tracked in epic #5545.
This page is the catalogue: the agents, the research-type packs, the autonomy ladder and where each regulatory control lives. It is a plan: an agent is built when its row's issue lands, and the State column says which exist.
The runtime, the Intelligence module (apps/intelligence, composed into the kernel API host, #5374), holds the model port, versioned task configurations qualified per tenant with a signature on evaluation evidence (ADR-2631, #5385), the interaction ledger of agent runs, and per-tenant kill switches and token budgets, under /api/v1/ai. The evaluation harness that produces qualification evidence (stored evaluation runs) and the monitoring that suspends a configuration are built (ADR-2634, #5548, #5574), and so is the kernel side of the agent actor and requester-scoped grants (ADR-2632, #4783); the module does not act as an agent actor yet. The agent tools, the citation verifier and runs that write a Proposal follow in #5547; PHI scrubbing, data residency, more providers and a local-only mode in #5550.
Principles
- AI output is never clinical fact until a person makes it one. Agents create kernel Proposals only (K-AI-1).
- An agent acts for one person and reads with that person's grants, never wider (K-AI-3, K-AI-6).
- Grounded or silent: every claim and value cites the kernel nodes the run read (K-AI-4).
- The qualified unit is the task configuration, not the model (K-AI-5, ADR-2631).
- Risk sets the oversight: model influence and decision consequence set the evidence and the autonomy level.
- Every run is retained in the interaction ledger.
- Agents live in the normal Canvas screens, are labelled as AI (UX-8), and the study works the same with AI off (K-AI-8).
The autonomy ladder
| Level | The agent | Who acts | Allowed for |
|---|---|---|---|
| 0 Inform | Answers, explains, summarizes, with citations | Nobody; read only | Any task |
| 1 Draft | Writes a Proposal holding the draft | A person edits, approves, then executes | Any task, clinical data included |
| 2 Approve-to-execute | Writes a Proposal holding the exact commands | A person approves, then sends each command as themself, naming the proposal (K-AI-2) | Commands the approver could run |
| 3 Standing grant | Executes inside a narrow, time-boxed grant a person approved | The agent, each action reviewable | Operational commands only (K-AI-7) |
Agents by lifecycle stage
| Stage | Agent | What it does | Approver | Max level | State |
|---|---|---|---|---|---|
| Design | Protocol author | Drafts objectives, endpoints, estimands (ICH E9(R1)) and the schedule of activities as a USDM candidate version | Sponsor designer | 1 | Planned (replaces the template GenerativeProtocolAuthor) |
| Design | Amendment impact | Runs evaluate-only simulation on a draft amendment and explains what changes | Sponsor designer | 0 | Planned |
| Design | CRF builder | Proposes CDASH-aligned collection specs and edit checks from the protocol | Data manager | 1 | Planned |
| Design | Eligibility feasibility | Tests criteria against connected real-world data and flags restrictive ones | Sponsor designer | 0 | Planned |
| Start-up | Document drafter | Drafts the consent form, plain-language summary and site packs, with a readability check | Regulatory, IRB/EC owner | 1 | Planned |
| Start-up | TMF filer | Classifies uploads to the TMF Reference Model and flags missing essential documents | TMF owner | 2 | Planned |
| Start-up | Site feasibility | Ranks candidate sites from performance history and enrolment projections | Clinical operations | 0 | Planned |
| Start-up | Budget and contract | Drafts site budgets and payment schedules from the schedule of activities | Finance officer | 1 | Planned |
| Conduct | Pre-screener | Checks a candidate's source data against eligibility; the investigator decides | Investigator | 1 | Planned |
| Conduct | Source abstractor | Pulls values from EHR (FHIR) or source documents into proposed observations | Site coordinator | 1 | Planned |
| Conduct | Data reviewer | Finds inconsistencies the edit checks miss and drafts queries | Data manager | 2 | Planned (first agent) |
| Conduct | Medical coder | Suggests MedDRA and WHODrug codes with the dictionary path | Medical coder | 2 | Planned |
| Conduct | Central monitor | Watches KRIs and QTLs and proposes targeted monitoring (ICH E6(R3)) | Monitor, study lead | 2 | Planned |
| Conduct | Deviation detector | Finds protocol deviations and proposes their classification | Study lead, QA | 1 | Planned |
| Conduct | Visit report writer | Drafts the monitoring visit report and follow-up letter | Monitor | 1 | Planned |
| Conduct | Supply forecaster | Forecasts drug or device supply per site | Supply manager | 0 | Planned |
| Conduct | Participant helper | Answers participant questions only from approved consent and visit information | Site coordinator | 0 | Planned |
| Safety | Case intake | Structures a reported event and checks seriousness criteria and reporting clocks | Safety physician | 1 | Planned |
| Safety | Narrative writer | Drafts the case narrative with every sentence linked to its record (PRD-SYS-052) | Safety physician | 1 | Planned |
| Safety | Signal scout | Looks for disproportionate events across sites and studies | Medical monitor | 0 | Planned |
| Close-out | Lock readiness | Lists everything blocking database lock | Data manager | 0 | Planned |
| Close-out | Mapping and conformance | Drafts SDTM and ADaM specs and explains each conformance finding through lineage | Programmer, data manager | 1 | Planned |
| Close-out | Report writer | Drafts clinical study report sections (ICH E3) from locked data | Medical writer | 1 | Planned |
| All | Inspector's guide | Explains any record's history and why someone can or cannot act (K-EXP) | Auditor, QA | 0 | Planned |
Level 3 never covers observations, eligibility, causality, seriousness, coding approval, signatures, unblinding or any change to what the study claims about a participant.
Research-type packs
| Research type | What its pack adds |
|---|---|
| Drug and biologic | IND/CTA documents, SUSAR and DSUR rules, ICH E2A and E2B(R3) clocks, WHODrug |
| Medical device | ISO 14155 investigation plan, device deficiencies, ADE/SADE/USADE classification, EU MDR Article 80 and FDA IDE reporting, device accountability |
| Diagnostic (IVD) | Performance study design, specimen chain of custody, EU IVDR reporting |
| Cell and gene therapy | Long-term follow-up schedules, chain of identity, delayed adverse events |
| Observational and real-world | No interventions; EHR and registry sources; no dosing or supply agents |
| Investigator-initiated | One person may hold several roles; separation of duties still refuses self-approval |
How a run works
Steps 1 and 2 and the ledger record in step 5 are built; the tools, the citation verifier and the Proposal a run writes (steps 3 to 5) come with #5547.
- A person asks (Assist panel, command palette, a form) or a kernel event fires (new data, an SAE, an amendment, an indicator breach).
- The runtime picks the newest task configuration version the tenant has qualified on its current content (or refuses, saying why) and checks the budget and kill switch.
- The agent reads through tools that carry the requester's grants, narrowed by the configuration's allow-list.
- The citation verifier drops anything that does not trace to a node the run read.
- The runtime writes one kernel Proposal naming the model and configuration version, and records the run in the interaction ledger.
- A person reviews the diff and citations and approves with an attestation. Approval runs nothing: the approver then sends each of the proposal's commands as themself, naming the proposal (
CommandMetadata.Proposal, K-AI-2).
The kernel side of steps 3 and 6 is built (ADR-2632): an agent acts for one person and is bounded by that person's grants and visibility, and the kernel checks each command sent under an approved proposal against it and links it in provenance (proposal_id), events (ProposalExecuted) and lineage (ExecutedUnder). Standing grants (level 3) follow under the same ADR.
The agent factory
Agents run as a factory (ADR-2630 §4.8): agent and task definitions are versioned code tested in CI; context comes from kernel reads under the requester's grants and from MCP and APIs; agents run in sandboxed workers with pluggable inference and tenant data kept in the deployment; orchestration routes each task to its qualified configuration under budgets; and access is the Canvas, the subject portal and an MCP server. Evaluation sets from real clinical workflows, a calibrated LLM judge and production signals measure every configuration, and improvements arrive as reviewed pull requests, never as self-modification.
Inference and data sovereignty
ADR-2636 decides where models run. Claude is reached through the Claude API, Claude Platform on AWS, Amazon Bedrock, Google Cloud Vertex AI or Microsoft Foundry, and a tenant can be limited to models the operator runs inside the deployment through an OpenAI-compatible endpoint. One router applies each tenant's inference policy (LocalOnly, ResidencyBound by default, or Open), the tenant's residency, the supplier's approval status and the task configuration's qualified routes, and records the route on the run. Every outbound request refuses identity-layer content and scrubs direct identifiers from free text as a protective control. Agent runs execute in a sandbox with no network beyond the routed model endpoint and the kernel read ports. Each provider has a supplier record the sponsor's quality unit approves (Annex 11 §3).
Regulatory map
ADR-2630 §4.10 maps 21 CFR Part 11, EU GMP Annex 11 and the draft Annex 22, ICH E6(R3), GAMP 5, the FDA draft guidance on AI for regulatory decision-making, the FDA and EMA Guiding Principles of Good AI Practice, the EMA reflection paper, the device regulations, the EU AI Act, HIPAA and GDPR to the control and the place it lives. Cadence supplies the controls; the sponsor owns the validation and context-of-use argument for its own use.