Skip to content

Latest commit

 

History

History
183 lines (140 loc) · 6.39 KB

File metadata and controls

183 lines (140 loc) · 6.39 KB

Quickstart

BioProspector is a skill for your agent. The fastest path is to install it into the agent harness you already use, then describe a target molecule, host chassis, constraints, and available compute. The agent runs the commands and returns review artifacts for a biosynthetic pathway campaign. This quickstart shows both the agent path and the self-run path you can use to verify the install or look under the hood.

Everything described here stays local. Generated artifacts land under .runtime/, which is gitignored. Real user runs can still return results through user-approved external workdirs, volumes, or buckets plus compact pointers, checksums, summaries, route decisions, and review packages.

If the terminology is new, read FAQ.md and GLOSSARY.md first. For tracker, cloud-readiness, or live-run handoff paths after the quickstart, use WORKFLOWS.md.

Agent Path

  1. Install BioProspector as a skill in your agent harness. See AGENT_INSTALL.md for Claude Code, Codex, and Symphony-compatible workers.

  2. Paste a starter prompt from AGENT_PLAYBOOK.md or write your own. A simple one:

    Use the bioprospector skill in this checkout. Run doctor, then create a
    first campaign for <target molecule> in <host>. Expand biosynthetic route
    hypotheses, draft construct-oriented work lanes, and produce a short review
    package under .runtime/.
    
  3. Review what the agent returns. The compact, human-readable artifacts to read first are the campaign status, the handoff packet, and the review package.

Self-Run Path

You do not need this path for the agent flow. It is useful when you want to verify the install, inspect what the agent does under the hood, or extend the skill.

Prerequisites:

  • Python 3.11 or newer.
  • make and a POSIX shell for the bundled local command targets.
  • git for tracked-file hygiene checks.
  • Run commands from the repository root unless a command says otherwise.
  • Optional: gitleaks for local secret/history scanning before any public switch.
flowchart LR
  A["doctor"] --> B["local demo"]
  B --> C["inspect outputs"]
  C --> D["scaffold campaign"]
  D --> E["input audit"]
  E --> F["issue drafts"]
  F --> G["review artifacts"]
  G --> H["release checks"]
Loading

1. Check The Checkout

python3 skills/bioprospector/scripts/bioprospector_doctor.py --include-runtime

The doctor verifies the local schema, core scripts, public examples, public audit, and forbidden tracked directories. Optional bioinformatics/cloud tools are reported as optional only.

2. Run The Local Demo

make local-demo

This builds a campaign graph, metadata-only GeneCluster atlas plan, synthetic Atlas contract outputs, candidate package indexes, route-frontier rankings, and compact review packages.

Useful outputs:

  • .runtime/local-demo/huperzine/campaign-plan.json
  • .runtime/local-demo/huperzine/genecluster-atlas/genecluster-atlas-plan.json
  • .runtime/local-demo/genecluster-synthetic/atlas/
  • .runtime/local-demo/huperzine/candidate-package/
  • .runtime/local-demo/nootkatone/ranking/pareto-frontier-ledger.tsv
  • .runtime/public-demo-smoke/nootkatone/issues/

3. Generate A New Campaign Scaffold

python3 skills/bioprospector/scripts/bioprospector_new_campaign.py \
  --target-contract templates/target-contract.example.json \
  --out .runtime/scaffolds/example-target-v0 \
  --campaign-id example-target-v0

The scaffold is compact and reviewable. Promote only reviewed, sanitized summaries into tracked examples.

4. Validate Before Asking Questions

python3 skills/bioprospector/scripts/bioprospector_preflight.py \
  --campaign .runtime/scaffolds/example-target-v0/campaign-manifest.json \
  --repo-root . \
  --scan-local-artifacts

python3 skills/bioprospector/scripts/bioprospector_input_audit.py \
  --campaign .runtime/scaffolds/example-target-v0/campaign-manifest.json

Ask operators only for true missing decisions. If planning proceeds on assumptions, record the assumption and keep execution/claim closeout blocked until it is confirmed.

5. Validate Stage Contracts

python3 skills/bioprospector/scripts/bioprospector_stage_contract.py \
  --campaign skills/bioprospector/examples/nootkatone-yeast-v0/campaign-manifest.json

Use --require-terminal --require-real-execution only for a real closeout gate; the public examples intentionally remain review-only.

6. Draft Work Lanes

python3 skills/bioprospector/scripts/bioprospector_issue_dry_run.py \
  --campaign skills/bioprospector/examples/nootkatone-yeast-v0/campaign-manifest.json \
  --prefix NOOTKATONE \
  --out .runtime/nootkatone-linear-issues \
  --include-profile full-frontier

full-frontier drafts evidence, provider-preflight, sequence-search, candidate-package, GeneCluster, scale-control, self-learning, and opportunity lanes. It creates Markdown issue bodies only.

7. Build Review Artifacts

python3 skills/bioprospector/scripts/bioprospector_campaign_graph.py \
  --campaign skills/bioprospector/examples/huperzine-frontier-public-v0/campaign-manifest.json \
  --out .runtime/campaign-graphs/huperzine-frontier-public-v0.json

python3 skills/bioprospector/scripts/bioprospector_candidate_package.py \
  --campaign skills/bioprospector/examples/huperzine-frontier-public-v0/campaign-manifest.json \
  --out .runtime/candidate-packages/huperzine-frontier-public-v0

python3 skills/bioprospector/scripts/bioprospector_dossier_export.py \
  --campaign skills/bioprospector/examples/huperzine-frontier-public-v0/campaign-manifest.json \
  --sidecar-dir .runtime/candidate-packages/huperzine-frontier-public-v0 \
  --out .runtime/dossiers/huperzine-frontier-public-v0.md

Review artifacts are indexes and summaries. They are not raw sequence archives, wet-lab plans, production claims, or biological validation.

8. Run Release Checks

make release-check

This runs syntax checks, unit tests, package smoke checks, doctor checks, docs link checks, example preflights, local demo generation, root audit, and runtime audit.

Before any future public switch, also run:

gitleaks dir . --no-banner --redact --verbose
gitleaks detect --source . --no-banner --redact --verbose

See PUBLIC_SWITCH_CHECKLIST.md and PRIVACY_SECURITY_MODEL.md for the publication boundary.