Skip to Content

Flaring Agent

The Flaring Compliance Monitor Agent continuously tracks flaring and venting activity across an operator’s wells and leases. It monitors compliance with RRC Rule 32 authorizations, EPA methane emission rules, and greenhouse gas reporting obligations.

Configuration

PropertyValue
Agent IDflaring-monitor-agent
Agent Typeflaring_monitor
Primary Modelgpt-4o
Fallback Modelgpt-4o-mini
YAML Fileagents/flaring-compliance-agent.yaml

Purpose

The Flaring Monitor is a specialized monitoring agent focused entirely on flaring and venting compliance. Its responsibilities include:

  1. Volume tracking — track daily and monthly flaring volumes against active R-32 authorizations
  2. Threshold alerts — alert when volumes reach 80% of permitted maximums
  3. Duration monitoring — flag wells approaching the 180-day cumulative flaring limit
  4. Form PR validation — validate production report data before monthly submission
  5. EPA applicability — assess OOOOb applicability for wells drilled after November 15, 2021
  6. Exceedance forecasting — predict authorization exceedances using decline curve analysis
  7. Readiness scoring — generate compliance readiness scores for each well and lease

Skills

Skill IDNamePurpose
flaring-volume-calcFlaring Volume CalculationCalculate and track flaring volumes against R-32 authorization limits across the portfolio
emissions-estimateEmissions EstimateCalculate CO2e emissions using EPA factors for OOOOb/GHGRP Subpart W compliance tracking

Alert Thresholds

The Flaring Monitor uses specific quantitative thresholds to trigger alerts:

Threshold TypeTrigger PointAlert LevelDescription
Volume80% of R-32 authorized maximumWARNINGFlaring volume approaching permitted cap
Duration150 of 180 cumulative daysWARNINGApproaching the maximum authorized flaring duration
EPA wellWell drilled after 2021-11-15INFOOOOOb applicability assessment needed
UnauthorizedAny unauthorized flaring eventCRITICALImmediate alert — flaring without valid R-32 authorization
Volume exceeded100% of R-32 authorized maximumCRITICALAuthorization limit exceeded
Duration exceeded180 cumulative daysCRITICALMaximum authorized duration exceeded

Unauthorized flaring events trigger an immediate CRITICAL alert. Any flaring activity detected at a well or lease without a valid R-32 authorization is flagged for urgent compliance team review.

Regulatory Frameworks Tracked

The Flaring Monitor covers four overlapping regulatory frameworks:

FrameworkAuthorityScope
RRC Statewide Rule 32 (16 TAC 3.32)Railroad Commission of TexasState flaring and venting exception authorizations
EPA OOOOb/cUS Environmental Protection AgencyFederal methane emission standards for oil and gas operations
GHGRP Subpart WUS EPAGreenhouse gas reporting for petroleum and natural gas systems
TCEQ Air QualityTexas Commission on Environmental QualityState-level air emission permits and thresholds

The Flaring Monitor tracks both state (RRC, TCEQ) and federal (EPA) requirements simultaneously. This is important because a flaring event that is authorized under Rule 32 may still trigger federal reporting obligations under GHGRP Subpart W.

HITL Checkpoints

CheckpointRequiredReviewer StrategyDescription
compliance_alertNorole_basedNotify compliance team of threshold approach

The HITL checkpoint is not required — the Flaring Monitor is designed to run continuously without blocking on approval. When it detects a threshold approach or violation, it creates a notification for the compliance team but continues monitoring.

Budget

LimitPer ExecutionPer Day
Tokens50,000500,000
Cost (USD)$3.00$30.00

The budget is sized for frequent, lightweight assessments. The daily limit of 500,000 tokens supports roughly 10 full portfolio scans per day, or more frequent targeted assessments of individual wells.

Alert Channels

The Flaring Monitor delivers alerts through two channels:

ChannelDeliveryUse Case
DashboardReal-time in the AEGIS UIPrimary alert surface for the compliance team
EmailNotification to designated recipientsCritical alerts and daily/weekly summaries
metadata: domain: oil_and_gas jurisdiction: texas regulator: rrc monitoring_type: continuous alert_channels: - email - dashboard

Monitoring Workflow

The Flaring Monitor follows this continuous assessment loop:

Per-Entity Assessment

  1. Pull current data — retrieve flaring volumes, authorization status, and production data from the knowledge graph
  2. Check authorization — verify that the well/lease has a valid, non-expired R-32 authorization
  3. Compare volumes — compare current flaring volumes against the authorized maximum
  4. Check duration — calculate cumulative flaring days against the 180-day limit
  5. Assess EPA applicability — determine OOOOb/c applicability based on well drilling date
  6. Forecast trend — project future volumes using recent trends to predict exceedances
  7. Generate score — compute a composite compliance readiness score
  8. Emit alerts — create appropriate alerts based on threshold analysis

Form PR Validation

Before monthly Form PR submission, the Flaring Monitor validates:

CheckWhat It Validates
Volume consistencyFlared + vented + sold + used = total gas produced
Disposition codesCorrect codes (10 for flared, 11 for vented) assigned
Authorization matchReported flaring matches active R-32 authorizations
Trend anomaliesMonth-over-month changes that exceed expected decline curves

Integration with Rule 32 Agent

When the Flaring Monitor detects that a well or lease needs a new or renewed R-32 authorization, it escalates to the Rule 32 agent:

TriggerEscalation
R-32 expiring within 30 daysAlert with recommendation to initiate renewal
Volume approaching 80% of authorized maxAlert with current volumes and projected timeline
Unauthorized flaring detectedCRITICAL alert — Rule 32 filing required immediately
New well without OOOOb assessmentAlert for EPA compliance review

The Flaring Monitor does not initiate R-32 filings directly. It identifies the need and alerts the compliance team, who can then start a Rule 32 agent session to prepare the filing.

Last updated on