Generative AI Assistant for Agricultural Field Trial Analysis

agmatix · Other · 2024 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: agricultural field-trial analytics

Agmatix needed to help agronomists and R&D teams analyze complex agricultural field-trial data without spending hours cleaning data, choosing visualizations, building dashboards, and manually connecting trial variables to research hypotheses.

Constraints:

Architecture

Agmatix integrated Amazon Bedrock and Anthropic Claude into its AWS-based field-trial analytics platform as Leafy, a generative AI assistant. Multi-source trial data lands in an Amazon S3 data lake, AWS Glue performs data quality checks and transformations, AWS Lambda enriches the data, and the Insights application reads field-trial data, business rules, widget definitions, and user questions into a prompt for Claude through Bedrock. The response is rendered back to agronomists through Agmatix widgets and dashboards.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  agronomist_or_rd_user["Agronomist or R&D user"] --> leafy_ai_assistant["Leafy AI assistant"]
  leafy_ai_assistant --> agmatix_insights_application["Agmatix Insights application"]
  amazon_s3_data_lake["Amazon S3 data lake"] --> aws_glue_etl["AWS Glue ETL"]
  aws_glue_etl --> aws_lambda_enrichment["AWS Lambda enrichment"]
  aws_lambda_enrichment --> field_trial_data_and_rules["Field-trial data and rules"]
  field_trial_data_and_rules --> agmatix_insights_application
  agmatix_insights_application --> amazon_bedrock_api["Amazon Bedrock API"]
  amazon_bedrock_api --> anthropic_claude["Anthropic Claude"]
  anthropic_claude --> agmatix_insights_application
  agmatix_insights_application --> visualization_widgets["Visualization widgets"]
  visualization_widgets --> agronomist_or_rd_user
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Agronomist or R&D user Domain expert who asks natural-language questions about trial data and interprets the assistant's outputs. Leafy AI assistant
Leafy AI assistant Generative AI assistant that accepts natural-language field-trial questions and returns dashboards, widgets, and insights. Agmatix Insights application, Visualization widgets
Agmatix Insights application Application layer that collects user questions, tasks, trial data, rules, and context before sending prompts to Bedrock. Amazon Bedrock API, Field-trial data and rules, Visualization widgets
Amazon S3 data lake Storage layer for multi-source agricultural field-trial data. AWS Glue ETL
AWS Glue ETL Performs data quality checks and transformations on trial data stored in S3. AWS Lambda enrichment
AWS Lambda enrichment Further enriches transformed data before it becomes input to AI/ML services. Field-trial data and rules
Field-trial data and rules Trial results, business rules, contextual instructions, and widget metadata included in prompts to Claude. Agmatix Insights application
Amazon Bedrock API Managed foundation-model access layer used by Agmatix to call Anthropic Claude. Anthropic Claude
Anthropic Claude Foundation model that receives the task and field-trial context and generates an answer for the Insights application. Agmatix Insights application
Visualization widgets Dashboard and chart widgets that show the model response and trial-data visualizations to the user. Agronomist or R&D user

Data flow

Agronomists upload or enter field-trial data into Agmatix. Multi-source data is stored in Amazon S3, transformed and quality-checked by AWS Glue, enriched by AWS Lambda, and made available to AI/ML services. When a user asks Leafy a natural-language question, the Insights application reads field-trial data, business rules, and other required context from the data lake, sends a prompt with the task and data to Anthropic Claude through Amazon Bedrock, and displays the generated answer through Agmatix visualization widgets.

3 supporting quotes
“Multi-source data is initially received and stored in an Amazon Simple Storage Service (Amazon S3) data lake.”article, stated
“AWS Glue accesses data from Amazon S3 to perform data quality checks and important transformations.”article, stated
“The agent inside the Insights application collects questions and tasks and the relevant data, and sends it as a prompt to the FM through Amazon Bedrock.”article, stated

Why this architecture

Agmatix uses a data-pipeline-first architecture because generative AI only becomes useful for field trials after data is collected, standardized, quality-checked, and enriched. Bedrock provides managed access to Anthropic Claude, while the Insights application controls the prompt context and user-facing widgets so agronomists can ask natural-language questions without manually building every dashboard.

3 supporting quotes
“The first step in developing and deploying generative AI use cases is having a well-defined data strategy.”article, stated
“Instead of spending hours evaluating data points for investigation, selecting the right visualization tools, and creating multiple dashboards”article, stated
“Agmatix’s Insights solution sends a request to Anthropic Claude on Amazon Bedrock through an API”article, stated

