Build a Mastra AI Patent Infringement & Genomics Prior Art Workflow Agent
Multi-million dollar patent litigation in single-cell and liquid biopsy technologies demands automated prior art comparison tools. Build a TypeScript workflow agent using Mastra AI to parse patent claim language, search scientific literature prior art, and compute claim overlap scores.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a Mastra AI TypeScript workflow agent to compare genomic sequencing patent claims against scientific prior art.
How work is evaluated
Evaluates Mastra AI workflow accuracy in mapping patent claim elements to scientific prior art.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
high_overlap_invalidation
Ensures overlap score > 0.8 correctly sets novelty_invalidated to true.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
claim_mapping_precision
Precision of matched patent claim elements to prior art passages. • target: 0.88 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Construct stateful workflows and agent steps using Mastra AI framework in TypeScript
Extract independent and dependent legal claims from genomic sequencing patent filings
Perform vector semantic retrieval over scientific PubMed abstracts for prior art detection
Calculate claim element mapping metrics and novelty conflict summaries
Reference links and supporting material
Dataset of 20 paired single-cell/liquid biopsy patent claims and corresponding peer-reviewed research papers published prior to patent filing date.
Challenge setup
Evaluates Mastra AI workflow accuracy in mapping patent claim elements to scientific prior art.
Challenge input
JSON containing claim_text (string) and prior_art_abstract (string).
Mastra AI
TypeScript framework for modular AI workflows and state management.
Evaluated output
JSON containing overlap_score (float), mapped_elements (list), and novelty_invalidated (boolean).
- Ensures overlap score > 0.8 correctly sets novelty_invalidated to true.
- Precision of matched patent claim elements to prior art passages. • target: 0.88 • range: 0-1
- Benchmark: Patent Prior Art Mapping Benchmark
- Claim Mapping Precision target: 0.88
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Mastra AI · Required
- Cohere · Optional
- Protect AI · Optional
- Mastra AI · Required
Evaluation contract
- high_overlap_invalidation · Weight 1
- claim_mapping_precision · Weight 1
Metrics
- claim_mapping_precision · Target 0.88
Benchmarks
- Patent Prior Art Mapping Benchmark
- biotech
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing claim_text (string) and prior_art_abstract (string).
Output: JSON containing overlap_score (float), mapped_elements (list), and novelty_invalidated (boolean).
Execution harness: JavaScript
Evaluation tools
- Mastra AI · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.