Skip to content

Getting error "Subagent with name 'GoatWriter' not found in platform default-agent-platform." when running Java examples #77

@pnewhook

Description

@pnewhook

Something is wrong with the GoatWriter bean registration. From the /scripts/java directory I ran shell.sh. When the embabel shell came up I gave the command x "Tell me something intereseting". This eventually leads to the error Subagent with name 'GoatWriter' not found in platform default-agent-platform. Available agents: [BookWriter, FactChecker, Handoff, JavaStarNewsFinder, ReviseStoryUntilSatisfied, Subagents, SupportAgent, WikiAgent]

I think it has something to do with https://github.com/embabel/embabel-agent-examples/blob/main/examples-java/src/main/java/com/embabel/example/handoff/Subagents.java#L56, but I can't follow how that

➜  java git:(main) ✗ ./shell.sh               
INFO: Docker tools are enabled (default behavior)
Use --no-docker-tools to disable Docker integration if needed

Checking environment variables...
OPENAI_API_KEY set: OpenAI models are available
ANTHROPIC_API_KEY set: Claude models are available
Starting application with profile: enable-shell-mcp-client
Application path: /Users/Peter_Newhook/dev/embabel-agent-examples/scripts/java/../../examples-java
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/Users/Peter_Newhook/.m2/wrapper/dists/apache-maven-3.9.6/a53741d1/lib/jansi-2.4.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/Users/Peter_Newhook/.m2/wrapper/dists/apache-maven-3.9.6/a53741d1/lib/guava-32.0.1-jre.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml (616 B at 1.5 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-build-parent/0.1.5-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-build-parent/0.1.5-SNAPSHOT/maven-metadata.xml (614 B at 11 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml (622 B at 9.3 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-dependencies-parent/0.1.5-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/build/embabel-dependencies-parent/0.1.5-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-dependencies-parent/0.1.5-SNAPSHOT/maven-metadata.xml (621 B at 9.7 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml (622 B at 10 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-test-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-test-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-test-dependencies/0.1.4-SNAPSHOT/maven-metadata.xml (627 B at 12 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/build/embabel-build-dependencies/0.1.5-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-build-dependencies/0.1.5-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/build/embabel-build-dependencies/0.1.5-SNAPSHOT/maven-metadata.xml (620 B at 10 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/build/embabel-build-parent/0.1.5-SNAPSHOT/maven-metadata.xml
[INFO] 
[INFO] ------------< com.embabel.example.java:example-agent-java >-------------
[INFO] Building Embabel Agent Java Examples 0.1.4-SNAPSHOT
[INFO]   from /Users/Peter_Newhook/dev/embabel-agent-examples/examples-java/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/example/examples-common/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/example/examples-common/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/example/examples-common/0.1.4-SNAPSHOT/maven-metadata.xml (998 B at 15 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/example/example-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/example/example-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/example/example-agent-parent/0.1.4-SNAPSHOT/maven-metadata.xml (616 B at 12 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-api/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-api/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-api/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 17 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-core/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-core/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-core/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 19 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-parent/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-parent/0.1.4-SNAPSHOT/maven-metadata.xml (616 B at 11 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-util/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-util/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-util/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 17 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-ai/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-ai/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-ai/0.1.4-SNAPSHOT/maven-metadata.xml (999 B at 17 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-textio/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/common/embabel-common-textio/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/common/embabel-common-textio/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 15 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-ollama/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starter-ollama/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-ollama/0.1.4-SNAPSHOT/maven-metadata.xml (798 B at 15 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starters/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starters/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starters/0.1.4-SNAPSHOT/maven-metadata.xml (618 B at 11 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-platform-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-platform-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-platform-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 14 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml (623 B at 9.4 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-a2a/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-a2a/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-a2a/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 19 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-ollama-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-ollama-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-ollama-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 13 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-test/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-test/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-test/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 19 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-test-support/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-test-support/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-test-support/0.1.4-SNAPSHOT/maven-metadata.xml (622 B at 12 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starter-openai/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-openai/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-openai/0.1.4-SNAPSHOT/maven-metadata.xml (798 B at 11 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-openai-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-openai-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-openai-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 16 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-anthropic/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starter-anthropic/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-anthropic/0.1.4-SNAPSHOT/maven-metadata.xml (801 B at 12 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-anthropic-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-anthropic-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-anthropic-autoconfigure/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 16 kB/s)
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-shell/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starter-shell/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter-shell/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 20 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-starter/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-starter/0.1.4-SNAPSHOT/maven-metadata.xml (791 B at 14 kB/s)
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/embabel/agent/embabel-agent-shell/0.1.4-SNAPSHOT/maven-metadata.xml
Downloading from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-shell/0.1.4-SNAPSHOT/maven-metadata.xml
Downloaded from embabel-snapshots: https://repo.embabel.com/artifactory/libs-snapshot/com/embabel/agent/embabel-agent-shell/0.1.4-SNAPSHOT/maven-metadata.xml (1.0 kB at 18 kB/s)
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ example-agent-java ---
[INFO] Deleting /Users/Peter_Newhook/dev/embabel-agent-examples/scripts/java/../../examples-java/target
[INFO] 
[INFO] >>> spring-boot:3.4.3:run (default-cli) > test-compile @ example-agent-java >>>
[INFO] 
[INFO] --- spotless:2.35.0:apply (default) @ example-agent-java ---
[INFO] Index file does not exist. Fallback to an empty index
[INFO] Spotless.Java is keeping 29 files clean - 0 were changed to be clean, 29 were already clean, 0 were skipped because caching determined they were already clean
[INFO] 
[INFO] --- spotless:2.35.0:check (default) @ example-agent-java ---
[INFO] Spotless.Java is keeping 29 files clean - 0 needs changes to be clean, 0 were already clean, 29 were skipped because caching determined they were already clean
[INFO] 
[INFO] --- git-commit-id:4.9.10:revision (default) @ example-agent-java ---
[INFO] 
[INFO] --- build-helper:3.4.0:add-source (add-kotlin-and-java-sources) @ example-agent-java ---
[INFO] Source directory: /Users/Peter_Newhook/dev/embabel-agent-examples/examples-java/src/main/kotlin added.
[INFO] Source directory: /Users/Peter_Newhook/dev/embabel-agent-examples/examples-java/src/main/java added.
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ example-agent-java ---
[INFO] Copying 5 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.14.0:compile (compile) @ example-agent-java ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 52 source files with javac [debug parameters target 21] to target/classes
[WARNING] location of system modules is not set in conjunction with -source 21
  not setting the location of system modules may lead to class files that cannot run on JDK 21
    --release 21 is recommended instead of -source 21 -target 21 because it sets the location of system modules automatically
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ example-agent-java ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- compiler:3.14.0:testCompile (testCompile) @ example-agent-java ---
[INFO] Not compiling test sources
[INFO] 
[INFO] <<< spring-boot:3.4.3:run (default-cli) < test-compile @ example-agent-java <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot:3.4.3:run (default-cli) @ example-agent-java ---
[INFO] Attaching agents: []
   ___  ___    _______ .___  ___. .______        ___      .______    _______  __         ___  ___
  /  / /  /   |   ____||   \/   | |   _  \      /   \     |   _  \  |   ____||  |        \  \ \  \
 /  / /  /    |  |__   |  \  /  | |  |_)  |    /  ^  \    |  |_)  | |  |__   |  |         \  \ \  \
<  < <  <     |   __|  |  |\/|  | |   _  <    /  /_\  \   |   _  <  |   __|  |  |          >  > >  >
 \  \ \  \    |  |____ |  |  |  | |  |_)  |  /  _____  \  |  |_)  | |  |____ |  `----.    /  / /  /
  \__\ \__\   |_______||__|  |__| |______/  /__/     \__\ |______/  |_______||_______|   /__/ /__/

Powered by Spring Boot 3.4.3
09:44:30.530 [main] INFO  JavaAgentShellMcpClientApplication - Starting JavaAgentShellMcpClientApplication using Java 25 with PID 58281 (/Users/Peter_Newhook/dev/embabel-agent-examples/examples-java/target/classes started by Peter_Newhook in /Users/Peter_Newhook/dev/embabel-agent-examples/examples-java)
09:44:30.532 [main] INFO  JavaAgentShellMcpClientApplication - The following 1 profile is active: "docker-desktop"
09:44:31.264 [main] INFO  BookWriter - Initialized with configuration BookWriterConfig[researcherLlm=LlmOptions(modelSelectionCriteria=null, model=gpt-4.1-nano, role=null, temperature=0.7, frequencyPenalty=null, maxTokens=null, presencePenalty=null, topK=null, topP=null, thinking=null, timeout=null), writerLlm=LlmOptions(modelSelectionCriteria=null, model=gpt-4.1-mini, role=null, temperature=null, frequencyPenalty=null, maxTokens=null, presencePenalty=null, topK=null, topP=null, thinking=null, timeout=null), maxConcurrency=8, researcher=RoleGoalBackstory(role=Researcher, goal=Gather comprehensive information about a topic that will be used  to create an organized and well-structured book outline. Consider the author's desired goal for the book.
, backstory=You are an experienced researcher skilled in finding the most relevant and up-to-date information on any given topic.  Your job is to provide insightful data that supports and enriches the writing process for the chapter.
), outliner=RoleGoalBackstory(role=Outliner, goal=Based on research, generate a book outline about the given topic. The generated outline should include all chapters in sequential order and provide a title and description for each chapter. Consider the author's desired goal for the book
, backstory=You are a skilled organizer, great at turning scattered information into a structured format. Your goal is to create clear, concise chapter outlines with all key topics and subtopics covered.
), writer=RoleGoalBackstory(role=Chapter Writer, goal=Write a well-structured chapter for a book based on the provided chapter title, goal, and outline.
, backstory=You are an exceptional writer, known for producing engaging, well-researched, and informative content. You excel at transforming complex ideas into readable and well-organized chapters.), outputDirectory=null]
09:44:31.271 [main] INFO  FactChecker - FactChecker initialized with properties: FactCheckerProperties[reasoningWordCount=50, trustedSources=[Wikipedia, Wikidata, Britannica, BBC, Reuters, NY Times, ABC Australia], untrustedSources=[reddit, 4chan, twitter], models=[gpt-4.1-mini, gpt-5-nano, gpt-5-mini], deduplicationModel=gpt-4.1, maxConcurrency=8]
09:44:31.408 [main] INFO  OllamaModelsConfig - Ollama models will be discovered at http://localhost:11434
09:44:31.442 [main] WARN  OllamaModelsConfig - Failed to load models from http://localhost:11434: I/O error on GET request for "http://localhost:11434/api/tags": null
09:44:31.442 [main] WARN  OllamaModelsConfig - No Ollama models discovered. Check Ollama server configuration.
09:44:31.502 [main] INFO  OpenAiModelsConfig - Open AI compatible models are available at default OpenAI location. API key is set
09:44:31.539 [main] INFO  OpenAiModelsConfig - Open AI models are available: com.embabel.agent.config.models.openai.OpenAiProperties@615ef20
09:44:31.549 [main] INFO  AnthropicModelsConfig - Anthropic models are available: com.embabel.agent.config.models.anthropic.AnthropicProperties@323efafe
09:44:31.551 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.554 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.555 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.557 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.558 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.559 [main] INFO  AnthropicModelsConfig - Using custom Anthropic base URL: https://anthropic.prod.ai-gateway.quantumblack.com/4c2950eb-632b-4dfa-b751-5bc515a6bfa7
09:44:31.565 [main] INFO  ConfigurableModelProvider - Default LLM: gpt-4.1-mini
Available LLMs:
        name: claude-3-5-haiku-latest, provider: Anthropic
        name: claude-3-7-sonnet-latest, provider: Anthropic
        name: claude-haiku-4-5, provider: Anthropic
        name: claude-opus-4-1, provider: Anthropic
        name: claude-opus-4-20250514, provider: Anthropic
        name: claude-sonnet-4-5, provider: Anthropic
        name: gpt-4.1, provider: OpenAI
        name: gpt-4.1-mini, provider: OpenAI
        name: gpt-4.1-nano, provider: OpenAI - Roles: cheapest
        name: gpt-5, provider: OpenAI - Roles: best
        name: gpt-5-mini, provider: OpenAI
        name: gpt-5-nano, provider: OpenAI
Default embedding service: text-embedding-3-small
Available embedding services:
        name: text-embedding-3-small, provider: OpenAI
09:44:34.552 [pool-5-thread-1] INFO  StdioClientTransport - STDERR Message received: - No server is enabled
09:44:34.552 [pool-5-thread-1] INFO  StdioClientTransport - STDERR Message received: - Listing MCP tools...
09:44:34.552 [pool-5-thread-1] INFO  StdioClientTransport - STDERR Message received: > 0 tools listed in 21.5µs
09:44:34.552 [pool-5-thread-1] INFO  StdioClientTransport - STDERR Message received: > Initialized in 2.782289792s
09:44:34.589 [pool-2-thread-1] INFO  McpAsyncClient - Server response with Protocol: 2024-11-05, Capabilities: ServerCapabilities[completions=null, experimental=null, logging=null, prompts=null, resources=null, tools=null], Info: Implementation[name=Docker AI MCP Gateway, version=1.0.1] and Instructions null
09:44:34.592 [main] INFO  ToolGroupsConfiguration - MCP is available. Found 1 clients: Implementation[name=Docker AI MCP Gateway, version=1.0.1]
09:44:34.597 [main] ERROR McpToolGroup - Failed to load tool callbacks for role web: Server does not provide tools capability
09:44:34.598 [main] ERROR McpToolGroup - Failed to load tool callbacks for role maps: Server does not provide tools capability
09:44:34.599 [main] ERROR McpToolGroup - Failed to load tool callbacks for role browser_automation: Server does not provide tools capability
09:44:34.599 [main] ERROR McpToolGroup - Failed to load tool callbacks for role github: Server does not provide tools capability
09:44:34.659 [main] INFO  RegistryToolGroupResolver - RegistryToolGroupResolver: name='SpringBeansToolGroupResolver', 6 available tool groups:
          role:AppleScript, artifact:com.embabel.agent.tools.osx.AppleScriptTools, version:0.1.0, provider:embabel - Run AppleScript commands -   runAppleScript
  role:browser_automation, artifact:docker-puppeteer, version:0.1.0, provider:Docker - Browser automation tools  - ❌ No tools found
  role:github, artifact:docker-github, version:0.1.0, provider:Docker - Integration with GitHub APIs  - ❌ No tools found
  role:maps, artifact:docker-google-maps, version:0.1.0, provider:Docker - Mapping tools  - ❌ No tools found
  role:math, artifact:com.embabel.agent.tools.math.MathTools, version:0.1.0, provider:embabel - Math tools: use when you need to perform calculations -   add, ceiling, divide, floor, max, mean, min, multiply, round, subtract
  role:web, artifact:docker-web, version:0.1.0, provider:Docker - Tools for web search and scraping  - ❌ No tools found
09:44:34.660 [main] INFO  AgentPlatformConfiguration - Creating default ToolDecorator with toolGroupResolver: RegistryToolGroupResolver(name='SpringBeansToolGroupResolver', 6 tool groups), observationRegistry: org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider@28d56028
09:44:34.667 [main] INFO  ChatClientLlmOperations - LLM Data Binding: Using Spring-managed properties
09:44:34.667 [main] INFO  ChatClientLlmOperations - LLM Prompts: Using Spring-managed properties
09:44:34.668 [main] INFO  ChatClientLlmOperations - Current LLM settings: maxAttempts=10, fixedBackoffMillis=30ms, timeout=60s
09:44:34.680 [main] INFO  SSEController - SSEController initialized, ready to stream AgentProcessEvents...
09:44:34.713 [main] INFO  Embabel - [jovial_wright] created
09:44:34.716 [main] INFO  Embabel - [nice_cartwright] created
09:44:34.737 [main] INFO  LlmRanker - Using auto LLM for ranking
09:44:34.740 [main] INFO  AgentPlatformPropertiesLoader - Agent platform properties loaded from classpath:agent-platform.properties and embabel-agent-properties
09:44:34.751 [main] INFO  RepeatUntilAcceptable - Created goal:     "Satisfied with the final com.embabel.example.repeatuntil.Goat" final-com.embabel.example.repeatuntil.Goat
    preconditions:
      RepeatUntilAcceptable_acceptable: TRUE
      RepeatUntilAcceptable_resultWasBoundLast: TRUE
      it:com.embabel.example.repeatuntil.Goat: TRUE
    value: 0.0
09:44:34.753 [main] INFO  AgentDeployer - AgentDeployer scanning disabled: not looking for agents defined as Spring beans
09:44:34.762 [main] INFO  AgentPlatformAutoConfiguration - AgentPlatformAutoConfiguration has been initialized.
09:44:34.762 [main] INFO  AgentPlatformAutoConfiguration - AgentPlatformAutoConfiguration about to be processed...
09:44:34.762 [main] INFO  AgentOllamaAutoConfiguration - AgentOllamaAutoConfiguration about to proceed...
09:44:34.976 [main] INFO  ScanConfiguration - ComponentConfiguration initialized: Scanning com.embabel.agent and com.embabel.example packages.
09:44:35.257 [main] INFO  DelegatingAgentScanningBeanPostProcessor - Application context has been refreshed and all beans are initialized.
09:44:35.321 [main] INFO  Embabel - Deployed agent BookWriter
        description: Write a book, first creating an outline, then writing the chapters and combining them
09:44:35.334 [main] INFO  Embabel - Deployed agent FactChecker
        description: Fact checker agent
09:44:35.336 [main] INFO  Embabel - Deployed agent Handoff
        description: Choose your own adventure handoff agent
09:44:35.338 [main] INFO  Embabel - Deployed agent Subagents
        description: Find interesting things for this person
09:44:35.345 [main] INFO  Embabel - Deployed agent JavaStarNewsFinder
        description: Find news based on a person's star sign
09:44:35.350 [main] INFO  Embabel - Deployed agent SupportAgent
        description: Customer support agent
09:44:35.351 [main] INFO  Embabel - Deployed agent ReviseStoryUntilSatisfied
        description: Keep writing stories until the reviewer is satisfied
09:44:35.354 [main] INFO  Embabel - Deployed agent WikiAgent
        description: Find information from wikipedia according to the user's request.
09:44:35.356 [main] INFO  DelegatingAgentScanningBeanPostProcessor - All deferred beans were post-processed.
09:44:35.356 [main] INFO  JavaAgentShellMcpClientApplication - Started JavaAgentShellMcpClientApplication in 5.083 seconds (process running for 5.23)
embabel> x "Tell me something intereseting"
09:45:13.385 [main] INFO  Embabel - Created process options: {"contextId":null,"identities":{"forUser":null,"runAs":null},"blackboard":null,"verbosity":{"showPrompts":false,"showLlmResponses":false,"debug":false,"showPlanning":true,"showLongPlans":true},"allowGoalChange":true,"budget":{"cost":2.0,"actions":50,"tokens":1000000},"control":{"toolDelay":"NONE","operationDelay":"NONE","earlyTerminationPolicy":{"name":"MaxActionsEarlyTerminationPolicy"}},"prune":false,"listeners":[],"outputChannel":{}}                                                                                                                  
09:45:13.386 [main] INFO  Embabel - Executing in closed mode: Trying to find appropriate agent
09:45:13.386 [main] INFO  Embabel - Choosing Agent based on UserInput(content=Tell me something intereseting, timestamp=2025-10-21T13:45:13.386144Z)
09:45:16.421 [main] INFO  Embabel - Chose Agent 'Subagents' with confidence 0.9 based on UserInput(content=Tell me something intereseting, timestamp=2025-10-21T13:45:13.386144Z).
  Choices:
  Subagents: 0.90
  WikiAgent: 0.70
  JavaStarNewsFinder: 0.30
  FactChecker: 0.10
  ReviseStoryUntilSatisfied: 0.05
  BookWriter: 0.05
  SupportAgent: 0.01
  Handoff: 0.01
09:45:16.422 [main] INFO  Embabel - Created agent:
    description: Find interesting things for this person
    provider: com.embabel.example.handoff
    version: 0.1.0-SNAPSHOT
      name: Subagents
      goals:
        "Find interesting facts about a person" com.embabel.example.handoff.Subagents.findInterestingFacts
        preconditions:
          hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: TRUE
          it:com.embabel.example.handoff.InterestingFacts: TRUE
          it:com.embabel.example.handoff.TargetPerson: TRUE
        value: 0.0
      actions:
        name: com.embabel.example.handoff.Subagents.acquireTarget
        preconditions:
          hasRun_com.embabel.example.handoff.Subagents.acquireTarget: FALSE
          it:com.embabel.example.handoff.TargetPerson: FALSE
        postconditions:
          hasRun_com.embabel.example.handoff.Subagents.acquireTarget: TRUE
          it:com.embabel.example.handoff.TargetPerson: TRUE
        name: com.embabel.example.handoff.Subagents.findInterestingFacts
        preconditions:
          hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: FALSE
          it:com.embabel.example.handoff.InterestingFacts: FALSE
          it:com.embabel.example.handoff.TargetPerson: TRUE
        postconditions:
          hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: TRUE
          it:com.embabel.example.handoff.InterestingFacts: TRUE
      conditions:
      schema types:
        class: com.embabel.example.handoff.TargetPerson
        class: com.embabel.agent.api.common.OperationContext
        class: com.embabel.example.handoff.InterestingFacts
09:45:16.423 [main] INFO  Embabel - [intelligent_shirley] created
09:45:16.425 [main] INFO  Embabel - [intelligent_shirley] ready to plan from:
    hasRun_com.embabel.example.handoff.Subagents.acquireTarget: FALSE
    hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: FALSE
    it:com.embabel.example.handoff.InterestingFacts: FALSE
    it:com.embabel.example.handoff.TargetPerson: FALSE
09:45:16.426 [main] INFO  Embabel - [intelligent_shirley] formulated plan:
    com.embabel.example.handoff.Subagents.acquireTarget ->
      com.embabel.example.handoff.Subagents.findInterestingFacts
    goal: com.embabel.example.handoff.Subagents.findInterestingFacts
    cost: 0.0
    netValue: 0.0
  from:
    hasRun_com.embabel.example.handoff.Subagents.acquireTarget: FALSE
    hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: FALSE
    it:com.embabel.example.handoff.InterestingFacts: FALSE
    it:com.embabel.example.handoff.TargetPerson: FALSE
09:45:16.427 [main] INFO  Embabel - [intelligent_shirley] executing action com.embabel.example.handoff.Subagents.acquireTarget
09:45:16.432 [main] INFO  DefaultActionMethodManager - Action method com.embabel.example.handoff.Subagents.acquireTarget entering wait state: Awaitable response exception
09:45:16.433 [main] INFO  Embabel - [intelligent_shirley] object added: FormBindingRequest
09:45:16.433 [main] INFO  Embabel - [intelligent_shirley] executed action com.embabel.example.handoff.Subagents.acquireTarget in PT0.005S
09:45:16.433 [main] INFO  Embabel - [intelligent_shirley] waiting
09:45:16.459 [main] INFO  ShellCommands - Form: Form(title=Please enter the name and star sign of a person, controls=[TextField(label=Name, placeholder=Enter name, value=, maxLength=null, required=true, disabled=false, validationPattern=null, validationMessage=null, id=name), TextField(label=Sign, placeholder=Enter sign, value=, maxLength=null, required=true, disabled=false, validationPattern=null, validationMessage=null, id=sign), Button(label=Submit, description=Submit, id=bfec4095-3794-4a69-a4e1-f98885d898c1)], id=a33fa7a0-c1aa-4611-a64f-828a79eb745b)
Please enter the name and star sign of a person
Name *: Peter
Sign *: aries
Submit form? (y/n): y
09:45:22.339 [main] INFO  FormBindingRequest - Bound form submission to TargetPerson[name=Peter, sign=aries]
09:45:22.340 [main] INFO  Embabel - [intelligent_shirley] object added: TargetPerson
09:45:22.340 [main] INFO  Embabel - [intelligent_shirley] ready to plan from:
    hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: FALSE
    it:com.embabel.example.handoff.InterestingFacts: FALSE
    hasRun_com.embabel.example.handoff.Subagents.acquireTarget: TRUE
    it:com.embabel.example.handoff.TargetPerson: TRUE
09:45:22.341 [main] INFO  Embabel - [intelligent_shirley] formulated plan:
    com.embabel.example.handoff.Subagents.findInterestingFacts
    goal: com.embabel.example.handoff.Subagents.findInterestingFacts
    cost: 0.0
    netValue: 0.0
  from:
    hasRun_com.embabel.example.handoff.Subagents.findInterestingFacts: FALSE
    it:com.embabel.example.handoff.InterestingFacts: FALSE
    hasRun_com.embabel.example.handoff.Subagents.acquireTarget: TRUE
    it:com.embabel.example.handoff.TargetPerson: TRUE
09:45:22.341 [main] INFO  Embabel - [intelligent_shirley] executing action com.embabel.example.handoff.Subagents.findInterestingFacts
09:45:22.345 [main] WARN  DefaultActionMethodManager - Error invoking action method com.embabel.example.handoff.Subagents.findInterestingFacts: Subagent with name 'GoatWriter' not found in platform default-agent-platform. Available agents: [BookWriter, FactChecker, Handoff, JavaStarNewsFinder, ReviseStoryUntilSatisfied, Subagents, SupportAgent, WikiAgent]
09:45:22.346 [main] WARN  ActionRunner - Unexpected error invoking action: Subagent with name 'GoatWriter' not found in platform default-agent-platform. Available agents: [BookWriter, FactChecker, Handoff, JavaStarNewsFinder, ReviseStoryUntilSatisfied, Subagents, SupportAgent, WikiAgent]
09:45:22.346 [main] INFO  RetryProperties - Operation Action-com.embabel.example.handoff.Subagents.findInterestingFacts: Retry error. Retry count: 1
java.lang.IllegalArgumentException: Subagent with name 'GoatWriter' not found in platform default-agent-platform. Available agents: [BookWriter, FactChecker, Handoff, JavaStarNewsFinder, ReviseStoryUntilSatisfied, Subagents, SupportAgent, WikiAgent]
        at com.embabel.agent.api.common.Subagent.resolve(PromptRunner.kt:77)
        at com.embabel.agent.api.common.support.OperationContextPromptRunner.withSubagents(OperationContextPromptRunner.kt:191)
        at com.embabel.example.handoff.Subagents.findInterestingFacts(Subagents.java:54)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at com.embabel.agent.api.annotation.support.DefaultActionMethodManager.invokeActionMethodKotlinReflect(DefaultActionMethodManager.kt:162)
        at com.embabel.agent.api.annotation.support.DefaultActionMethodManager.invokeActionMethod(DefaultActionMethodManager.kt:117)
        at com.embabel.agent.api.annotation.support.DefaultActionMethodManager.createAction$lambda$4(DefaultActionMethodManager.kt:83)
        at com.embabel.agent.api.common.support.MultiTransformationAction.execute$lambda$1(MultiTransformationAction.kt:71)
        at com.embabel.agent.core.ActionRunner$Companion.execute$lambda$0(ActionRunner.kt:52)
        at com.embabel.common.util.TimeKt.time(time.kt:23)
        at com.embabel.agent.core.ActionRunner$Companion.execute(ActionRunner.kt:50)
        at com.embabel.agent.api.common.support.MultiTransformationAction.execute(MultiTransformationAction.kt:65)
        at com.embabel.agent.core.support.AbstractAgentProcess.executeAction$lambda$3(AbstractAgentProcess.kt:341)
        at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:357)
        at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:230)
        at com.embabel.agent.core.support.AbstractAgentProcess.executeAction(AbstractAgentProcess.kt:340)
        at com.embabel.agent.core.support.SimpleAgentProcess.formulateAndExecutePlan(SimpleAgentProcess.kt:136)
        at com.embabel.agent.core.support.AbstractAgentProcess.tick(AbstractAgentProcess.kt:279)
        at com.embabel.agent.core.support.AbstractAgentProcess.run(AbstractAgentProcess.kt:173)
        at com.embabel.agent.shell.ShellCommands.runProcess$lambda$20(ShellCommands.kt:467)
        at com.embabel.agent.shell.ShellCommands.runProcess(ShellCommands.kt:408)
        at com.embabel.agent.shell.ShellCommands.runProcess(ShellCommands.kt:464)
        at com.embabel.agent.shell.ShellCommands.executeIntent(ShellCommands.kt:376)
        at com.embabel.agent.shell.ShellCommands.execute(ShellCommands.kt:336)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306)
        at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232)
        at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:230)
        at org.springframework.shell.Shell.evaluate(Shell.java:248)
        at org.springframework.shell.Shell.run(Shell.java:159)
        at org.springframework.shell.jline.InteractiveShellRunner.run(InteractiveShellRunner.java:72)
        at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:66)
        at org.springframework.boot.SpringApplication.lambda$callRunner$4(SpringApplication.java:784)
        at org.springframework.util.function.ThrowingConsumer$1.acceptWithException(ThrowingConsumer.java:82)
        at org.springframework.util.function.ThrowingConsumer.accept(ThrowingConsumer.java:60)
        at org.springframework.util.function.ThrowingConsumer$1.accept(ThrowingConsumer.java:86)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:796)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:784)
        at org.springframework.boot.SpringApplication.lambda$callRunners$3(SpringApplication.java:772)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
        at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:571)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
        at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:772)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:325)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
        at com.embabel.example.JavaAgentShellMcpClientApplication.main(JavaAgentShellMcpClientApplication.java:57)
Subagent with name 'GoatWriter' not found in platform default-agent-platform. Available agents: [BookWriter, FactChecker, Handoff, JavaStarNewsFinder, ReviseStoryUntilSatisfied, Subagents, SupportAgent, WikiAgent]                                                                                                                                                                                                     
Details of the error have been omitted. You can use the stacktrace command to print the full stacktrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions