← Back to all articles
arXiv cs.AIOctober 7, 2026

Agent Behavior as Code: Efficient and Robust LLM Agents with Programmatic Specifications

Excerpt

arXiv:2610.04824v1 Announce Type: new Abstract: AI agents based on foundation models (FMs) have demonstrated strong capabilities to perform complex open-ended tasks. However, they face some common challenges in practice: (a) agent behavior can deviate drastically even for semantically similar tasks, leading to catastrophically propagated errors; (b) high cost and latency due to FM calls, repeated in full whenever a task recurs with different inputs; (c) FMs' limited context and instruction follo