PharmCode
Control Stream Drafting Assistant
Draft, explain, and revise NM-TRAN control streams in conversation. PharmCode is a preview assistant: every proposal requires exact-deck validation and pharmacometrician review before use.
Key Features
Natural-Language Drafting
Turn a modeling brief into an editable NM-TRAN draft for a pharmacometrician to inspect and refine.
Control Stream Review
Ask for an explanation, revision, or repair while keeping the proposed control stream visible for human review.
Structural Lint
Surface syntax problems and known PharmFast capability boundaries before attempting a fit.
Engine Preflight
Send a proposed deck through PharmFast validation; dataset-dependent checks run with the selected data before fitting.
See it in action
Describe a model in plain English and PharmCode proposes an editable NM-TRAN draft. The live PharmFast gate can check its structure, while the selected dataset is required for data-dependent validation before a fit.



How It Works
Describe the Draft
State the model structure, data conventions, and analysis objective you want to explore.
Generate a Proposal
PharmCode returns an editable draft, not an approved analysis.
Review & Refine
A pharmacometrician checks the assumptions, code, and data mapping and requests revisions.
Validate & Execute
Run the exact deck and dataset through the engine gate before fitting; retain expert review for any final use.
Interested in PharmCode?
Try the preview for drafting and review; keep a pharmacometrician responsible for the final model.
Open the Integrated Workbench