Skip to content

Sprout 1.1.0

Choose a tag to compare

@ivannavas ivannavas released this 22 Jun 13:17

Sprout 1.1.0

New module: sprout-orchestration

Multi-agent coordination, built on the existing tool SPI — no core forks:

  • AgentOrchestrator — run agent prompts concurrently and collect results by id, as a reactive stream, or by blocking on a batch. Failures are isolated per run; withMaxConcurrency, withTimeout and withRetries bound execution.
  • AgentDelegation — a supervisor delegates subtasks to specialist agents exposed as tools, and composes the reply.
  • AgentHandoff — transfer control of a live conversation between agents. The receiving agent continues the shared transcript under its own system prompt; maxHandoffs bounds transfers.

These compose: a delegating supervisor can be orchestrated concurrently and be the target of a hand-off.

Core

  • An agent's system prompt is now applied at the head of every run instead of being persisted once. An agent that picks up a conversation another started (a hand-off) now governs its turns with its own prompt, and stored transcripts no longer carry system messages (self-healing on load).

Spring

  • The Spring example gains a /weather/batch endpoint: a plain @RestController fans concurrent agent runs out with AgentOrchestrator over a Spring-managed agent, persisting conversations through JPA — Spring DI and concurrent multi-agent work in a single request.

Examples

  • Consolidated the multi-agent examples into one runnable "research desk" showing orchestration, delegation and hand-off composing around one supervisor.

Maven

<dependency>
    <groupId>io.github.ivannavas</groupId>
    <artifactId>sprout-orchestration</artifactId>
    <version>1.1.0</version>
</dependency>

Full module set (all on Maven Central under io.github.ivannavas): sprout-core, sprout-anthropic, sprout-openai, sprout-mcp, sprout-orchestration, sprout-spring-boot-starter.