arXiv:2609.10248cs.SESep 2026

Manuscript Offprint

arXiv:2609.10248

A-JIT: Agentic Just-In-Time Software Construction

Mark Marron, Earl T. Barr

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Traditional software delivery assumes a static paradigm: code is constructed prior to execution and deployed as a fixed artifact. We present Agentic Just-In-Time Software Construction (A-JIT), a paradigm that replaces static binaries with dynamic, software systems that can perpetually evolve to meet changing demands. In A-JIT, an application is an integrated assembly comprising code, a runtime harness, and an embedded AI agent that continuously observes system usage and live execution traces. Much like a traditional JIT compiler specializes machine code to runtime execution paths, A-JIT specializes software logic, workflows, and tool interfaces to meet the specific needs of the end-user. By integrating synthesis directly into the ambient application lifecycle, A-JIT enables applications to dynamically construct missing implementations, generate new capabilities on the fly, and continuously adapt to end-user behavior. We demonstrate how this model supports trace-driven human-AI co-construction and opens a new design space for adaptive, self-evolving software.

CCS Concepts: • Software and its engineering → Runtime environments.

Keywords: Agentic JIT, Programming Languages, Bosque

1 Introduction

Just-in-Time (JIT) compilation represented a major shift in thinking about the role of the compiler. Instead of pre-compiling all code before execution the JIT compiler integrates the compiler into the runtime environment, and then, compiles code just-in-time as it is needed during execution. We believe that the same shift in thinking can be applied to the software development process itself. Instead of writing code before execution, we can integrate the software development process into the runtime environment, and then, construct code just-in-time as it is needed during execution.

This paper introduces the concept of agentic just-in-time assisted application construction (A-JIT). The concept depends on a combination of new language, runtime support, and agentic generation capabilities to enable a new form of interactive software development:

  • Programming language support for explicitly denotating which parts of the program are intended to be constructed just-in-time.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

type Fahrenheit = Int; type Inch = Float;
type Celsius = Int; type MilliMeter = Float;

entity TempRange<T> {
    field low: T;
    field high: T;

invariant $low <= $high;
}

entity Forecast {
    field temperature: TempRange<Fahrenheit>;
    field precipitation: Inch;
}

entity ForecastSI {
    field temp: TempRange<Celsius>;
    field precip: Option<MilliMeter> = none;
}

function convert(forecast: Forecast): ForecastSI {
    abort; %Not Implemented
}

Figure 1. Running example of a weather forecasts and conversion to SI format.

  • A runtime environment that can support the just-in-time construction of code, including the ability to run and test code as it is being constructed.

  • A novel conception of what an implementation is, allowing a human (or an AI agent) to construct a complete code artifact or a partial solution for a specific set of traces.

  • Integration with a fully tactile runtime value representation, allowing a human (or AI agent) to directly author, exchange, and hot-load any program value.

Developer Centric A-JIT. We begin by exploring how these key features come together in practice and allow use to build a developer-driven A-JIT application.

The example code in Figure 1 shows sample code involving weather forecasts. In this example, the code defaults to Imperial units for the temperature and precipitation fields. However, other parts of the code need to work with SI units and have a slightly different definition where the field name (precip) differs and is optional.

This requires the implementation of a mostly simple but non-trivial conversion function that translates a Forecast value, handling the differences in units and determining how to handle the optional nature of the precipitation field — e.g. "Does 0<Inch> translate to some (0<MilliMeter>) or

Mark Marron and Earl T. Barr

none?"¹ in the SI representation? As in many cases today, a developer may decide to defer the work to implement this function to focus on other logic in the application and simply write an abort statement with a TODO note.

*** Automatic User-Driven A-JIT. Human developers, however, are not strictly required; rather, they represent just one point along a spectrum of human involvement in the A-JIT process.

In the more general scenario we envision the system autonomously observing user interactions and operating as a core feature of the system. Thus, it can be used by agentic AI systems, as a tool or part of a harness, or autonomously triggering proactive adaptations based on observed user behavior.

For example, a user may prompt a spreadsheet assistant agent to “select all the rows where the submission has not been received by August 24”. This type of natural language query is a common situation where part of the command is clear and unambiguous, but other parts may require interpretation or additional context to execute correctly – specifically is the date constraint inclusive, exclusive, AOE, local time, etc.? In today’s systems, an LLM based agent will simply make some assumption based on some internal probability distribution. However, in an A-JIT system, the agent has a mechanism to explicitly inject an operation that will trigger clarification or adaptation when needed.

This example is just one illustration of the potential for how an A-JIT system can enhance user interactions and system adaptability by integrating ambient monitoring, responsive, and synthesis directly into the application lifecycle. This capability blurs the boundary between developer, any AI agent, and end-user. In fact a developer might just code the broad strokes of the application, leaving the finer details (such as user preferences for flight sort order) and adaptations to be dynamically handled by the A-JIT system. Conversely, developers may simply oversee the process, providing an initial skeleton and letting the system automatically generate the rest of the application based on user interaction traces.