Models used: Amazon Bedrock foundation models · Anthropic Claude

Scale

Alternatives considered (roads not taken)

Manual dashboard construction for every analytical question

Rejected because: Building dashboards and choosing visualizations manually is complex and time-consuming for agronomists.

“the ability to build an analytical dashboard to analyze trial data and gain meaningful insights from field trials is complex and time-consuming.”article, stated

Leave users to choose visualization methods unaided

Rejected because: The article says selecting the right visualization technique is itself difficult, so Leafy provides relevant dashboards and insights directly.

“selecting the most appropriate visualization technique that facilitates understanding of patterns and identification of anomalies within the data can be a challenging task.”article, stated
“get Leafy to provide the relevant dashboards and insights immediately”article, stated

Treat data cleaning and harmonization as manual user work

Rejected because: Agmatix automates the undifferentiated work of cleaning, standardizing, harmonizing, and processing field-trial data.

“The time-consuming, undifferentiated task of cleaning, standardizing, harmonizing, and processing the data is automated and handled by Agmatix’s intelligent service.”article, stated

Use generative AI as a replacement for human agronomic expertise

Rejected because: Agmatix frames the assistant as complementing experts so they can focus on strategic decisions and creative problem-solving.

“AI complements, rather than replaces, human expertise.”article, stated
“enabling them to concentrate on strategic decision-making and creative problem-solving.”article, stated

Patterns

tool-use-orchestration (assistant workflow)

Leafy's agent inside the Insights application orchestrates the user's question, trial data, business rules, and Bedrock model call before returning the response through visualization widgets.

“Agent – The agent that performs the orchestration of tasks”article, stated
“The agent inside the Insights application collects questions and tasks and the relevant data, and sends it as a prompt to the FM through Amazon Bedrock.”article, stated

rag-retrieval (field-trial context grounding)

The assistant grounds Claude's response in field-trial data, rules, widget context, and user questions pulled from Agmatix's data pipeline.

“The data in the prompt includes two types of data:”article, stated
“The application reads the field trial data, business rules, and other required data from the data lake.”article, stated

data-quality-loop (agricultural data preparation)

Agmatix standardizes, harmonizes, quality-checks, transforms, and enriches field-trial data before it becomes model context.

“Agmatix has developed proprietary patented technology to harmonize and standardize data”article, stated
“AWS Glue accesses data from Amazon S3 to perform data quality checks and important transformations.”article, stated

structured-output-contract (visual analytics response)

The prompt gives Claude available widget types and field-trial context so the answer can be displayed through Agmatix's visualization widgets rather than as free-form text alone.

“Context data instructions to the model; for example, a list of the types of widgets available for visualization.”article, stated
“The response is displayed to the user through the widgets visualizing the trial data and the answer to the user’s specific question”article, stated

Tradeoffs

Use natural-language assistant workflows over manual dashboard building.

Chose Leafy answering questions and providing dashboards immediately over Hours of manual data-point evaluation, visualization selection, and dashboard creation.

Rationale: The assistant reduces repetitive analytical setup so agronomists can focus on interpretation and higher-value work.

“Instead of spending hours evaluating data points for investigation, selecting the right visualization tools, and creating multiple dashboards”article, stated
“agronomists can write their questions in natural language and get Leafy to provide the relevant dashboards and insights immediately (see the following screenshot for an example of Leafy in action). This helps improve productivity and user experience.”article, stated

Put data engineering before model prompting.

Chose Ingestion, storage, ETL, data governance, quality checks, and enrichment before Bedrock calls over Sending raw, unstandardized field-trial data directly to the model.

Rationale: Field-trial data has to be harmonized and transformed before it can support reliable analytical answers.

“The first step in developing and deploying generative AI use cases is having a well-defined data strategy.”article, stated
“AWS Lambda is then used to further enrich the data. The transformed data acts as the input to AI/ML services. The generated insights are accessed by users through Agmatix’s interface.”article, stated

Use Bedrock-managed Claude access.

Chose Anthropic Claude through Amazon Bedrock over A bespoke model-hosting or model-integration path.

Rationale: Bedrock provides managed foundation model access, model choice, security, privacy, and responsible AI capabilities for the application.

