aidentity / index

agentii-ai/agentii-investment-intelligence · Apache-2.0

peer-bench-med

Med peer benchmarking: select actual biotech/pharma peers via the med universe (drug/indication overlap where possible) and compare med-relevant metrics — pipeline depth, catalyst density, cash position, margins, valuation multiples.

stable

Contents

> Methodology inspired by publicly taught peer-comparison frameworks; all text is an original paraphrase.

Defaults

ParameterDefault ValueRationale
peer_count4-6Comparable-set size standard for comps
peer_logicindication/drug overlap firstMed peers are defined by science, not SIC codes
include_med_metricstruePipeline depth, catalyst density, cash runway

Preflight

Run canonical pre-flight per contracts/preflight.md. Include the X-Agentii-Trace header on every tool call per contracts/x-agentii-trace-header.md — carry the _run_id from your first tool result and name yourself (and your parent, if you were spawned).

Never fabricate a peer metric when the data surface is absent — annotate coverage_gap instead (spec 055 FR-B02 discipline).

Triggers

  • "Who are the closest peers to [biotech ticker]?"
  • "Benchmark [ticker] against its biotech comp set."
  • "How does [ticker]'s valuation compare to peers?"
  • "Which names compete with [ticker]'s pipeline?"
  • "Build a peer table with pipeline depth and cash."
  • "Is [ticker] expensive relative to its med peers?"
  • "Compare margins across the pharma peer group."
  • "What are the catalyst-dense names in this peer set?"
  • "Peer analysis for [ticker] with indication overlap."
  • "Which peers have the strongest balance sheets?"
  • "Which same-mechanism competitors matter for [ticker]'s pipeline?"

Production Grounding

  • Med peers are science-defined: use get_company_drugs to find indication/therapy overlap before financial comparison.
  • Launch-analog selection: for commercial-stage names, match same-class (mechanism/indication class) + same-channel (specialty/retail/hospital/device-rep/vaccine-procurement) analogs so launch trajectories compare like-for-like.
  • Mechanism-overlap scoring: rank candidate peers by shared targets/indications via the drug-knowledge reverse lookups; where sources conflict, keep both values with provenance.
  • Med-relevant metrics: pipeline assets by phase, catalyst density (PDUFA/AdCom/trial readouts), cash runway (quarters), R&D productivity; generic margins only as secondary.
  • Grounding frameworks: references/knowledge-frameworks.md (道/法 review knowledge + valuation lenses).

Data Source Priority

  1. get_company_drugs / search_companies — peer discovery by drug/indication overlap.
  2. search_drugs_by_target / search_drugs_by_indication — mechanism competitor mapping + overlap scoring (054 silver reverse lookups).
  3. get_financial_ratios / search_xbrl_facts — financial comparison data.
  4. get_peer_comparison — platform pre-computed peer metrics.
  5. Knowledge layer: search_investment_cases/search_by_analogue for historical peer dynamics + launch analogs.

Methodology

Retrieval Scope

structured_only

Retrieval Strategy
  1. Resolve the target via get_company_profile; pull its drugs (get_company_drugs).
  2. Find peers by indication/therapy overlap + med industry membership (search_companies).
  3. Map mechanism competitors: search_drugs_by_indication / search_drugs_by_target per key indication/target; score peers by shared targets/indications (conflicting sources shown with provenance).
  4. Match launch analogs for commercial-stage names: same-class + same-channel; retrieve analog launch history via knowledge tools.
  5. Pull per-peer financials (get_financial_ratios) + valuation context.
  6. Ground with historical cases/analogues via knowledge tools.
Temporal Scope

See frontmatter temporal_scope block.

Tool Allowlist

See frontmatter allowed_tools.

Protocol
  1. Target profile
  2. Science-based peer selection (indication/drug overlap)
  3. Mechanism-overlap scoring (reverse lookups)
  4. Launch-analog matching (same-class, same-channel)
  5. Med-metric comparison
  6. Valuation & risk synthesis

Modes

  • Science-based (default): indication/drug-overlap peers.
  • Launch-analog (commercial-stage): same-class, same-channel analog peers with launch-trajectory context.
  • Financial: margin/valuation peers within the same industry.
  • Catalyst: peers ranked by upcoming FDA events.

Tool Fallbacks

FailureFallback
get_company_drugs emptyFall back to industry peers via search_companies; annotate
Reverse lookups emptyScore overlap from get_company_drugs classes only; annotate mechanism mapping unavailable
get_peer_comparison emptyBuild comparison manually from get_financial_ratios
Knowledge tools emptyProceed with structured data only

