Papers
Topics
Authors
Recent
Search
2000 character limit reached

LLM-Based Agents Overview

Updated 20 January 2026
  • LLM-based agents are systems that combine a pretrained language model with toolsets and policies to understand and produce text, code, and structured formats.
  • They leverage key capabilities like automated format translation, UI simulation, and dynamic API adaptation to drastically reduce integration costs and enhance system interoperability.
  • Applications range from social media automation to cloud storage interactions while addressing security risks, regulatory challenges, and technical debt through robust design and governance.

An LLM-based agent is formally defined as any system (a) that understands and produces text in natural language, code, or structured formats (e.g., JSON, SQL), and (b) that interacts with external tools or web pages via API calls or simulated user actions (Marro et al., 30 Jun 2025). Formally, an agent is modeled as a tuple A=(M,T,O,π)\mathcal{A} = \bigl(\mathcal{M}, \mathcal{T}, \mathcal{O}, \pi\bigr), where M\mathcal{M} is the pretrained LLM, T\mathcal{T} is a set of tools, O\mathcal{O} is a set of primitive operations, and π\pi is the policy for choosing actions based on system state.

1. Core Technical Capabilities of LLM-Based Agents

Three technical pillars underlie LLM-based agents' ability to disrupt closed system lock-in and enable universal interoperability (Marro et al., 30 Jun 2025):

  • Automated Format Translation: Agents infer schema mappings map:Ssrc→Sdst\text{map} : S_\text{src}\rightarrow S_\text{dst} and emit code that translates between heterogeneous formats (e.g., Python for JSON-to-JSON transformations).
  • UI Simulation and Web Automation: Agents inspect the DOM, generate operation sequences ⟨ot⟩\langle o_t \rangle for automated navigation and form filling, and recover from errors by iterative LLM-driven planning.
  • Dynamic API Adaptation: Agents parse OpenAPI or GraphQL specifications at runtime to generate valid invocation code, solve constraints for type-correct queries, and adapt execution to API version drift.

The integration of these capabilities allows agents to function as universal adapters, interfacing seamlessly with APIs, GUIs, and proprietary data sources.

2. Formal Model of Interoperability Cost

Interoperability cost is fundamentally restructured by LLM-based agents. In traditional systems, developing and maintaining NN integrations incurs a cost:

Cold=∑i=1N(Cdevi+T⋅Cmainti)≈O(N T)C_{\mathrm{old}} = \sum_{i=1}^N \Bigl(C_{\mathrm{dev}}^i + T\cdot C_{\mathrm{maint}}^i\Bigr) \approx \mathcal{O}(N\,T)

With universal LLM adapters:

Cnew=CA+N⋅(ε+δT)≈CA+O(N)C_\mathrm{new} = C_\mathcal{A} + N\cdot(\varepsilon + \delta T) \approx C_\mathcal{A} + \mathcal{O}(N)

where CAC_\mathcal{A} is the one-off setup, ε\varepsilon is marginal integration cost (prompt tokens/API calls), and δ\delta is the cost of prompt regeneration post-schema/API change (δ≪Cmainti\delta\ll C_{\mathrm{maint}}^i). As N,T→∞N,T\to\infty, Cnew/Cold→0C_\mathrm{new}/C_\mathrm{old}\to 0 (Marro et al., 30 Jun 2025), rendering integration cost negligible and shifting the paradigm toward universal, AI-mediated interoperability.

3. Concrete Application Scenarios

LLM-based agents are systematically applied across industries and web services:

  • Social Media: RestGPT autonomously reads Twitter's OpenAPI spec, generates OAuth2 flows and "post_tweet" calls, adapts to API changes, and can emulate human users through browser automation (Marro et al., 30 Jun 2025).
  • Cloud Storage: Agents interact with Google Drive via simulated UI operations (drag-and-drop upload, folder creation) or direct REST API invocation, leveraging discovery document parsing for dynamic adaptation.
  • Controversial Web Scraping: Autonomous agents (e.g. Perplexity AI) perform automated site scraping, bypassing CAPTCHAs and robots.txt, raising ethical and legal questions over their deployment.

Performance metrics in industrial deployments span response latency, code correctness, learning gain, diagnostic accuracy, Sharpe ratio, and task success rate, reflecting broad real-world adoption (2505.16120).

4. Security Risks, Technical Debt, and Mitigation Strategies

