agentflow4j icon indicating copy to clipboard operation
agentflow4j copied to clipboard

Add an OpenAI sample to spring-agent-flow-samples

Open ahmed-sekka opened this issue 7 months ago • 0 comments

spring-agent-flow-samples only demonstrates the framework with Mistral. A parallel OpenAI sample shows that the framework is provider-agnostic and broadens the audience.

Acceptance criteria

  • [ ] spring-ai-starter-model-openai added as a sample-scoped dependency
  • [ ] OpenAiCoordination.java mirroring the structure of MultiAgentCoordination.java
  • [ ] Runnable via mvn -pl spring-agent-flow-samples exec:java -Dexec.mainClass=...
  • [ ] README sample table updated with the new entry

Notes

Use the OPENAI_API_KEY environment variable; do not hardcode keys.

ahmed-sekka avatar Apr 30 '26 15:04 ahmed-sekka