Jac
A Python superset programming language for agent applications that unifies model invocation, workflow structure and state, and model routing through constructs such as by llm(), Object-Spatial Programming (OSP), and visit ... by llm(), enabling the compiler to perform dependency analysis and automatic optimization.
Timeline (last 90 days)
Jac is a Python superset language for building agent applications.
Jac integrates LLM operations, workflow structure and state, and model-guided routing through three core constructs: by llm(), Object-Spatial Programming (OSP), and visit ... by llm().
by llm() is the construct in Jac that triggers a large language model call; the developer declares input and output types, and the runtime handles constructing the prompt, parsing the output and validating types.
visit ... by llm() requires the model to choose from candidates for executable workflow steps, and the selected result is executed by the language scheduler.
The authors compared across five benchmarks and five baselines, and relative to the OpenAI SDK, Jac achieved a 1.8-8.7x reduction in AI integration code volume.
Task quality in the evaluation was roughly on par, and the gains came mainly from engineering efficiency rather than improved model performance.
The paper presents two case studies, speculative execution and service partitioning, both of which can be achieved through configuration alone, relying on program analysis and runtime checks.
For speculative execution in agent workflows, Jac uses compiler dependency analysis to identify subsequent steps that may be selected, and at runtime uses guards to record side effects, enabling pre-execution and validated commit or rollback.
As a Python superset, Jac's adoption curve depends on compatibility with the existing Python ecosystem and migration costs.
The optimization cases reported by Jac depend on specific conditions, and their generality remains to be further verified.
All Facts (10)
Jac is a Python superset language for building agent applications.
50%UnverifiedJac integrates LLM operations, workflow structure and state, and model-guided routing through three core constructs: by llm(), Object-Spatial Programming (OSP), and visit ... by llm().
50%Unverifiedby llm() is the construct in Jac that triggers a large language model call; the developer declares input and output types, and the runtime handles constructing the prompt, parsing the output and validating types.
50%Unverifiedvisit ... by llm() requires the model to choose from candidates for executable workflow steps, and the selected result is executed by the language scheduler.
50%UnverifiedThe authors compared across five benchmarks and five baselines, and relative to the OpenAI SDK, Jac achieved a 1.8-8.7x reduction in AI integration code volume.
50%UnverifiedTask quality in the evaluation was roughly on par, and the gains came mainly from engineering efficiency rather than improved model performance.
50%UnverifiedThe paper presents two case studies, speculative execution and service partitioning, both of which can be achieved through configuration alone, relying on program analysis and runtime checks.
50%UnverifiedFor speculative execution in agent workflows, Jac uses compiler dependency analysis to identify subsequent steps that may be selected, and at runtime uses guards to record side effects, enabling pre-execution and validated commit or rollback.
50%UnverifiedAs a Python superset, Jac's adoption curve depends on compatibility with the existing Python ecosystem and migration costs.
50%UnverifiedThe optimization cases reported by Jac depend on specific conditions, and their generality remains to be further verified.
50%