LLM-based agents introduce novel risk surfaces:

  • Loss of Human Oversight: Automation may lead to error cascades without human intervention ("Ironies of Automation").
  • Adversarial Attacks: Agents are susceptible to malicious DOMs and phishing interfaces, especially when dynamically simulating user interactions.
  • Legal and Regulatory Pushback: Automated scraping can violate ToS, and advanced CAPTCHAs resist agent automation.
  • Unreliability and Silent Corruption: Hallucinated outputs and undetected errors accumulate silently.
  • Schema/UI Drift: API and GUI upgrades without robust versioning can cause opaque, costly breakages.
  • Agent-Layer Lock-In: Proprietary LLM platforms and integration frameworks can concentrate power, paradoxically reinstituting walled gardens.

Mitigation is organized into three categories (Marro et al., 30 Jun 2025):

Pillar Methods Examples
Agent-Friendly Interfaces Schema manifests (schema_metadata.json, "LLMs.txt"), DOM-to-API annotations OpenAPI diffs, field labeling
Security by Design Signed permission manifests, OAuth for agents, runtime monitoring, policy enforcement layers ToolEmu, SandboxEval, AgentSims
Ecosystem Infrastructure Open protocols (A2A, MCP), reference implementations, transparent audit logs, open frameworks Open-source agent orchestration

5. Agency Measurement and Regulatory Frameworks

Agency is formally distinguished from intelligence. In the context of LLM-based agents, agency is operationalized along three dimensions (Boddy et al., 25 Sep 2025):

  • Preference Rigidity: Consistent maintenance of preferences across varying contexts.
  • Independent Operation: Degree of autonomous step initiation without human micromanagement.
  • Goal Persistence: Ability to sustain pursuit of tasks under failure or uncertainty.

Agency is quantified in the LLM’s hidden activations via linear probes and controlled by "agency sliders" in activation space. Regulatory frameworks are constructed using the agency vector s=(srigidity,sindependence,spersistence)\mathbf{s} = (s_{\rm rigidity}, s_{\rm independence}, s_{\rm persistence}):

Regulatory Tool Application
Mandated Testing Stress-test and publish agency vectors before deployment
Domain-Specific Limits Assign risk tier ceilings to agency values (e.g. via EU AI Act taxonomy)
Insurance Frameworks Price risk premiums as a function of agency and deployment context
Hard Ceilings Enforce absolute bans for agency dimensions beyond societal thresholds

These frameworks allow continuous control and auditing of agent autonomy, moving beyond post-hoc prompt engineering to white-box regulatory enforcement (Boddy et al., 25 Sep 2025).

6. Architectures and Global Planning

Recent advances address critical difficulties in agent planning and execution:

  • Global Planning: Instead of one-step, locally optimal reasoning (as in ReAct), agents employ continuously updated long-range plans that guide them away from local traps.
  • Hierarchical Execution: Task decomposition into high-level skills (searching, coding, writing) reduces planning complexity and improves generalizability across diverse domains (Chen et al., 23 Apr 2025).

Formally, a global plan is maintained as

G=(P1,A1),(P2,A2),…,(Pn,An),An=FinishG = (P_1, A_1), (P_2, A_2), \dots, (P_n, A_n), \quad A_n = \text{Finish}

with history StS_t tracking all prior plan/skill/observation triples and the LLM-based planning policy π(Q,T,St)\pi(Q, T, S_t) updating the plan with each new observation.

Empirically, GoalAct frameworks achieve up to +12.22% improvement in benchmarked success rates, with ablation analyses confirming the necessity of both global planning and skill modularity for robust performance (Chen et al., 23 Apr 2025).

7. Open Problems and Future Directions

Research priorities remain:

  • How much agent-friendly metadata is needed for robust, automated interoperability?
  • Formal security certification for autonomous agent workflows
  • Ecosystem standards (e.g., W3C AI Agent Protocol, MCP) to preempt new lock-in
  • Hybrid approaches integrating semantic Web techniques with LLM adaptive mapping
  • Sustainable API/economic models balancing open interoperability with platform viability
  • Benchmarks and evaluation suites for safety, reliability, and technical debt management

LLM-based agents fundamentally reconstruct the application integration landscape from bespoke, quadratic-cost architectures to scalable, AI-mediated frameworks which—if paired with proactive governance, transparency, and robust security infrastructure—offer prospects for open, competitive, and user-centric digital systems (Marro et al., 30 Jun 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to LLM-Based Agents.