Skip to content

Add documentation on how to create a console application using spring-ai  #1343

Description

@asaikali

add documentation showing how to create a console app using spring ai, folks are opening bug reports around web client and rest client dependencies need to show how to add a web stack but turn off starting a server.

Activity

  1. added
    documentation
    on Sep 10, 2024
  2. added this to the 1.0.0-M3 milestone on Sep 10, 2024
  3. coderphonui commented on Sep 19, 2024

    @coderphonui

    I built a console application that using Spring AI and I have put this configuration to the application.yaml to make it works without starting the web server.

    spring:
      main:
        web-environment: false
        web-application-type: none
  4. BaunaBadmosh commented on Oct 3, 2024

    @BaunaBadmosh

    i can work on it

  5. modified the milestones: 1.0.0-M3, 1.0.0-M4 on Oct 6, 2024
  6. modified the milestones: 1.0.0-M4, 1.0.0-M5 on Nov 19, 2024
  7. modified the milestones: 1.0.0-M5, backlog on Nov 22, 2024
  8. modified the milestones: backlog, 1.1.0.M4 on Oct 20, 2025
  9. modified the milestones: 1.1.0.RC1, 1.1.1 on Nov 7, 2025
  10. modified the milestones: 1.1.1, backlog on Nov 27, 2025
  11. ranjitm2001 commented on Dec 28, 2025

    @ranjitm2001

    I'd like to work on this issue.

    I'll add documentation showing how to create a console application with Spring AI, including:

    • Configuration to disable web server
    • Example interactive console chatbot
    • Example batch processing application

    Looking forward to contributing!

  12. added a commit that references this issue on Dec 28, 2025
  13. gouravkheterpal commented on May 12, 2026

    @gouravkheterpal

    Hi, I’d like to work on this documentation issue. I can work on adding a guide/example for creating a console application using Spring AI.

  14. imgusguo commented on Jun 12, 2026

    @imgusguo

    I'd like to work on this. I plan to add a guide under guides/ showing how to build an interactive command-line application using CommandLineRunner and an injected ChatClient. Will open a PR shortly.

  15. Rishankgupta08 commented on Nov 14, 2026

    @Rishankgupta08

    Hi everyone!
    I'm exploring opportunities to contribute to Spring AI and came across this documentation issue.
    I noticed there are already two open PRs addressing this requirement, so I don't want to duplicate the ongoing work.
    I'd be happy to help review or test the proposed documentation, or contribute to another small documentation improvement in Spring AI.
    As someone working with Java, Spring Boot and AI applications, I'm excited to start contributing to the project.
    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions