The reviewed record of science sign in
Pith

arxiv: 2506.12202 · v1 · pith:QKQNAQCX · submitted 2025-06-13 · cs.PL · cs.AI· cs.CR· cs.LG

A Fast, Reliable, and Secure Programming Language for LLM Agents with Code Actions

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:QKQNAQCXrecord.jsonopen to challenge →

classification cs.PL cs.AIcs.CRcs.LG
keywords actionscodellmslanguagepythonperformancequasarreliability
0
0 comments X
read the original abstract

Modern large language models (LLMs) are often deployed as agents, calling external tools adaptively to solve tasks. Rather than directly calling tools, it can be more effective for LLMs to write code to perform the tool calls, enabling them to automatically generate complex control flow such as conditionals and loops. Such code actions are typically provided as Python code, since LLMs are quite proficient at it; however, Python may not be the ideal language due to limited built-in support for performance, security, and reliability. We propose a novel programming language for code actions, called Quasar, which has several benefits: (1) automated parallelization to improve performance, (2) uncertainty quantification to improve reliability and mitigate hallucinations, and (3) security features enabling the user to validate actions. LLMs can write code in a subset of Python, which is automatically transpiled to Quasar. We evaluate our approach on the ViperGPT visual question answering agent, applied to the GQA dataset, demonstrating that LLMs with Quasar actions instead of Python actions retain strong performance, while reducing execution time when possible by 42%, improving security by reducing user approval interactions when possible by 52%, and improving reliability by applying conformal prediction to achieve a desired target coverage level.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Concise and Logically Consistent Conformal Sets for Neuro-Symbolic Concept-Based Models

    cs.LG 2026-05 unverdicted novelty 6.0

    COCOCO is a conformal framework for NeSy-CBMs that jointly conformalizes concepts and labels, reconciles them via deduction-abduction revision, and satisfies consistency, coverage, and conciseness while retaining dist...

  2. Beyond Human-Readable: Rethinking Software Engineering Conventions for the Agentic Development Era

    cs.SE 2026-04 unverdicted novelty 6.0

    Optimizing code for semantic density rather than human readability can improve agentic AI development efficiency, but aggressive compression of logs increased overall costs by shifting burden to reasoning.