CamAgent: An LLM-Agent Framework for Multi-Species Camera-Trap Workflows
Organizations: Faculty of Arts and Sciences, Beijing Normal University, Zhuhai, China. · College of Life Sciences, Beijing Normal University, Beijing, China. · National Forestry and Grassland Administration Key Laboratory for Conservation Ecology of Northeast Tiger and Leopard, Beijing, China. · Faculty of Geographical Science, Beijing Normal University, Beijing, China.
Abstract
Camera traps accumulated vast, multidimensional data for wildlife monitoring, yet translating raw media archives into meaningful ecological insights remains highly fragmented. Current research workflows require laboriously stitching together disparate analysis tools and scripts, creating steep programming hurdles and complicating end-to-end spatiotemporal analyses. To overcome this fragmentation, we present CamAgent, an autonomous Large Language Model (LLM) agent framework that integrates camera-trap analytical workflows into a unified intelligent ecosystem. CamAgent interprets natural-language ecological intent, schedules computational routing, and executes specialized tools spanning computer-vision perception (e.g., SpeciesNet), CamtrapDP-compatible data management, detection-corrected occupancy modeling, temporal activity analysis, and species co-occurrence networks. The framework automates multi-stage analytical pipelines while maintaining essential data-quality controls and analytical conventions. Consequently, CamAgent significantly reduces manual programming overhead for conservationists, establishing a transparent, scalable, and fully integrated paradigm for camera-trap ecology. Our project is available at https://anonymous.4open.science/r/artifact72c6f4.
Figures & tables
| Common name | Scientific name | Media records | Events |
|---|---|---|---|
| Siberian tiger | Panthera tigris altaica | 7,745 | 6,570 |
| Amur leopard | Panthera pardus orientalis | 11,704 | 9,882 |
| Sika deer | Cervus nippon | 625,249 | 345,300 |
| Siberian roe deer | Capreolus pygargus | 727,090 | 505,386 |
| Asiatic black bear | Ursus thibetanus | 4,229 | 3,614 |
| Name | Question type | Query sample | Outputs |
|---|---|---|---|
| QUAL | Data-quality assessment | Assess the Siberian tiger records for missing fields, invalid timestamps, possible label noise, and duplicate-like records. Explain which downstream ecological analyses remain supported. | Required-field completeness, timestamp checks, record-schema flags, duplicate-like groups, analytical restrictions, and Fig. 4 . |
| TEMP | Temporal activity and overlap | What is the activity pattern of the Siberian tiger, and how much temporal niche overlap does it have with other species? | Tiger activity distribution, activity-window shares, pairwise overlap coefficients, uncertainty intervals, and Fig. 5 . |
| SPAT | Spatial distribution and hotspots | Where are Siberian tiger detections concentrated across the camera network, and which cameras are the main detection hotspots? Return a privacy-safe map and do not interpret hotspots as density or occupancy. | Camera-level hotspot counts, a privacy-masked grid-cell map, detection-only interpretation limits, and Fig. 6 . |
| COMM | Dataset-wide community inference | Using the current camera-trap data, perform dataset-wide community inference across all eligible species rather than a hard-coded focal list. Estimate observed and Chao2 richness, Hill alpha and gamma diversity, Jaccard and Bray–Curtis beta diversity, partition Sørensen beta diversity into turnover and nestedness components, construct a species-accumulation curve, and test conditional shared-camera associations with false-discovery-rate correction. Return figures. | Dataset-wide diversity estimates, a species-accumulation curve, FDR-corrected shared-camera associations, and Fig. 7 . |
| MOVE | Camera-detection adjacency hypotheses | For Amur leopard detections separated by no more than 72 hours and 100 km, summarize candidate inter-camera distances, directions, and repeated camera pairs. Treat them as adjacency hypotheses, not individual tracks or confirmed corridors. | Distance and direction summaries, repeated directed camera-pair counts, interpretation limits, and Fig. 8 . |
| INTEG | Integrated ecological synthesis | Analyze Siberian tiger diel activity and overlap with Sika deer, identify its main detection hotspots, summarize shared-camera occurrence between the two species, check the relevant data quality, and return a concise ecological report with figures and limitations. | Tiger activity, tiger–sika deer temporal overlap, shared-camera summaries, hotspot counts, and Fig. 9 . |