Agent-Enhanced Large Language Models for Researching Political Institutions

Joseph R. Loffredo, Suyeol Yun
3/14/2025
cs.CLcs.CY

No official code found. Best implementation: congressRA/sample-agent (5 stars, last commit 2025-03-14).

Abstract

The applications of Large Language Models (LLMs) in political science are rapidly expanding. This paper demonstrates how LLMs, when augmented with predefined functions and specialized tools, can serve as dynamic agents capable of streamlining tasks such as data collection, preprocessing, and analysis. Central to this approach is agentic retrieval-augmented generation (Agentic RAG), which equips LLMs with action-calling capabilities for interaction with external knowledge bases. Beyond information retrieval, LLM agents may incorporate modular tools for tasks like document summarization, transcript coding, qualitative variable classification, and statistical modeling. To demonstrate the potential of this approach, we introduce CongressRA, an LLM agent designed to support scholars studying the U.S. Congress. Through this example, we highlight how LLM agents can reduce the costs of replicating, testing, and extending empirical research using the domain-specific data that drives the study of political institutions.

View on arXivView PDF

Code Implementations(1)

Example code used to create and demonstrate CongressRA, an LLM agent for studying the US Congress.

50Shell, PythonMar 1, 20251 years ago

Similar Papers

Cite this paper

@article{loffredo2025agentenhanced,
  title  = {Agent-Enhanced Large Language Models for Researching Political Institutions},
  author = {Joseph R. Loffredo and Suyeol Yun},
  year   = {2025},
  eprint = {2503.13524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13524v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.13524.svg)](https://codeofpaper.com/paper/2503.13524)

Discussion