“Amazon Bedrock is a fully managed, serverless generative AI offering from AWS”article, stated
“a broad set of capabilities to build generative AI applications with security, privacy, and responsible AI.”article, stated

Complement rather than replace agronomists.

Chose Self-service analytical tools for expert users over Full automation of agronomic judgment.

Rationale: The source explicitly positions AI as support for experts so they can focus on strategic decisions and creative problem-solving.

“we provide our customers with self-service analytical tools that simplify complex and time-consuming tasks.”article, stated
“enabling them to concentrate on strategic decision-making and creative problem-solving.”article, stated

Gotchas (what bit them)

Generative AI is only useful after field-trial data is standardized and governed.

Root cause: Agricultural trial data arrives from manual processes and disparate systems with cleaning, standardization, harmonization, and processing burdens.

Resolution: Agmatix built a data pipeline with S3, Glue, Lambda, and its own harmonization technology before sending data to AI/ML services.

“Most companies are unable to use their field trial data based on manual processes and disparate systems.”article, stated
“data pipeline (as shown in the following architecture diagram) consists of ingestion, storage, ETL (extract, transform, and load), and a data governance layer.”article, stated

Agronomists can be overwhelmed by the number of parameters in a trial.

Root cause: Each trial may contain hundreds of parameters, and users may not know which variables matter for a particular research question.

Resolution: Leafy lets users ask natural-language questions and receive relevant dashboards and insights instead of manually inspecting all data points.

“Each trial may contain hundreds of different parameters, and it’s challenging for an agronomist to understand which parameters and data points are meaningful”article, stated
“agronomists can write their questions in natural language and get Leafy to provide the relevant dashboards and insights immediately”article, stated

Choosing the wrong visualization can hide patterns or anomalies.

Root cause: The analytics surface offers many visualization techniques, and selecting the most appropriate one requires expertise.

Resolution: Leafy uses trial data, rules, and widget context to provide relevant dashboards and answers through the application.

“There is a wide range of analytical visualization tools and charts (such as ANOVA One-Way, Regression, Boxplots, and Maps) available to choose from.”article, stated
“selecting the most appropriate visualization technique that facilitates understanding of patterns and identification of anomalies within the data can be a challenging task.”article, stated

Dashboards alone do not answer the research question.

Root cause: Even after dashboard creation, agronomists still need to connect trial results, hypotheses, inputs, grain weight, and external factors.

Resolution: Leafy is designed to answer open-ended questions using trial data and return insights alongside visualizations.

“after the analytical dashboard is created, it can be complex to draw conclusions and establish connections between the different data points.”article, stated
“Is there a connection between the fertilizer applied and the weight of the grain produced?”article, stated

The system must keep humans responsible for strategic agronomic judgment.

Root cause: Agricultural R&D involves complex challenges and tasks that require human knowledge and intervention.

Resolution: Agmatix positions Leafy as a self-service analytical assistant that complements domain experts rather than replacing them.

“tasks that require human knowledge and intervention.”article, stated
“AI complements, rather than replaces, human expertise.”article, stated

Evaluation

The article reports production outcome measures rather than a formal LLM evaluation harness. It evaluates the system by operational improvements in efficiency, data integrity, and analysis throughput, plus user-facing ability to generate relevant dashboards and insights from natural-language questions.

Metrics: over 20% improved efficiency · more than 25% improvement in data integrity · three-fold increase in analysis potential throughput · productivity · user experience · ability to provide relevant dashboards and insights

3 supporting quotes
“observed over 20% improved efficiency, more than 25% improvement in data integrity, and a three-fold increase in analysis potential throughput.”article, stated
“get Leafy to provide the relevant dashboards and insights immediately”article, stated
“agronomists can write their questions in natural language and get Leafy to provide the relevant dashboards and insights immediately (see the following screenshot for an example of Leafy in action). This helps improve productivity and user experience.”article, stated

Outcomes

The case is field-trial R&D scale rather than consumer scale: each trial can have hundreds of parameters, Agmatix's infrastructure powers the largest open nutrient database for crop nutrition, and researchers can draw from thousands of field trials.

3 supporting quotes
“agronomists can write their questions in natural language and get Leafy to provide the relevant dashboards and insights immediately”article, stated
“researchers can tap into insights gleaned from thousands of field trials.”article, stated
“input manufacturers can reduce the time and cost associated with field trials, while improving the overall productivity and experience of agronomists and growers.”article, stated