Jakarta Agentic Artificial Intelligence 1.0 defines a vendor-neutral way to build AI agents on Jakarta EE runtimes, and it needs compatible implementations beyond the first one to become a healthy standard. The specification is developed in the jakartaee/agentic-ai project, with a TCK that every implementation must pass in full.
An agent is a CDI bean annotated @Agent. Its workflow is described with lifecycle annotations: @Trigger, @Decision, @Action, @Outcome and @OnException. Each workflow runs in its own @WorkflowScoped context, and the specification also defines a LargeLanguageModel facade for talking to language models. The first implementation ships in Payara Server. GlassFish, the Eclipse Foundation's own Jakarta EE runtime, has none yet.
Eclipse Energeia fills that gap. It gives GlassFish a native implementation, and it gives the specification a second, independent implementation, open to every vendor, at the Eclipse Foundation.
Eclipse Energeia provides a compatible implementation of the Jakarta Agentic Artificial Intelligence specification. The project develops the runtime that discovers agents, runs their workflows and provides the LargeLanguageModel facade, together with integrations for language model providers. It packages the implementation for Jakarta EE runtimes, starting with Eclipse GlassFish, and runs the specification's TCK against them. Developing the specification and its TCK is out of scope.
Eclipse Energeia implements Jakarta Agentic AI as a CDI portable extension. It adds no runtime libraries beyond what a Jakarta EE runtime provides. Today it passes 87 of the 96 TCK tests on GlassFish 8.0.5; the other nine are blocked by a TCK packaging defect (jakartaee/agentic-ai#100).
- Agents. The extension discovers
@Agentclasses, including inherited phase methods. Every rule the specification makes a deployment error fails the deployment. - Workflows. Each triggering CDI event starts a workflow on the firing thread, in its own
@WorkflowScopedcontext that ends with the workflow. Phases are invoked through the agent's contextual reference, so interceptors such as@Transactionalapply. Parameters are resolved in the order the specification defines and checked with Jakarta Validation. - Language models. The
LargeLanguageModelfacade renders{}placeholders, converts with JSON Binding and keeps a separate conversation per workflow. A small SPI connects it to a model: built-in providers cover the Anthropic Messages API, OpenAI Chat Completions and Ollama, using the Jakarta REST client and JSON-P. Applications can supply their own provider as a CDI bean. - Packaging. The runtime ships as an OSGi bundle for GlassFish's
modulesdirectory, the way GlassFish ships Eclipse Krazo. Configuration is read through MicroProfile Config.
Each event runs its own workflow; model calls go through a pluggable provider
A fired event reaches Energeia's trigger observer, which runs the agent's phases in a new workflow context. Any LargeLanguageModel call goes through the provider the application selected.
The first goal is a release that passes the full TCK on GlassFish, so it can be named as a compatible implementation of Jakarta Agentic AI 1.0.
Support for further Jakarta EE runtimes.
Follow the schedule of the Jakarta Agentic AI specification, release at least when they release milestones.
The initial contribution is the code at github.com/ivargrimstad/energeia: about 4,500 lines in two Maven modules, under EPL-2.0. Every source file carries the header "Copyright (c) 2026 Contributors to the Eclipse Foundation".
- energeia-core: the CDI extension, workflow engine,
LargeLanguageModelfacade and model providers, with in-JVM tests on Weld SE. - energeia-tck: runs the Jakarta Agentic AI TCK against GlassFish with Energeia installed.
The code was written by the project lead with an AI coding assistant, and each commit says so in a Co-Authored-By trailer.
- Log in to post comments