Embabel authors agentic flows on the JVM, mixing LLM steps with code, domain models, and dynamic planning.
Overview
Embabel is a framework for building agentic flows on the JVM in Kotlin with natural use from Java. It models work as actions, goals, conditions, domain objects, and dynamically generated plans rather than fixed finite state machines.
Planning combines LLM interactions with non-LLM algorithms such as goal-oriented action planning and utility-based selection. Strong typing ties prompts to domain types, and the project integrates with Spring and Spring AI for components, persistence, and enterprise libraries.
Flows can be declared with Spring-style annotations or a Kotlin DSL. The AgentPlatform supports focused, closed, and open execution modes, from calling a specific agent to classifying intent and assembling novel action sequences from registered goals and steps.
Quick starts use GitHub templates and Maven with an OpenAI API key. Documentation highlights mixing multiple LLMs, testability, and higher-level APIs compared to using Spring AI primitives directly.
Key features
- Actions, goals, and conditions model
- Dynamic GOAP-style planning
- Utility AI execution mode
- Spring and Spring AI integration
- Annotation and Kotlin DSL flows
- Strongly typed domain objects
- Multiple AgentPlatform modes
- Unit and integration testing support
Use cases
- Enterprise JVM agent workflows
- Travel and planning assistants
- Event-driven agent invocation
- Multi-LLM cost-aware pipelines
- Typed extraction from user input