plausible or flag for each gene, with reasons and sources.
Prerequisites
- An API key
- Python 3.10 or later with the
requestspackage phylo_client.pyfrom Building a Python client, saved beside your script
requests, then set your API key:
https://api.phylo.bio/v1. If you’re an Enterprise customer,
set the PHYLO_BASE_URL environment variable to the API base URL shared by your
Phylo representative.
By default, the script creates a project called “API demo”. To use an existing
project instead, set PHYLO_PROJECT_ID to its ID.
How it works
main() creates the review task with auto_mode=True, waits for it to
finish, and downloads review.json. It then writes every flagged gene, with
the agent’s reasons and sources, to scientist_checklist.md.
write_checklist() turns the flagged genes into a Markdown checklist with a
link to the task:
https://biomni.phylo.bio. If you’re an Enterprise customer,
set WEB_BASE to your Biomni URL.
With Auto mode on, the task does not stop to wait for a person. Biomni answers
its own clarification questions and approves its own plan, and marks both in
the task.

Auto mode in the review task: the clarification question was answered automatically and the plan was approved automatically.
Run the script
Save the full script asgene_list_review.py beside
phylo_client.py, then run:
gene-review/<task-id>/.
Example results
The review found 10 genes plausible (NF1, MED12, NF2, CUL3, TADA2B, TADA1, CIC, KEAP1, PTEN, DUSP4) and flagged 5:
The finished review: 10 genes plausible and 5 flagged, saved as review.json.
scientist_checklist.md
Adapting this for your gene list
- Replace
GENESwith your list, and editREVIEW_PROMPTto describe your screen and the checks you want. - Keep a fixed verdict field, like
plausibleorflag, so your code can route results without reading the agent’s prose.
Full script
gene_list_review.py