Output File

{ticker}/{YYYY-MM-DD_HHMM}_peer-bench-med_{affix}.md

Output Structure

  1. Executive Summary — relative standing in 2-3 sentences
  2. Peer Selection — peers + selection logic (science overlap)
  3. Mechanism Overlap — target/indication overlap matrix from reverse lookups, scored by shared mechanisms; conflicting source values shown with provenance
  4. Launch-Analog Match — same-class, same-channel analogs (commercial-stage names)
  5. Comparison Table — med metrics + financials + valuation
  6. Historical Context — cases/analogues with /v/ citations
  7. Risk Assessment — concentration/catalyst risks
  8. Coverage Gaps — missing data flags

Error Handling

ErrorFallback
No indication overlap foundWiden to same-industry peers; flag science-overlap unavailable
Mechanism data missingScore from indication overlap only; flag reverse-lookup coverage gap
Missing financialsMark N/A in table; do not fabricate

Memory Load

See contracts/memory-load.md.

Snapshot

See contracts/snapshot-synthesis.md.

Final Summary (TUI)

Include ### Key Citations block with 0-10 clickable /v/ URLs.

References

  • contracts/citation-and-memory.md
  • contracts/output-frontmatter-schema.md
  • contracts/memory-load.md
  • contracts/snapshot-synthesis.md
  • contracts/preflight.md
  • references/knowledge-frameworks.md

Provenance

Authored by agentii-ai in agentii-ai/agentii-investment-intelligence. The content is mirrored here under its upstream license.

Related

3-statement 3-statement financial model, integrated IS BS CF, income statement projection, balance sheet forecast, cash flow statement, cross-statement balancing, financial model build, operating model, three statement model, integrated financial statements agentii-ai/agentii-investment-intelligence Apache-2.0 comps Comparable company analysis, trading comps, peer multiples, EV/EBITDA comparison, P/E benchmarking, comps table, relative valuation, industry multiples, precedent transactions, trading comparable analysis # Curated subset — provenance RECORDED 2026-09-21 (spec 058 T004/T005, FR-051). # # This value was NOT curated and reviewed. It reached the generated # `skill-registry.yaml` first, by a hand-edit of that file on 2026-09-20 (commit # `aea28b1`, "test and debug"), which put the repo red on Check 31 — the registry said # `[retrieval-scope]` while this file declared no `essentials_modes` at all. Spec 058 # then reconciled the divergence by declaring the registry's value here, which is the # declaration FR-051 asks for (the source of truth is this file; `sync-registry.sh` # regenerates the registry from it — `sync_registry.build_entries()` reads # `essentials_modes` straight from this frontmatter, so a hand-edit to the registry # cannot survive a check). # # What is still OPEN is the curation itself: nobody has judged whether # `retrieval-scope` is the right default for this skill. The kit's only documented # derivation, `essentials_modes = first <=3 modes` (scripts/mode_backfill.py), would # give `[preflight, triggers, defaults]` — this file's own document sections, not # analysis modes — which is why that derivation is not what was applied. Note the # asymmetry a reviewer should start from: `reverse-dcf` declares the SAME five modes # (`preflight, triggers, defaults, methodology, retrieval-scope`) and defaulted to # `[methodology]`, which is what `depth_to_modes`'s own fallback prefers where it # exists. Two skills, identical declared sets, different answers, no recorded reason. # Owner: whoever owns this skill's methodology. agentii-ai/agentii-investment-intelligence Apache-2.0 dcf DCF valuation model, discounted cash flow, intrinsic value, WACC calculation, terminal value, free cash flow projection, equity value per share, DCF sensitivity analysis, unlevered free cash flow, present value calculation, build a DCF agentii-ai/agentii-investment-intelligence Apache-2.0 full-equity-research The Auto 档 scenario — a soft-plan orchestrator for a complete fundamental equity research thesis: understand → financials → valuation → synthesize. The body is a soft plan (stages), not a rigid DAG; correctness is enforced by each referenced skill's own requires: preconditions, never by this plan's rigidity (Q2). agentii-ai/agentii-investment-intelligence Apache-2.0 lbo LBO model, leveraged buyout, private equity acquisition, sources and uses, debt schedule, returns waterfall, sponsor IRR, MOIC calculation, PE exit analysis, LBO valuation agentii-ai/agentii-investment-intelligence Apache-2.0