Add agentic module: sequential, parallel, loop, supervisor and error-recovery workflows

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
2026-10-11 07:58:09 +00:00
co-authored by Claude Sonnet 5.5
parent f87573fcb8
commit da39f6437a
27 changed files with 832 additions and 1 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ the same facts, so the build fails when a claim stops being true.
|---|---|---|
| `ai-services` | LangChain4j AI Services with Spring Boot 4: Declarative LLM Interfaces | prompt templates, chat memory, tools, RAG, and the `@MemoryId` trap |
| `spring-boot-ai-service` | same post | `@AiService` on Spring Boot 4.1.1 with the 1.22.0-beta32 starter |
| `agentic` | Agentic Workflows with LangChain4j: Sequential, Parallel, Loop and Supervisor Agents | the five workflow builders, state passing by key, supervisor JSON, error recovery |
## Versions (verified on Maven Central, 2026-10-11)
@@ -24,7 +25,7 @@ the same facts, so the build fails when a claim stops being true.
```bash
export JAVA_HOME=/path/to/jdk-25
mvn test # everything
mvn test -pl spring-boot-ai-service -am # one module (-am builds the parent and ai-services too)
mvn test -pl agentic -am # one module (-am builds the parent and ai-services too)
```
No API key is needed. The tests use `ScriptedChatModel`, a deterministic stand-in for an LLM, so