Skip to content

adk-dev capability supports rapid integration as a Spring Starter for SpringBoot Apps #181

Description

@TomorJM

Currently, the Dev UI debugging capability must be launched in Maven format. Considering the convenience of integrating capabilities into a large number of Spring Boot applications, the related code within Dev needs to be refactored and layered, while also providing a Starter component for rapid integration with Spring applications.

Activity

  1. xinhuagu commented on Jun 10, 2025

    @xinhuagu
    Contributor

    Refactoring the current implementation to Spring Starter would be more flexible, and even better, if it could be integrated into other frameworks such as quarkus.

  2. vorburger commented on Jun 11, 2025

    @vorburger
    Member

    Currently, the Dev UI debugging capability must be launched in Maven format. Considering the convenience of integrating capabilities into a large number of Spring Boot applications, the related code within Dev needs to be refactored and layered, while also providing a Starter component for rapid integration with Spring applications.

    @TomorJM not sure why the code "needs to be refactored and layered" ... couldn't it already be used as-is? Or there any specific issues makes this not possible yet? Would you be interested in creating a sort of minimal example project, in a separate (your) repo, illustrating gaps, if any?

    Refactoring the current implementation to Spring Starter would be more flexible

    @xinhuagu could you clarify and provide some links to what exactly you mean by "Spring Starter"? Do you maybe mean https://start.spring.io, or something else? If you mean that, do you have any links to how additional starters can be added to that?

    and even better, if it could be integrated into other frameworks such as quarkus.

    ==> #85 re. Quarkus; that's an entirely separate conversation, let's have that in #85 instead of here?

  3. xinhuagu commented on Jun 11, 2025

    @xinhuagu
    Contributor

    Refactoring the current implementation to Spring Starter would be more flexible

    @xinhuagu could you clarify and provide some links to what exactly you mean by "Spring Starter"? Do you maybe mean https://start.spring.io, or something else? If you mean that, do you have any links to how additional starters can be added to that?

    @vorburger Sorry for the confusion, my wording wasn't precise enough, by "Spring Starter," I actually meant "Spring Boot Starter" dependency,such as spring-boot-starter-actuator etc.

    Spring Boot Starter bundles related dependencies into a single convenient package. it can be easily integrated as a reusable dependency into any Spring Boot application. It's different from a standalone server like the current adk-java-dev.

    and even better, if it could be integrated into other frameworks such as quarkus.

    ==> #85 re. Quarkus; that's an entirely separate conversation, let's have that in #85 instead of here?

    Oh yes, thank you @vorburger !

  4. TomorJM commented on Jun 12, 2025

    @TomorJM
    ContributorAuthor

    Currently, the Dev UI debugging capability must be launched in Maven format. Considering the convenience of integrating capabilities into a large number of Spring Boot applications, the related code within Dev needs to be refactored and layered, while also providing a Starter component for rapid integration with Spring applications.

    @TomorJM not sure why the code "needs to be refactored and layered" ... couldn't it already be used as-is? Or there any specific issues makes this not possible yet? Would you be interested in creating a sort of minimal example project, in a separate (your) repo, illustrating gaps, if any?

    Refactoring the current implementation to Spring Starter would be more flexible

    @xinhuagu could you clarify and provide some links to what exactly you mean by "Spring Starter"? Do you maybe mean https://start.spring.io, or something else? If you mean that, do you have any links to how additional starters can be added to that?

    and even better, if it could be integrated into other frameworks such as quarkus.

    ==> #85 re. Quarkus; that's an entirely separate conversation, let's have that in #85 instead of here?

    I am currently integrating the ADK for our team's developers to use, and most of our applications are based on Spring Boot. I will provide a sample code this week for everyone to discuss.😄

  5. vorburger commented on Aug 25, 2025

    @vorburger
    Member

    I am currently integrating the ADK for our team's developers to use, and most of our applications are based on Spring Boot. I will provide a sample code this week for everyone to discuss.😄

    @TomorJM did you ever get around to this? We'd actually love to tave a sort of adk-spring-boot-starter sort of thing in the contrib/ folder of this repo, and would certainly be interested in a contribution from you with it!

  6. added
    help wantedExtra attention is needed
    waiting on reporterWaiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.
    on Aug 25, 2025
  7. TomorJM commented on Aug 26, 2025

    @TomorJM
    ContributorAuthor

    I am currently integrating the ADK for our team's developers to use, and most of our applications are based on Spring Boot. I will provide a sample code this week for everyone to discuss.😄

    @TomorJM did you ever get around to this? We'd actually love to tave a sort of adk-spring-boot-starter sort of thing in the contrib/ folder of this repo, and would certainly be interested in a contribution from you with it!

    @vorburger Alright, I'll submit a PR next week, and everyone can discuss this feature then.😁

  8. vorburger commented on Aug 26, 2025

    @vorburger
    Member
  9. mekkiamiri commented on Nov 23, 2025

    @mekkiamiri

    Hello,

    I created a spring boot starter for the adk. I share with you the repo on my github https://github.com/mekkiamiri/adk-spring-boot-starter
    I also added an example of integration of the starter kit on spring boot app: https://github.com/mekkiamiri/spring-boot-adk-template
    It is a first version of the starter. I checked the dev dependency and I added the necessary beans that i think are needed. These beans are:

    • InMemoryArtifactService and GcsArtifactService
    • InMemorySessionService and VertexAiSessionService
    • InMemoryMemoryService
    • RunConfig
      Currently the adk-dev with its UI are not production ready. I think on next step, we can:
    • remove UI from adk-dev, and create a react UI as a separate project for only testing purpose
    • and add the starter to adk-dev to and enhance it to be production ready. I think if we develop some agents with spring boot, we will have a common base code and rest apis, that should be shared on adk-dev.
      @TomorJM I have seen your pull request but i think our implementations are totally different
      I am open to discuss with you and enable the starter for spring boot users
  10. glaforge commented on Nov 24, 2025

    @glaforge
    Contributor

    I'm tagging @ddobrin who is an expert in all things Spring / Spring Boot.
    Dan, Mekki worked on a Spring Boot starter for ADK, you might want to have a look at it, and/or share your thoughts and feedback.

  11. mekkiamiri commented on Dec 6, 2025

    @mekkiamiri

    @ddobrin i hope you will have time to review my pr as soon as possible: #653
    I use this spring boot starter and I think it is very helpful for spring boot projects and spring ai
    please let me know if you check it

  12. ddobrin commented on Dec 7, 2025

    @ddobrin
    Contributor

    Hi @mekkiamiri
    I will review it this upcoming week, in light of what's there and how it works with the integrations with AI orchestration frameworks.

    Have you had the opportunity to review the automated PR review feedback?
    Sure, the Boot 4.0.0 recommendation is not accurate, as it is released.

    One thing to note is:

    • Spring AI has a releasee 1.1.1 as of this past week, and that supports Boot 2.x
    • 2.0.0-M1 which is out next week supports Boot 4.0.0 and is the branch which will support all new features
  13. xak2000 commented on Feb 2, 2026

    @xak2000

    I think the dev server integration for Spring Boot app should be done similar to H2 console integration in Spring Boot.

    The idea is that it reuses an already running web server in user's app and just adds a servlet with /h2-console URL, if spring.h2.console.enabled=true.

    This also could be a good way to add adk dev server integration to other Java frameworks which use servlets under the hood. For reactive webstack a similar solution could be implemented. Both servlet and reactive solutions would be a tiny wrappers over the main server logic.

    But I think the adk-dev web server implementation itself wouldn't be a Spring Boot app anymore in this case. As it needs to be more generic (to support different frameworks) and definitely it needs to not create a separate Spring context. Even for Spring Boot integration it is PITA to run 2 parallel apps, one of which will have agent/tool beans, etc., and the other one will be just a web server that uses them. Ideally it should be just a single (user's) spring boot app, that just creates (re-uses if already provided) a bunch of beans, like a spring-boot-starter with an auto-configuration.

  14. ddobrin commented on Mar 18, 2026

    @ddobrin
    Contributor

    @mekkiamiri provided a review of #653 in the respective PR

  15. self-assigned this
    on Jul 22, 2026
  16. added and removed
    waiting on reporterWaiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.
    on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions