Eclipse Energeia
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.
- Read more about Eclipse Energeia
- Log in to post comments